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
VariableDescriptor
public VariableDescriptor(EntityDescriptor entityDescriptor,
PropertyDescriptor propertyDescriptor)
getEntityDescriptor
public EntityDescriptor getEntityDescriptor()
getVariableName
public String getVariableName()
getVariablePropertyType
public Class<?> getVariablePropertyType()
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.