Annotation Type IndexShadowVariable
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface IndexShadowVariable
Specifies that a bean property (or a field) is an index of this planning value in another entity'sPlanningListVariable.It is specified on a getter of a java bean property (or a field) of a
PlanningEntityclass.The source variable must be a
list variable.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringsourceVariableNameThe source variable must be alist variable.
-
-
-
Element Detail
-
sourceVariableName
String sourceVariableName
The source variable must be alist variable.When the
Solverchanges a genuine variable, it adjusts the shadow variable accordingly. In practice, theSolverignores shadow variables (except for consistency housekeeping).- Returns:
- property name of the list variable that contains instances of this planning value
-
-