Interface ComparableTerm

    • Method Detail

      • getIdentifier

        java.lang.String getIdentifier()
        Returns the (optional) identifier associated with this term.
        Returns:
        the string identifier.
      • setIdentifier

        void setIdentifier​(java.lang.String identifier)
                    throws ChangeVetoException
        Sets the (optional) identifier associated with this term.
        Parameters:
        identifier - the identifier to give the term. Null will unset it.
        Throws:
        ChangeVetoException - if the identifier is unacceptable.
      • getObsolete

        java.lang.Boolean getObsolete()
        Checks to see if this term is obsolete. As the column in the database is nullable, this value is a Boolean object instead of a boolean simple type. Hence it may also be null.
        Returns:
        true if it is, false if not.
      • setObsolete

        void setObsolete​(java.lang.Boolean obsolete)
                  throws ChangeVetoException
        Sets the obsolescence flag associated with this term.
        Parameters:
        obsolete - true if it is obsolete, false if not. Nullable.
        Throws:
        ChangeVetoException - if the change is unacceptable.