org.optaplanner.core.impl.domain.variable.descriptor
Class VariableDescriptor
java.lang.Object
org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
- Direct Known Subclasses:
- GenuineVariableDescriptor, ShadowVariableDescriptor
public abstract class VariableDescriptor
- extends Object
entityDescriptor
protected final EntityDescriptor entityDescriptor
variablePropertyAccessor
protected final PropertyAccessor variablePropertyAccessor
variableName
protected final String variableName
VariableDescriptor
public VariableDescriptor(EntityDescriptor entityDescriptor,
PropertyDescriptor propertyDescriptor)
getEntityDescriptor
public EntityDescriptor getEntityDescriptor()
getVariableName
public String getVariableName()
getVariablePropertyType
public Class<?> getVariablePropertyType()
registerShadowVariableDescriptor
public void registerShadowVariableDescriptor(ShadowVariableDescriptor shadowVariableDescriptor)
hasAnyShadow
public boolean hasAnyShadow()
buildVariableListenerList
public List<VariableListener> buildVariableListenerList()
getValue
public Object getValue(Object entity)
setValue
public void setValue(Object entity,
Object value)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.