Enum Class AssignmentState

java.lang.Object
java.lang.Enum<AssignmentState>
net.ssehub.easy.varModel.confModel.AssignmentState
All Implemented Interfaces:
Serializable, Comparable<AssignmentState>, Constable, IAssignmentState

public enum AssignmentState extends Enum<AssignmentState> implements IAssignmentState
Defines the default and global assignment states.
Author:
Holger Eichelberger, El-Sharkawy
  • Enum Constant Details

    • UNDEFINED

      public static final AssignmentState UNDEFINED
      An undefined value. The decision must be taken in future.
    • ASSIGNED

      public static final AssignmentState ASSIGNED
      The value is set by the user, but not yet frozen.
    • USER_ASSIGNED

      public static final AssignmentState USER_ASSIGNED
      The value is set by the user, should not be changed by the reasoner.
    • DEFAULT

      public static final AssignmentState DEFAULT
      The default value is (still) assigned.
    • DERIVED

      public static final AssignmentState DERIVED
      A (reasoning) mechanism defined the value.
    • FROZEN

      public static final AssignmentState FROZEN
      The value is frozen and cannot be changed.
  • Constructor Details

    • AssignmentState

      private AssignmentState()
  • Method Details

    • values

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