Class DatumEnsemble

    • Constructor Detail

      • DatumEnsemble

        public DatumEnsemble()
        Constructor
      • DatumEnsemble

        public DatumEnsemble​(String name,
                             DatumEnsembleMember member,
                             double accuracy)
        Constructor
        Parameters:
        name - name
        member - member
        accuracy - accuracy
      • DatumEnsemble

        public DatumEnsemble​(String name,
                             DatumEnsembleMember member,
                             String accuracy)
        Constructor
        Parameters:
        name - name
        member - member
        accuracy - accuracy
        Since:
        1.1.0
      • DatumEnsemble

        public DatumEnsemble​(String name,
                             List<DatumEnsembleMember> members,
                             double accuracy)
        Constructor
        Parameters:
        name - name
        members - members
        accuracy - accuracy
      • DatumEnsemble

        public DatumEnsemble​(String name,
                             List<DatumEnsembleMember> members,
                             String accuracy)
        Constructor
        Parameters:
        name - name
        members - members
        accuracy - accuracy
        Since:
        1.1.0
    • Method Detail

      • getName

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

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

        public int numMembers()
        Number of members
        Returns:
        members count
      • getMember

        public DatumEnsembleMember getMember​(int index)
        Get the member at the index
        Parameters:
        index - member index
        Returns:
        member
      • setMembers

        public void setMembers​(List<DatumEnsembleMember> members)
        Set the members
        Parameters:
        members - members
      • addMember

        public void addMember​(DatumEnsembleMember member)
        Add the member
        Parameters:
        member - member
      • addMembers

        public void addMembers​(List<DatumEnsembleMember> members)
        Add the members
        Parameters:
        members - members
      • getAccuracy

        public double getAccuracy()
        Get the accuracy
        Returns:
        accuracy
      • getAccuracyText

        public String getAccuracyText()
        Get the accuracy text
        Returns:
        accuracy text
        Since:
        1.1.0
      • setAccuracy

        public void setAccuracy​(double accuracy)
        Set the accuracy
        Parameters:
        accuracy - accuracy
      • setAccuracy

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