Annotation Type NextElementShadowVariable
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface NextElementShadowVariable
Specifies that a bean property (or a field) references the next element in the samePlanningListVariable
. The next element's index is 1 higher than this element's index. It isnull
if this element is the last element in the list variable.It is specified on a getter of a java bean property (or a field) of a
PlanningEntity
class.The source variable must be a
list variable
.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
sourceVariableName
The source variable must be alist variable
.
-
-
-
Element Detail
-
sourceVariableName
String sourceVariableName
The source variable must be alist variable
.When the
Solver
changes a genuine variable, it adjusts the shadow variable accordingly. In practice, theSolver
ignores shadow variables (except for consistency housekeeping).- Returns:
- property name of the list variable that contains instances of this planning value
-
-