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 classLayer.ContentEncodingThe content encoding policy for a Layer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAltValueInfo()Get the additional information about this layer.URIgetAltValueInfoURI()Get an additional URI for pointing to more information about this layer.Layer.ContentEncodinggetContentEncoding()Get the content encoding mode for this layer.StringgetId()Get the identifier for the layer.StringgetQualifier()Get the optional layer qualifier to be used in FCS-QLURIgetResultId()Get the unique URI that used in the Advanced Data View to refer to this layerStringgetType()Get the type identifier for this layer.StringtoString()
-
-
-
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 ornullaltValueInfo- an additional information about the layer ornullaltValueInfoURI- 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
-
-