Enum Class Qualifier
- All Implemented Interfaces:
Serializable,Comparable<Qualifier>,Constable
GRIN name qualifier:
- blank if name is accepted without qualification
- "=" if always synonym
- "=~" if mostly a synonym
- "~" if sometimes a synonym
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionName accepted without qualification.Always synonymMostly synonym.Sometimes synonym. -
Method Summary
Modifier and TypeMethodDescriptionstatic QualifierfromString(String value) Get Qualifier from string codegetValue()Gets the String value.static QualifierReturns the enum constant of this class with the specified name.static Qualifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
Name accepted without qualification. -
ALWAYS_SYNONYM
Always synonym -
MOSTLY_SYNONYM
Mostly synonym. -
SOMETIMES_SYNONYM
Sometimes synonym.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
Gets the String value.- Returns:
- the value
-
fromString
Get Qualifier from string code- Parameters:
value- the value- Returns:
- the qualifier
-