Class AnchorShadowVariableDescriptor<Solution_>
- java.lang.Object
- 
- org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor<Solution_>
- 
- org.optaplanner.core.impl.domain.variable.descriptor.ShadowVariableDescriptor<Solution_>
- 
- org.optaplanner.core.impl.domain.variable.anchor.AnchorShadowVariableDescriptor<Solution_>
 
 
 
- 
- Type Parameters:
- Solution_- the solution type, the class with the- PlanningSolutionannotation
 
 public class AnchorShadowVariableDescriptor<Solution_> extends ShadowVariableDescriptor<Solution_> 
- 
- 
Field SummaryFields Modifier and Type Field Description protected VariableDescriptor<Solution_>sourceVariableDescriptor- 
Fields inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptorentityDescriptor, sinkVariableDescriptorList, variableMemberAccessor, variableName
 
- 
 - 
Constructor SummaryConstructors Constructor Description AnchorShadowVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor, MemberAccessor variableMemberAccessor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableListener<Solution_,?>buildVariableListener(InnerScoreDirector<Solution_,?> scoreDirector)Demand<Solution_,?>getProvidedDemand()List<VariableDescriptor<Solution_>>getSourceVariableDescriptorList()Class<? extends VariableListener>getVariableListenerClass()voidlinkVariableDescriptors(DescriptorPolicy descriptorPolicy)voidprocessAnnotations(DescriptorPolicy descriptorPolicy)- 
Methods inherited from class org.optaplanner.core.impl.domain.variable.descriptor.ShadowVariableDescriptorgetGlobalShadowOrder, hasVariableListener, isGenuineAndUninitialized, setGlobalShadowOrder, toString
 - 
Methods inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptorgetEntityDescriptor, getMemberAccessorSpeedNote, getSimpleEntityAndVariableName, getSinkVariableDescriptorList, getValue, getVariableName, getVariablePropertyType, isValuePotentialAnchor, registerSinkVariableDescriptor, setValue
 
- 
 
- 
- 
- 
Field Detail- 
sourceVariableDescriptorprotected VariableDescriptor<Solution_> sourceVariableDescriptor 
 
- 
 - 
Constructor Detail- 
AnchorShadowVariableDescriptorpublic AnchorShadowVariableDescriptor(EntityDescriptor<Solution_> entityDescriptor, MemberAccessor variableMemberAccessor) 
 
- 
 - 
Method Detail- 
processAnnotationspublic void processAnnotations(DescriptorPolicy descriptorPolicy) - Specified by:
- processAnnotationsin class- ShadowVariableDescriptor<Solution_>
 
 - 
linkVariableDescriptorspublic void linkVariableDescriptors(DescriptorPolicy descriptorPolicy) - Specified by:
- linkVariableDescriptorsin class- VariableDescriptor<Solution_>
 
 - 
getSourceVariableDescriptorListpublic List<VariableDescriptor<Solution_>> getSourceVariableDescriptorList() Description copied from class:ShadowVariableDescriptor- Specified by:
- getSourceVariableDescriptorListin class- ShadowVariableDescriptor<Solution_>
- Returns:
- never null, only variables affect this shadow variable directly
 
 - 
getVariableListenerClasspublic Class<? extends VariableListener> getVariableListenerClass() - Specified by:
- getVariableListenerClassin class- ShadowVariableDescriptor<Solution_>
 
 - 
getProvidedDemandpublic Demand<Solution_,?> getProvidedDemand() - Specified by:
- getProvidedDemandin class- ShadowVariableDescriptor<Solution_>
- Returns:
- never null
 
 - 
buildVariableListenerpublic VariableListener<Solution_,?> buildVariableListener(InnerScoreDirector<Solution_,?> scoreDirector) - Specified by:
- buildVariableListenerin class- ShadowVariableDescriptor<Solution_>
- Parameters:
- scoreDirector- never null
- Returns:
- never null
 
 
- 
 
-