public class TLcdGDFFeatureKey extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObject)
Returns true if the given object is an instance of
TLcdGDFFeatureKey
whose identifiers and
feature category are identical to the corresponding identifiers and feature category of this
key, false
otherwise. |
long |
getDatasetIdentifier()
Returns the unique identifier of the dataset to which the feature belongs.
|
TLcdGDFFeatureCategory |
getFeatureCategory()
Returns the feature category of the feature.
|
long |
getFeatureIdentifier()
Returns the identifier of the feature (unique within the section'samples set of features that
have the same feature
category).
|
static TLcdGDFFeatureKey |
getInstance(long aDatasetIdentifier,
long aLayerIdentifier,
long aSectionIdentifier,
long aFeatureIdentifier,
TLcdGDFFeatureCategory aFeatureCategory)
Returns a feature key for the given set of identifiers that define the feature.
|
static TLcdGDFFeatureKey |
getInstance(TLcdGDFSectionKey aSectionKey,
long aFeatureIdentifier,
TLcdGDFFeatureCategory aFeatureCategory)
Returns a feature key for the given feature identifiers.
|
long |
getLayerIdentifier()
Returns the unique identifier of the layer to which the feature belongs (unique within the
dataset).
|
long |
getSectionIdentifier()
Returns the identifier of the section to which the feature belongs (unique within the layer).
|
TLcdGDFSectionKey |
getSectionKey()
Returns the section key of the feature.
|
int |
hashCode() |
String |
toString()
Returns a general description of this feature key.
|
public static TLcdGDFFeatureKey getInstance(long aDatasetIdentifier, long aLayerIdentifier, long aSectionIdentifier, long aFeatureIdentifier, TLcdGDFFeatureCategory aFeatureCategory)
aDatasetIdentifier
- the unique identifier of the dataset to which the feature belongs.aLayerIdentifier
- the identifier of the layer to which the feature belongs (unique
within the dataset).aSectionIdentifier
- the identifier of the section to which the feature belongs (unique
within the layer).aFeatureIdentifier
- the identifier of the feature (unique within the section's set of
features that have the same
feature category).aFeatureCategory
- the feature category of the feature.public static TLcdGDFFeatureKey getInstance(TLcdGDFSectionKey aSectionKey, long aFeatureIdentifier, TLcdGDFFeatureCategory aFeatureCategory)
aSectionKey
- the section key of the section to which the feature belongs.aFeatureIdentifier
- the identifier of the feature (unique within the section'samples set
of features that have the same
feature category).aFeatureCategory
- the feature category of the feature.public TLcdGDFSectionKey getSectionKey()
public long getDatasetIdentifier()
public long getLayerIdentifier()
public long getSectionIdentifier()
public long getFeatureIdentifier()
public TLcdGDFFeatureCategory getFeatureCategory()
public boolean equals(Object aObject)
TLcdGDFFeatureKey
whose identifiers and
feature category are identical to the corresponding identifiers and feature category of this
key, false
otherwise.