Package com.luciad.format.s57
Class TLcdS57AttributeClassDescriptor
java.lang.Object
com.luciad.format.s57.TLcdS57AttributeClassDescriptor
- Direct Known Subclasses:
TLcdS57FloatAttributeClassDescriptor,TLcdS57IntegerAttributeClassDescriptor
TLcdS57AttributeClassDescriptor provides information about an
S-57 attribute class.
The following information is currently provided:
- Attribute code
- Acronym
- Attribute type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class represents the attribute types, defined in the S-57 format. -
Constructor Summary
ConstructorsConstructorDescriptionTLcdS57AttributeClassDescriptor(int aCode, String aAcronym, TLcdS57AttributeClassDescriptor.Type aType) Creates a new S-57 attribute class descriptor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the six-character acronym uniquely identifying this attribute class.intgetCode()Returns the two-digit code uniquely indentifying this attribute class.getType()Returns the type of this attribute class.inthashCode()toString()Returns a general description of this attribute class.
-
Constructor Details
-
TLcdS57AttributeClassDescriptor
public TLcdS57AttributeClassDescriptor(int aCode, String aAcronym, TLcdS57AttributeClassDescriptor.Type aType) Creates a new S-57 attribute class descriptor.- Parameters:
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.
-
-
Method Details
-
getAcronym
Returns the six-character acronym uniquely identifying this attribute class.- Returns:
- the six-character acronym uniquely identifying this attribute class.
-
getCode
public int getCode()Returns the two-digit code uniquely indentifying this attribute class.- Returns:
- the two-digit code uniquely indentifying this attribute class.
-
getType
Returns the type of this attribute class.- Returns:
- the type of this attribute class.
-
equals
-
hashCode
public int hashCode() -
toString
Returns a general description of this attribute class. The exact details of the representation are unspecified and are subject to change.
-