Package org.gbif.api.model.checklistbank
Enum Class NameUsageMatch.MatchType
- All Implemented Interfaces:
Serializable,Comparable<NameUsageMatch.MatchType>,Constable
- Enclosing class:
- NameUsageMatch
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMatching on species/infraspecies level when the verbatim data in fact referred to a broader species aggregate/complex.An exact, straight match.A fuzzy, non exact match.Matching on a higher rank than the lowest name given.No match or matching several names with too little information to keep apart. -
Method Summary
Modifier and TypeMethodDescriptionstatic NameUsageMatch.MatchTypeReturns the enum constant of this class with the specified name.static NameUsageMatch.MatchType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
EXACT
An exact, straight match. -
FUZZY
A fuzzy, non exact match. -
HIGHERRANK
Matching on a higher rank than the lowest name given. -
AGGREGATE
Matching on species/infraspecies level when the verbatim data in fact referred to a broader species aggregate/complex.- See Also:
-
NONE
No match or matching several names with too little information to keep apart.
-
-
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
-