Package com.sas.lsaf.core
Enum Class EntityState
- All Implemented Interfaces:
Serializable,Comparable<EntityState>,Constable
The allowed values of entity states.
- Since:
- 2.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe entity is in a development state.The entity is in a production state.The entity is in a retired state. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityStateReturns the enum constant of this class with the specified name.static EntityState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEVELOPMENT
The entity is in a development state. This is the initial state when it is created. It is intended to indicate that the entity is being edited with the intention of being placed into production. -
PRODUCTION
The entity is in a production state. In this state, the entity can be associated to another item like a study. It cannot be edited in this state. -
RETIRED
The entity is in a retired state. The retired state is intended to indicate that it is no longer in use, and can no longer be associated to another item like a study.
-
-
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
-