Enum Match.Status
- java.lang.Object
-
- java.lang.Enum<Match.Status>
-
- org.gbif.api.model.collections.lookup.Match.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Match.Status>
- Enclosing class:
- Match<T extends EntityMatched>
public static enum Match.Status extends Enum<Match.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
AMBIGUOUS
AMBIGUOUS_EXPLICIT_MAPPINGS
AMBIGUOUS_INSTITUTION_MISMATCH
AMBIGUOUS_OWNER
DOUBTFUL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Match.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Match.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final Match.Status ACCEPTED
-
AMBIGUOUS
public static final Match.Status AMBIGUOUS
-
AMBIGUOUS_EXPLICIT_MAPPINGS
public static final Match.Status AMBIGUOUS_EXPLICIT_MAPPINGS
-
AMBIGUOUS_OWNER
public static final Match.Status AMBIGUOUS_OWNER
-
AMBIGUOUS_INSTITUTION_MISMATCH
public static final Match.Status AMBIGUOUS_INSTITUTION_MISMATCH
-
DOUBTFUL
public static final Match.Status DOUBTFUL
-
-
Method Detail
-
values
public static Match.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Match.Status c : Match.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Match.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-