public abstract class VariableDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
protected EntityDescriptor |
entityDescriptor |
protected MemberAccessor |
variableMemberAccessor |
protected String |
variableName |
Constructor and Description |
---|
VariableDescriptor(EntityDescriptor entityDescriptor,
MemberAccessor variableMemberAccessor) |
Modifier and Type | Method and Description |
---|---|
EntityDescriptor |
getEntityDescriptor() |
List<ShadowVariableDescriptor> |
getPrimaryShadowVariableDescriptorList()
Primary shadow variables are direct as well as non-referencing
|
String |
getSimpleEntityAndVariableName() |
Object |
getValue(Object entity) |
String |
getVariableName() |
Class<?> |
getVariablePropertyType() |
boolean |
isValuePotentialAnchor(Object value) |
void |
registerShadowVariableDescriptor(ShadowVariableDescriptor shadowVariableDescriptor) |
void |
setValue(Object entity,
Object value) |
String |
toString() |
protected final EntityDescriptor entityDescriptor
protected final MemberAccessor variableMemberAccessor
protected final String variableName
public VariableDescriptor(EntityDescriptor entityDescriptor, MemberAccessor variableMemberAccessor)
public EntityDescriptor getEntityDescriptor()
public String getVariableName()
public String getSimpleEntityAndVariableName()
public Class<?> getVariablePropertyType()
public void registerShadowVariableDescriptor(ShadowVariableDescriptor shadowVariableDescriptor)
public List<ShadowVariableDescriptor> getPrimaryShadowVariableDescriptorList()
public boolean isValuePotentialAnchor(Object value)
value
- never nullCopyright © 2006–2015 JBoss by Red Hat. All rights reserved.