Enum MasterSourceType
- java.lang.Object
-
- java.lang.Enum<MasterSourceType>
-
- org.gbif.api.vocabulary.collections.MasterSourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<MasterSourceType>
public enum MasterSourceType extends Enum<MasterSourceType>
Type of GRSciColl master source.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GBIF_REGISTRY
GRSCICOLL
IH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MasterSourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MasterSourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRSCICOLL
public static final MasterSourceType GRSCICOLL
-
GBIF_REGISTRY
public static final MasterSourceType GBIF_REGISTRY
-
IH
public static final MasterSourceType IH
-
-
Method Detail
-
values
public static MasterSourceType[] 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 (MasterSourceType c : MasterSourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MasterSourceType 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
-
-