Enum Class ParentVariableType

java.lang.Object
java.lang.Enum<ParentVariableType>
ai.timefold.solver.core.impl.domain.variable.declarative.ParentVariableType
All Implemented Interfaces:
Serializable, Comparable<ParentVariableType>, Constable

public enum ParentVariableType extends Enum<ParentVariableType>
  • Enum Constant Details

    • NO_PARENT

      public static final ParentVariableType NO_PARENT
      A variable accessed from the root object.
    • VARIABLE

      public static final ParentVariableType VARIABLE
      A variable accessed from another variable.
    • INVERSE

      public static final ParentVariableType INVERSE
      Variable on the inverse accessed from the root object.
    • NEXT

      public static final ParentVariableType NEXT
      Variable on a next element variable accessed from the root object.
    • PREVIOUS

      public static final ParentVariableType PREVIOUS
      Variable on a previous element variable accessed from the root object.
    • CHAINED_NEXT

      public static final ParentVariableType CHAINED_NEXT
      Variable on a next element variable accessed from the root object in a chained model.
    • INDIRECT

      public static final ParentVariableType INDIRECT
      A variable accessed indirectly from a fact or variable.
    • GROUP

      public static final ParentVariableType GROUP
      Variables accessed from a group.
  • Method Details

    • values

      public static ParentVariableType[] 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 ParentVariableType 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
    • isDirectional

      public boolean isDirectional()
    • isIndirect

      public boolean isIndirect()