Enum Class EntityState

java.lang.Object
java.lang.Enum<EntityState>
com.sas.lsaf.core.EntityState
All Implemented Interfaces:
Serializable, Comparable<EntityState>, Constable

public enum EntityState extends Enum<EntityState>
The allowed values of entity states.
Since:
2.2
  • Enum Constant Details

    • DEVELOPMENT

      public static final EntityState 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

      public static final EntityState 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

      public static final EntityState 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

      public static EntityState[] 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

      public static EntityState valueOf(String name)
      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 name
      NullPointerException - if the argument is null