public class WeavedObjectBasicIndirectionPolicy extends BasicIndirectionPolicy
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Method |
setMethod |
protected java.lang.String |
setMethodName |
mapping| Constructor and Description |
|---|
WeavedObjectBasicIndirectionPolicy(java.lang.String setMethodName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getRealAttributeValueFromObject(java.lang.Object object,
java.lang.Object attribute)
INTERNAL:
Return the "real" attribute value, as opposed to any wrapper.
|
protected java.lang.reflect.Method |
getSetMethod()
This method will lazily initialize the set method
Lazy initialization occurs to that we are not required to have a handle on
the actual class that we are using until runtime.
|
void |
setRealAttributeValueInObject(java.lang.Object target,
java.lang.Object attributeValue)
INTERNAL:
Set the value of the appropriate attribute of target to attributeValue.
|
void |
updateValueInObject(java.lang.Object object,
java.lang.Object value,
java.lang.Object attributeValue)
Coordinate the valueholder for this mapping with the underlying property by calling the
initial setter method
|
backupCloneAttribute, cloneAttribute, extractPrimaryKeyForReferenceObject, extractReferenceRow, getOriginalIndirectionObject, iterateOnAttributeValue, nullValueFromRow, objectIsInstantiated, typeIsValid, validateAttributeOfInstantiatedObject, validateDeclaredAttributeType, validateGetMethodReturnType, validateSetMethodParameterType, valueFromQuery, valueFromRowbuildCascadeQuery, clone, getCollectionMapping, getForeignReferenceMapping, getMapping, getOneToOneMapping, getValueFromProxy, initialize, setMapping, usesIndirection, usesTransparentIndirection, validateContainerPolicy, validateDeclaredAttributeTypeForCollection, validateGetMethodReturnTypeForCollection, validateSetMethodParameterTypeForCollectionprotected java.lang.String setMethodName
protected java.lang.reflect.Method setMethod
public WeavedObjectBasicIndirectionPolicy(java.lang.String setMethodName)
public java.lang.Object getRealAttributeValueFromObject(java.lang.Object object,
java.lang.Object attribute)
getRealAttributeValueFromObject in class BasicIndirectionPolicyprotected java.lang.reflect.Method getSetMethod()
public void updateValueInObject(java.lang.Object object,
java.lang.Object value,
java.lang.Object attributeValue)
public void setRealAttributeValueInObject(java.lang.Object target,
java.lang.Object attributeValue)
setRealAttributeValueInObject in class BasicIndirectionPolicy