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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVariable on a next element variable accessed from the root object in a chained model.Variables accessed from a group.A variable accessed indirectly from a fact or variable.Variable on the inverse accessed from the root object.Variable on a next element variable accessed from the root object.A variable accessed from the root object.Variable on a previous element variable accessed from the root object.A variable accessed from another variable. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic ParentVariableTypeReturns the enum constant of this class with the specified name.static ParentVariableType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_PARENT
A variable accessed from the root object. -
VARIABLE
A variable accessed from another variable. -
INVERSE
Variable on the inverse accessed from the root object. -
NEXT
Variable on a next element variable accessed from the root object. -
PREVIOUS
Variable on a previous element variable accessed from the root object. -
CHAINED_NEXT
Variable on a next element variable accessed from the root object in a chained model. -
INDIRECT
A variable accessed indirectly from a fact or variable. -
GROUP
Variables accessed from a group.
-
-
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
-
isDirectional
public boolean isDirectional() -
isIndirect
public boolean isIndirect()
-