Package org.ehrbase.dao.access.util
Enum ContributionDef.ContributionState
- java.lang.Object
-
- java.lang.Enum<ContributionDef.ContributionState>
-
- org.ehrbase.dao.access.util.ContributionDef.ContributionState
-
- All Implemented Interfaces:
Serializable,Comparable<ContributionDef.ContributionState>
- Enclosing class:
- ContributionDef
public static enum ContributionDef.ContributionState extends Enum<ContributionDef.ContributionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDELETEDINCOMPLETEINITIAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLiteral()static ContributionDef.ContributionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ContributionDef.ContributionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLETE
public static final ContributionDef.ContributionState COMPLETE
-
INCOMPLETE
public static final ContributionDef.ContributionState INCOMPLETE
-
DELETED
public static final ContributionDef.ContributionState DELETED
-
INITIAL
public static final ContributionDef.ContributionState INITIAL
-
-
Method Detail
-
values
public static ContributionDef.ContributionState[] 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 (ContributionDef.ContributionState c : ContributionDef.ContributionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContributionDef.ContributionState 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
-
getLiteral
public String getLiteral()
-
-