Package mil.nga.crs

Class CommonCRS

    • Constructor Detail

      • CommonCRS

        public CommonCRS()
        Constructor
      • CommonCRS

        public CommonCRS​(CRSType type)
        Constructor
        Parameters:
        type - coordinate reference system type
      • CommonCRS

        public CommonCRS​(String name,
                         CRSType type)
        Constructor
        Parameters:
        name - name
        type - coordinate reference system type
    • Method Detail

      • getName

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

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

        public List<Usage> getUsages()
        Get the usages
        Returns:
        usages
      • hasUsages

        public boolean hasUsages()
        Has usages
        Returns:
        true if has usages
      • numUsages

        public int numUsages()
        Number of usages
        Returns:
        usages count
      • getUsage

        public Usage getUsage​(int index)
        Get the usage at the index
        Parameters:
        index - usage index
        Returns:
        usage
      • setUsages

        public void setUsages​(List<Usage> usages)
        Set the usages
        Parameters:
        usages - usages
      • addUsage

        public void addUsage​(Usage usage)
        Add the usage
        Parameters:
        usage - usage
      • addUsages

        public void addUsages​(List<Usage> usages)
        Add the usages
        Parameters:
        usages - usages
      • getIdentifiers

        public List<Identifier> getIdentifiers()
        Get the identifiers
        Returns:
        identifiers
      • hasIdentifiers

        public boolean hasIdentifiers()
        Has identifiers
        Returns:
        true if has identifiers
      • numIdentifiers

        public int numIdentifiers()
        Number of identifiers
        Returns:
        identifiers count
      • getIdentifier

        public Identifier getIdentifier​(int index)
        Get the identifier at the index
        Parameters:
        index - identifier index
        Returns:
        identifier
      • setIdentifiers

        public void setIdentifiers​(List<Identifier> identifiers)
        Set the identifiers
        Parameters:
        identifiers - identifiers
      • addIdentifier

        public void addIdentifier​(Identifier identifier)
        Add the identifier
        Parameters:
        identifier - identifier
      • addIdentifiers

        public void addIdentifiers​(List<Identifier> identifiers)
        Add the identifiers
        Parameters:
        identifiers - identifiers
      • getRemark

        public String getRemark()
        Get the remark
        Returns:
        remark
      • hasRemark

        public boolean hasRemark()
        Has remark
        Returns:
        true if has remark
      • setRemark

        public void setRemark​(String remark)
        Set the remark
        Parameters:
        remark - remark
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class CRS
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class CRS