Package org.optaplanner.core.api.domain.variable
Domain annotations and support classes for a planning variable.
-
Enum Summary Enum Description PlanningVariableGraphType -
Annotation Types Summary Annotation Type Description AnchorShadowVariable Specifies that a bean property (or a field) is the anchor of a chainedPlanningVariable
, which implies it's a shadow variable.CustomShadowVariable Deprecated, for removal: This API element is subject to removal in a future version. Deprecated in favor ofShadowVariable
(normal shadow variable withCustomShadowVariable.variableListenerClass()
) andPiggybackShadowVariable
(ifCustomShadowVariable.variableListenerRef()
is used).IndexShadowVariable Specifies that a bean property (or a field) is an index of this planning value in another entity'sPlanningListVariable
.InverseRelationShadowVariable Specifies that a bean property (or a field) is the inverse of aPlanningVariable
, which implies it's a shadow variable.NextElementShadowVariable Specifies that a bean property (or a field) references the next element in the samePlanningListVariable
.PiggybackShadowVariable Specifies that a bean property (or a field) is a custom shadow variable that is updated by another shadow variable's variable listener.PlanningListVariable Specifies that a bean property (or a field) can be changed and should be optimized by the optimization algorithms.PlanningVariable Specifies that a bean property (or a field) can be changed and should be optimized by the optimization algorithms.PlanningVariableReference A reference to a genuinePlanningVariable
or a shadow variable.PreviousElementShadowVariable Specifies that a bean property (or a field) references the previous element in the samePlanningListVariable
.ShadowVariable Specifies that a bean property (or a field) is a custom shadow variable of 1 or more source variables.ShadowVariable.List Defines severalShadowVariable
annotations on the same element.