Class TLcdS57AttributeClassDescriptor

java.lang.Object
com.luciad.format.s57.TLcdS57AttributeClassDescriptor
Direct Known Subclasses:
TLcdS57FloatAttributeClassDescriptor, TLcdS57IntegerAttributeClassDescriptor

public class TLcdS57AttributeClassDescriptor extends Object
TLcdS57AttributeClassDescriptor provides information about an S-57 attribute class.

The following information is currently provided:

  • Attribute code
  • Acronym
  • Attribute type
  • 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

      public String 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Returns a general description of this attribute class. The exact details of the representation are unspecified and are subject to change.
      Overrides:
      toString in class Object
      Returns:
      a general description of this attribute class.