Package org.dspace.orcid
Enum OrcidOperation
- java.lang.Object
-
- java.lang.Enum<OrcidOperation>
-
- org.dspace.orcid.OrcidOperation
-
- All Implemented Interfaces:
Serializable,Comparable<OrcidOperation>
public enum OrcidOperation extends Enum<OrcidOperation>
Enum that models an ORCID synchronization operation.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrcidOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static OrcidOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final OrcidOperation INSERT
-
UPDATE
public static final OrcidOperation UPDATE
-
DELETE
public static final OrcidOperation DELETE
-
-
Method Detail
-
values
public static OrcidOperation[] 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 (OrcidOperation c : OrcidOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrcidOperation 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
-
-