public class TLcdGDFSectionKey
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aObject)
Returns
true if the given object is an instance of TLcdGDFSectionKey
whose identifiers are
identical to the corresponding identifiers of this key, false otherwise. |
long |
getDatasetIdentifier()
Returns the unique identifier of the dataset to which the section belongs.
|
static TLcdGDFSectionKey |
getInstance(long aDatasetIdentifier,
long aLayerIdentifier,
long aSectionIdentifier)
Returns a section key for the given section.
|
static TLcdGDFSectionKey |
getInstance(TLcdGDFLayerKey aLayerKey,
long aSectionIdentifier)
Returns a section key for the given section.
|
long |
getLayerIdentifier()
Returns the unique identifier of the layer to which the section belongs.
|
TLcdGDFLayerKey |
getLayerKey()
Returns the layer key of the layer to which this section belongs.
|
long |
getSectionIdentifier()
Returns the identifier of the section.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a general description of this section key.
|
public static TLcdGDFSectionKey getInstance(long aDatasetIdentifier, long aLayerIdentifier, long aSectionIdentifier)
aDatasetIdentifier
- the unique identifier of the dataset to which the layer belongs.aLayerIdentifier
- the unique identifier of the layer to which the section belongs.aSectionIdentifier
- the identifier of the section (unique within the layer).public static TLcdGDFSectionKey getInstance(TLcdGDFLayerKey aLayerKey, long aSectionIdentifier)
aLayerKey
- the layer key of the layer to which the section belongs.aSectionIdentifier
- the identifier of the section (unique within the layer).public TLcdGDFLayerKey getLayerKey()
public long getDatasetIdentifier()
public long getLayerIdentifier()
public long getSectionIdentifier()
public boolean equals(java.lang.Object aObject)
true
if the given object is an instance of TLcdGDFSectionKey
whose identifiers are
identical to the corresponding identifiers of this key, false
otherwise.equals
in class java.lang.Object
aObject
- the object to be compared with.true
if the given object is a section key that identifies exactly the
same
section as this one,
false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object