Package com.luciad.format.gdf
Class TLcdGDFLayerKey
java.lang.Object
com.luciad.format.gdf.TLcdGDFLayerKey
Immutable class representing the unique identifier of a layer, consisting of the dataset
identifier and the layer
identifier of the layer.
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given object is an instance ofTLcdGDFLayerKey whose identifiers are identical to the corresponding identifiers of this key, false otherwise.
long
Returns the unique identifier of the dataset to which the layer belongs.Returns the dataset key of the dataset to which this layer belongs.static TLcdGDFLayerKey
getInstance
(long aDatasetIdentifier, long aLayerIdentifier) Returns a layer key for the given layer.long
Returns the identifier of the layer.int
hashCode()
toString()
Returns a general description of this layer key.
-
Method Details
-
getInstance
Returns a layer key for the given layer.- Parameters:
aDatasetIdentifier
- the unique identifier of the dataset to which the layer belongs.aLayerIdentifier
- the identifier of the layer (unique within the dataset).- Returns:
- a layer key with the given dataset identifier and layer identifier.
-
getDatasetKey
Returns the dataset key of the dataset to which this layer belongs.- Returns:
- the dataset key of the dataset to which this layer belongs.
-
getDatasetIdentifier
public long getDatasetIdentifier()Returns the unique identifier of the dataset to which the layer belongs.- Returns:
- the unique identifier of the dataset to which the layer belongs.
-
getLayerIdentifier
public long getLayerIdentifier()Returns the identifier of the layer.- Returns:
- the identifier of the layer.
-
equals
Returns true if the given object is an instance ofTLcdGDFLayerKey whose identifiers are identical to the corresponding identifiers of this key, false otherwise.
-
hashCode
public int hashCode() -
toString
Returns a general description of this layer key. The exact details of the representation are unspecified and are subject to change.
-