Class Qualifier


  • public final class Qualifier
    extends Object
    A data qualifier. Qualifiers are used to "qualify" certain data elements to provide additional context, information, or details.
    Author:
    Ryan Heaton
    • Method Detail

      • getName

        public URI getName()
        The name of the qualifier. The name should be an element of a constrained vocabulary and is used to determine meaning of the qualifier.
        Returns:
        The name of the qualifier.
      • setName

        public void setName​(URI name)
        The name of the qualifier. The name should be an element of a constrained vocabulary and is used to determine meaning of the qualifier.
        Parameters:
        name - The name of the qualifier.
      • name

        public Qualifier name​(URI name)
        Build up this qualifier with a name.
        Parameters:
        name - the name.
        Returns:
        this.
      • setName

        public void setName​(ControlledVocabulary element)
        Set the qualifier name as an element of a constrained vocabulary.
        Parameters:
        element - The element.
      • getValue

        public String getValue()
        The value of the qualifier. Some qualifiers may not have values, indicating that the qualifier is to be treated more like a "tag".
        Returns:
        The value of the qualifier.
      • setValue

        public void setValue​(String value)
        The value of the qualifier. Some qualifiers may not have values, indicating that the qualifier is to be treated more like a "tag".
        Parameters:
        value - The value of the qualifier.
      • value

        public Qualifier value​(String value)
        Build up this qualifier with a value.
        Parameters:
        value - The value of the qualifier.
        Returns:
        this.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object