OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.core.impl.domain.variable.descriptor
Class ShadowVariableDescriptor

java.lang.Object
  extended by org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
      extended by org.optaplanner.core.impl.domain.variable.descriptor.ShadowVariableDescriptor
Direct Known Subclasses:
AnchorShadowVariableDescriptor, CustomShadowVariableDescriptor, InverseRelationShadowVariableDescriptor

public abstract class ShadowVariableDescriptor
extends VariableDescriptor


Field Summary
 
Fields inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
entityDescriptor, variableName, variablePropertyAccessor
 
Constructor Summary
ShadowVariableDescriptor(EntityDescriptor entityDescriptor, PropertyDescriptor propertyDescriptor)
           
 
Method Summary
abstract  VariableListener buildVariableListener(InnerScoreDirector scoreDirector)
           
abstract  Demand getProvidedDemand()
           
abstract  void linkShadowSources(DescriptorPolicy descriptorPolicy)
           
abstract  void processAnnotations(DescriptorPolicy descriptorPolicy)
           
 
Methods inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
getEntityDescriptor, getShadowVariableDescriptorList, getSimpleEntityAndVariableName, getValue, getVariableName, getVariablePropertyType, isValueNoPotentialAnchor, registerShadowVariableDescriptor, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShadowVariableDescriptor

public ShadowVariableDescriptor(EntityDescriptor entityDescriptor,
                                PropertyDescriptor propertyDescriptor)
Method Detail

processAnnotations

public abstract void processAnnotations(DescriptorPolicy descriptorPolicy)

linkShadowSources

public abstract void linkShadowSources(DescriptorPolicy descriptorPolicy)

getProvidedDemand

public abstract Demand getProvidedDemand()
Returns:
never null

buildVariableListener

public abstract VariableListener buildVariableListener(InnerScoreDirector scoreDirector)
Parameters:
scoreDirector - never null
Returns:
never null

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.