Class TemporalDatum

    • Constructor Detail

      • TemporalDatum

        public TemporalDatum()
        Constructor
      • TemporalDatum

        public TemporalDatum​(String name)
        Constructor
        Parameters:
        name - name
    • 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
      • getCalendar

        public String getCalendar()
        Get the calendar identifier
        Returns:
        calendar identifier
      • hasCalendar

        public boolean hasCalendar()
        Has a calendar identifier
        Returns:
        true if has calendar identifier
      • setCalendar

        public void setCalendar​(String calendar)
        Set the calendar identifier
        Parameters:
        calendar - calendar identifier
      • getOrigin

        public String getOrigin()
        Get the origin
        Returns:
        origin
      • hasOrigin

        public boolean hasOrigin()
        Has an origin
        Returns:
        true if has origin
      • setOrigin

        public void setOrigin​(String origin)
        Set the origin
        Parameters:
        origin - origin
      • getOriginDateTime

        public DateTime getOriginDateTime()
        Get the origin date time
        Returns:
        origin date time
      • hasOriginDateTime

        public boolean hasOriginDateTime()
        Has an origin date time
        Returns:
        true if has origin date time
      • setOriginDateTime

        public void setOriginDateTime​(DateTime originDateTime)
        Set the origin date time
        Parameters:
        originDateTime - origin date time
        Since:
        1.1.0
      • setOriginDateTime

        public void setOriginDateTime​(String origin)
        Set the origin date time
        Parameters:
        origin - origin date time
      • 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