Package eu.clarin.sru.server.fcs
Class Layer
- java.lang.Object
-
- eu.clarin.sru.server.fcs.Layer
-
public class Layer extends Object
This class is used to information about a Layers that is available by the Endpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Layer.ContentEncoding
The content encoding policy for a Layer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAltValueInfo()
Get the additional information about this layer.URI
getAltValueInfoURI()
Get an additional URI for pointing to more information about this layer.Layer.ContentEncoding
getContentEncoding()
Get the content encoding mode for this layer.String
getId()
Get the identifier for the layer.String
getQualifier()
Get the optional layer qualifier to be used in FCS-QLURI
getResultId()
Get the unique URI that used in the Advanced Data View to refer to this layerString
getType()
Get the type identifier for this layer.String
toString()
-
-
-
Constructor Detail
-
Layer
public Layer(String id, URI resultId, String type, Layer.ContentEncoding encoding, String qualifier, String altValueInfo, URI altValueInfoURI)
Constructor.- Parameters:
id
- the identifier of the layerresultId
- the unique URI that used in the Advanced Data View to refer to this layertype
- the type identifier for the layerencoding
- the content encoding for this layerqualifier
- an optional layer qualifier to be used in FCS-QL to refer to this layer ornull
altValueInfo
- an additional information about the layer ornull
altValueInfoURI
- an additional URI for pointing to more information about the layer ornull
-
-
Method Detail
-
getId
public String getId()
Get the identifier for the layer.- Returns:
- the identifier for the layer
-
getResultId
public URI getResultId()
Get the unique URI that used in the Advanced Data View to refer to this layer- Returns:
- the URI for referring to this layer in the Advanced Data View
-
getType
public String getType()
Get the type identifier for this layer.- Returns:
- the type identifier of the layer
-
getContentEncoding
public Layer.ContentEncoding getContentEncoding()
Get the content encoding mode for this layer.- Returns:
- the content encoding mode
-
getQualifier
public String getQualifier()
Get the optional layer qualifier to be used in FCS-QL- Returns:
- the layer qualifier or
null
-
getAltValueInfo
public String getAltValueInfo()
Get the additional information about this layer.- Returns:
- an additional information about the layer or
null
-
getAltValueInfoURI
public URI getAltValueInfoURI()
Get an additional URI for pointing to more information about this layer.- Returns:
- an additional URI for pointing to more information about the
layer or
null
-
-