Solution_
- the solution type, the class with the PlanningSolution
annotationpublic abstract class VariableDescriptor<Solution_> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected EntityDescriptor<Solution_> |
entityDescriptor |
protected List<ShadowVariableDescriptor<Solution_>> |
sinkVariableDescriptorList |
protected MemberAccessor |
variableMemberAccessor |
protected String |
variableName |
Constructor and Description |
---|
VariableDescriptor(EntityDescriptor<Solution_> entityDescriptor,
MemberAccessor variableMemberAccessor) |
Modifier and Type | Method and Description |
---|---|
EntityDescriptor<Solution_> |
getEntityDescriptor() |
String |
getMemberAccessorSpeedNote() |
String |
getSimpleEntityAndVariableName() |
List<ShadowVariableDescriptor<Solution_>> |
getSinkVariableDescriptorList()
|
Object |
getValue(Object entity) |
String |
getVariableName() |
Class<?> |
getVariablePropertyType() |
abstract boolean |
isGenuineAndUninitialized(Object entity) |
boolean |
isValuePotentialAnchor(Object value) |
abstract void |
linkVariableDescriptors(DescriptorPolicy descriptorPolicy) |
void |
registerSinkVariableDescriptor(ShadowVariableDescriptor<Solution_> shadowVariableDescriptor) |
void |
setValue(Object entity,
Object value) |
protected final EntityDescriptor<Solution_> entityDescriptor
protected final MemberAccessor variableMemberAccessor
protected final String variableName
protected List<ShadowVariableDescriptor<Solution_>> sinkVariableDescriptorList
public VariableDescriptor(EntityDescriptor<Solution_> entityDescriptor, MemberAccessor variableMemberAccessor)
public EntityDescriptor<Solution_> getEntityDescriptor()
public String getVariableName()
public String getSimpleEntityAndVariableName()
public Class<?> getVariablePropertyType()
public abstract void linkVariableDescriptors(DescriptorPolicy descriptorPolicy)
public void registerSinkVariableDescriptor(ShadowVariableDescriptor<Solution_> shadowVariableDescriptor)
public List<ShadowVariableDescriptor<Solution_>> getSinkVariableDescriptorList()
public boolean isValuePotentialAnchor(Object value)
value
- never nullpublic String getMemberAccessorSpeedNote()
public abstract boolean isGenuineAndUninitialized(Object entity)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.