Interface ComparableTriple

    • Field Detail

    • Method Detail

      • removeDescriptor

        boolean removeDescriptor​(ComparableTerm desc)
                          throws java.lang.IllegalArgumentException,
                                 ChangeVetoException
        Removes a descriptor. Must not be null.
        Parameters:
        desc - the descriptor to remove.
        Returns:
        True if it did it, false if the descriptor did not exist.
        Throws:
        ChangeVetoException - in case of objections.
        java.lang.IllegalArgumentException - if the descriptor is missing.
      • setDescriptors

        void setDescriptors​(java.util.Set descriptors)
                     throws ChangeVetoException
        Clears the current set of descriptors and replaces it with the content of the set passed.
        Parameters:
        descriptors - the set of ComparableTerm descriptors to add.
        Throws:
        ChangeVetoException - in case of objections.
        See Also:
        ComparableTerm
      • getDescriptors

        java.util.Set getDescriptors()
        Returns all descriptors.
        Returns:
        a set of all ComparableTerm descriptors, possibly empty.
        See Also:
        ComparableTerm