Class EncFeature

  • All Implemented Interfaces:
    GeoElement

    public final class EncFeature
    extends java.lang.Object
    implements GeoElement
    Represents a feature within an ENC (Electronic Navigational Chart).
    Since:
    100.2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAcronym()
      Gets the acronym of the ENC feature.
      java.lang.String getAttributeDescription​(java.lang.String acronym)
      Gets the description of an ENC feature acronym.
      java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
      Gets a java.util.Map of all the available attributes as name value pairs.
      java.lang.String getDescription()
      Gets the description of the ENC feature.
      Geometry getGeometry()
      Gets the geometry of this geoelement.
      void setGeometry​(Geometry geometry)
      Sets the GeoElement's geometry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAttributeDescription

        public java.lang.String getAttributeDescription​(java.lang.String acronym)
        Gets the description of an ENC feature acronym.
        Parameters:
        acronym - an attribute acronym
        Returns:
        the description of an ENC feature acronym if that acronym exists, otherwise the input acronym
        Since:
        100.2.0
      • getAcronym

        public java.lang.String getAcronym()
        Gets the acronym of the ENC feature.
        Returns:
        the acronym of the ENC feature
        Since:
        100.2.0
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the ENC feature.
        Returns:
        the description of the ENC feature
        Since:
        100.2.0
      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        Description copied from interface: GeoElement
        Gets a java.util.Map of all the available attributes as name value pairs.

        Attribute values are returned as Object instances, but the underlying value type is based on the Field.Type.

        Specified by:
        getAttributes in interface GeoElement
        Returns:
        all the available attributes as name value pairs.
      • getGeometry

        public Geometry getGeometry()
        Description copied from interface: GeoElement
        Gets the geometry of this geoelement.
        Specified by:
        getGeometry in interface GeoElement
        Returns:
        the geometry of this geoelement
      • setGeometry

        public void setGeometry​(Geometry geometry)
        Description copied from interface: GeoElement
        Sets the GeoElement's geometry.
        Specified by:
        setGeometry in interface GeoElement
        Parameters:
        geometry - the geometry to set