public class TLcdS57AttributeClassDescriptor
extends java.lang.Object
TLcdS57AttributeClassDescriptor
provides information about an
S-57 attribute class.
The following information is currently provided:
Modifier and Type | Class and Description |
---|---|
static class |
TLcdS57AttributeClassDescriptor.Type
This class represents the attribute types, defined in the S-57 format.
|
Constructor and Description |
---|
TLcdS57AttributeClassDescriptor(int aCode,
java.lang.String aAcronym,
TLcdS57AttributeClassDescriptor.Type aType)
Creates a new S-57 attribute class descriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAcronym()
Returns the six-character acronym uniquely identifying this attribute class.
|
int |
getCode()
Returns the two-digit code uniquely indentifying this attribute class.
|
TLcdS57AttributeClassDescriptor.Type |
getType()
Returns the type of this attribute class.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a general description of this attribute class.
|
public TLcdS57AttributeClassDescriptor(int aCode, java.lang.String aAcronym, TLcdS57AttributeClassDescriptor.Type aType)
aCode
- the integer code uniquely identifying this attribute class.aAcronym
- the 6-character acronym uniquely identifying this attribute class.aType
- the type of this attribute class.public java.lang.String getAcronym()
public int getCode()
public TLcdS57AttributeClassDescriptor.Type getType()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object