Annotation Type PlanningVariableReference
public @interface PlanningVariableReference
A reference to a genuine 
PlanningVariable or a shadow variable.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceWorkaround for annotation limitation inentityClass(). - 
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe name of the planning variable that is referenced. - 
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>ThePlanningEntityclass of the planning variable. 
- 
Element Details
- 
variableName
String variableNameThe name of the planning variable that is referenced.- Returns:
 - never null, a genuine or shadow variable name
 
 
 - 
 - 
- 
entityClass
Class<?> entityClassThePlanningEntityclass of the planning variable.Specified if the planning variable is on a different
Classthan the class that uses this referencing annotation.- Returns:
 PlanningVariableReference.NullEntityClasswhen it is null (workaround for annotation limitation). Defaults to the sameClassas the one that uses this annotation.
- Default:
 - org.optaplanner.core.api.domain.variable.PlanningVariableReference.NullEntityClass.class
 
 
 -