Class ReferenceFrame

    • Constructor Detail

      • ReferenceFrame

        public ReferenceFrame​(CRSType type)
        Constructor
        Parameters:
        type - type
      • ReferenceFrame

        public ReferenceFrame​(String name,
                              CRSType type)
        Constructor
        Parameters:
        name - name
        type - type
    • Method Detail

      • getName

        public String getName()
        Get the datum name
        Returns:
        datum name
      • setName

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

        public CRSType getType()
        Get the type
        Returns:
        type
      • setType

        public void setType​(CRSType type)
        Set the type
        Parameters:
        type - type
      • getAnchor

        public String getAnchor()
        Get the datum anchor description
        Returns:
        datum anchor description
      • hasAnchor

        public boolean hasAnchor()
        Has a datum anchor description
        Returns:
        true if has datum anchor description
      • setAnchor

        public void setAnchor​(String anchor)
        Set the datum anchor description
        Parameters:
        anchor - datum anchor description
      • 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