Enum Class Qualifier

java.lang.Object
java.lang.Enum<Qualifier>
org.genesys.taxonomy.gringlobal.model.Qualifier
All Implemented Interfaces:
Serializable, Comparable<Qualifier>, Constable

public enum Qualifier extends Enum<Qualifier>
GRIN name qualifier:
  • blank if name is accepted without qualification
  • "=" if always synonym
  • "=~" if mostly a synonym
  • "~" if sometimes a synonym
.
  • Enum Constant Details

    • ACCEPTED

      public static final Qualifier ACCEPTED
      Name accepted without qualification.
    • ALWAYS_SYNONYM

      public static final Qualifier ALWAYS_SYNONYM
      Always synonym
    • MOSTLY_SYNONYM

      public static final Qualifier MOSTLY_SYNONYM
      Mostly synonym.
    • SOMETIMES_SYNONYM

      public static final Qualifier SOMETIMES_SYNONYM
      Sometimes synonym.
  • Method Details

    • values

      public static Qualifier[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Qualifier valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Gets the String value.
      Returns:
      the value
    • fromString

      public static Qualifier fromString(String value)
      Get Qualifier from string code
      Parameters:
      value - the value
      Returns:
      the qualifier