Class CoordinateMetadata

    • Constructor Detail

      • CoordinateMetadata

        public CoordinateMetadata()
        Constructor
      • CoordinateMetadata

        public CoordinateMetadata​(CoordinateReferenceSystem crs)
        Constructor
        Parameters:
        crs - coordinate reference system
      • CoordinateMetadata

        public CoordinateMetadata​(CoordinateReferenceSystem crs,
                                  Double epoch)
        Constructor
        Parameters:
        crs - coordinate reference system
        epoch - coordinate epoch
      • CoordinateMetadata

        public CoordinateMetadata​(CoordinateReferenceSystem crs,
                                  String epoch)
        Constructor
        Parameters:
        crs - coordinate reference system
        epoch - coordinate epoch
        Since:
        1.1.0
    • Method Detail

      • getCoordinateReferenceSystem

        public CoordinateReferenceSystem getCoordinateReferenceSystem()
        Get the coordinate reference system
        Returns:
        coordinate reference system
      • setCoordinateReferenceSystem

        public void setCoordinateReferenceSystem​(CoordinateReferenceSystem crs)
        Set the coordinate reference system
        Parameters:
        crs - coordinate reference system
      • getEpoch

        public Double getEpoch()
        Get the coordinate epoch
        Returns:
        coordinate epoch
      • getEpochText

        public String getEpochText()
        Get the coordinate epoch text
        Returns:
        coordinate epoch text
        Since:
        1.1.0
      • hasEpoch

        public boolean hasEpoch()
        Has a coordinate epoch
        Returns:
        true if has coordinate epoch
      • setEpoch

        public void setEpoch​(Double epoch)
        Set the coordinate epoch
        Parameters:
        epoch - coordinate epoch
      • setEpoch

        public void setEpoch​(String epoch)
        Set the coordinate epoch
        Parameters:
        epoch - coordinate epoch
        Since:
        1.1.0
      • 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