public class WeavedObjectBasicIndirectionPolicy extends BasicIndirectionPolicy
Modifier and Type | Field and Description |
---|---|
protected Method |
setMethod |
protected String |
setMethodName |
mapping
Constructor and Description |
---|
WeavedObjectBasicIndirectionPolicy(String setMethodName) |
Modifier and Type | Method and Description |
---|---|
Object |
getRealAttributeValueFromObject(Object object,
Object attribute)
INTERNAL:
Return the "real" attribute value, as opposed to any wrapper.
|
protected 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(Object target,
Object attributeValue)
INTERNAL:
Set the value of the appropriate attribute of target to attributeValue.
|
void |
updateValueInObject(Object object,
Object value,
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, valueFromRow
buildCascadeQuery, clone, getCollectionMapping, getForeignReferenceMapping, getMapping, getOneToOneMapping, getValueFromProxy, initialize, setMapping, usesIndirection, usesTransparentIndirection, validateContainerPolicy, validateDeclaredAttributeTypeForCollection, validateGetMethodReturnTypeForCollection, validateSetMethodParameterTypeForCollection
public WeavedObjectBasicIndirectionPolicy(String setMethodName)
public Object getRealAttributeValueFromObject(Object object, Object attribute)
getRealAttributeValueFromObject
in class BasicIndirectionPolicy
protected Method getSetMethod()
public void updateValueInObject(Object object, Object value, Object attributeValue)
public void setRealAttributeValueInObject(Object target, Object attributeValue)
setRealAttributeValueInObject
in class BasicIndirectionPolicy
Copyright © 2024. All rights reserved.