Class Axis

    • Constructor Detail

      • Axis

        public Axis()
        Constructor
      • Axis

        public Axis​(String name,
                    AxisDirectionType direction)
        Constructor
        Parameters:
        name - name
        direction - axis direction
    • Method Detail

      • getName

        public String getName()
        Get the name
        Returns:
        name
      • hasName

        public boolean hasName()
        Has a name
        Returns:
        true if has name
      • setName

        public void setName​(String name)
        Set the name
        Parameters:
        name - name
      • getAbbreviation

        public String getAbbreviation()
        Get the abbreviation
        Returns:
        abbreviation
      • hasAbbreviation

        public boolean hasAbbreviation()
        Has an abbreviation
        Returns:
        true if has abbreviation
      • setAbbreviation

        public void setAbbreviation​(String abbreviation)
        Set the abbreviation
        Parameters:
        abbreviation - abbreviation
      • getDirection

        public AxisDirectionType getDirection()
        Get the direction
        Returns:
        direction type
      • setDirection

        public void setDirection​(AxisDirectionType direction)
        Set the direction
        Parameters:
        direction - direction type
      • getMeridian

        public Double getMeridian()
        Get the meridian
        Returns:
        meridian
      • getMeridianText

        public String getMeridianText()
        Get the meridian text
        Returns:
        meridian text
        Since:
        1.1.0
      • hasMeridian

        public boolean hasMeridian()
        Has a meridian
        Returns:
        true if has meridian
      • setMeridian

        public void setMeridian​(Double meridian)
        Set the meridian
        Parameters:
        meridian - meridian
      • setMeridian

        public void setMeridian​(String meridian)
        Set the meridian
        Parameters:
        meridian - meridian
        Since:
        1.1.0
      • getMeridianUnit

        public Unit getMeridianUnit()
        Get the meridian (angle) unit
        Returns:
        meridian (angle) unit
      • setMeridianUnit

        public void setMeridianUnit​(Unit meridianUnit)
        Set the meridian (angle) unit
        Parameters:
        meridianUnit - meridian (angle) unit
      • getBearing

        public Double getBearing()
        Get the bearing
        Returns:
        bearing
      • getBearingText

        public String getBearingText()
        Get the bearing text
        Returns:
        bearing text
        Since:
        1.1.0
      • hasBearing

        public boolean hasBearing()
        Has a bearing
        Returns:
        true if has bearing
      • setBearing

        public void setBearing​(Double bearing)
        Set the bearing
        Parameters:
        bearing - bearing
      • setBearing

        public void setBearing​(String bearing)
        Set the bearing
        Parameters:
        bearing - bearing text
        Since:
        1.1.0
      • getOrder

        public Integer getOrder()
        Get the order
        Returns:
        order
      • hasOrder

        public boolean hasOrder()
        Has an order
        Returns:
        true if has order
      • setOrder

        public void setOrder​(Integer order)
        Set the order
        Parameters:
        order - order
      • getUnit

        public Unit getUnit()
        Get the unit
        Returns:
        unit
      • hasUnit

        public boolean hasUnit()
        Has a unit
        Returns:
        true if has unit
      • setUnit

        public void setUnit​(Unit unit)
        Set the unit
        Parameters:
        unit - unit
      • hasIdentifiers

        public boolean hasIdentifiers()
        Has identifiers
        Specified by:
        hasIdentifiers in interface Identifiable
        Returns:
        true if has identifiers
      • numIdentifiers

        public int numIdentifiers()
        Number of identifiers
        Specified by:
        numIdentifiers in interface Identifiable
        Returns:
        identifiers count
      • getIdentifier

        public Identifier getIdentifier​(int index)
        Get the identifier at the index
        Specified by:
        getIdentifier in interface Identifiable
        Parameters:
        index - identifier index
        Returns:
        identifier
      • addIdentifier

        public void addIdentifier​(Identifier identifier)
        Add the identifier
        Specified by:
        addIdentifier in interface Identifiable
        Parameters:
        identifier - identifier
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object