OptaPlanner core 6.1.0.Final

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

java.lang.Object
  extended by org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
      extended by org.optaplanner.core.impl.domain.variable.descriptor.ShadowVariableDescriptor
          extended by org.optaplanner.core.impl.domain.variable.descriptor.CustomShadowVariableDescriptor

public class CustomShadowVariableDescriptor
extends ShadowVariableDescriptor


Field Summary
protected  Class<? extends VariableListener> variableListenerClass
           
 
Fields inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
entityDescriptor, variableName, variablePropertyAccessor
 
Constructor Summary
CustomShadowVariableDescriptor(EntityDescriptor entityDescriptor, PropertyDescriptor propertyDescriptor)
           
 
Method Summary
 VariableListener buildVariableListener()
           
 void linkShadowSources(DescriptorPolicy descriptorPolicy)
           
 void processAnnotations(DescriptorPolicy descriptorPolicy)
           
 
Methods inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
buildVariableListenerList, getEntityDescriptor, getValue, getVariableName, getVariablePropertyType, hasAnyShadow, registerShadowVariableDescriptor, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

variableListenerClass

protected Class<? extends VariableListener> variableListenerClass
Constructor Detail

CustomShadowVariableDescriptor

public CustomShadowVariableDescriptor(EntityDescriptor entityDescriptor,
                                      PropertyDescriptor propertyDescriptor)
Method Detail

processAnnotations

public void processAnnotations(DescriptorPolicy descriptorPolicy)
Specified by:
processAnnotations in class ShadowVariableDescriptor

linkShadowSources

public void linkShadowSources(DescriptorPolicy descriptorPolicy)
Specified by:
linkShadowSources in class ShadowVariableDescriptor

buildVariableListener

public VariableListener buildVariableListener()
Specified by:
buildVariableListener in class ShadowVariableDescriptor

OptaPlanner core 6.1.0.Final

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