public class WeavedObjectBasicIndirectionPolicy extends BasicIndirectionPolicy
Constructor and Description |
---|
WeavedObjectBasicIndirectionPolicy(String getMethodName,
String setMethodName,
String actualTypeClassName,
boolean hasUsedMethodAccess) |
Modifier and Type | Method and Description |
---|---|
String |
getActualTypeClassName() |
String |
getGetMethodName() |
Object |
getRealAttributeValueFromObject(Object object,
Object attribute)
Return the "real" attribute value, as opposed to any wrapper.
|
String |
getSetMethodName() |
boolean |
hasUsedMethodAccess() |
boolean |
isWeavedObjectBasicIndirectionPolicy()
INTERNAL:
|
void |
setRealAttributeValueInObject(Object target,
Object attributeValue)
Set the value of the appropriate attribute of target to attributeValue.
|
void |
setRealAttributeValueInObject(Object target,
Object attributeValue,
boolean trackChanges)
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, buildIndirectObject, cloneAttribute, extractPrimaryKeyForReferenceObject, extractReferenceRow, fixObjectReferences, getOriginalIndirectionObject, getOriginalIndirectionObjectForMerge, getOriginalValueHolder, getValueFromRemoteValueHolder, isAttributeValueFullyBuilt, iterateOnAttributeValue, mergeRemoteValueHolder, nullValueFromRow, objectIsEasilyInstantiated, objectIsInstantiated, reset, setSourceObject, validateAttributeOfInstantiatedObject, validateDeclaredAttributeType, validateGetMethodReturnType, validateSetMethodParameterType, valueFromBatchQuery, valueFromMethod, valueFromQuery, valueFromQuery, valueFromRow
clone, getMapping, initialize, instantiateObject, objectIsInstantiatedOrChanged, setMapping, setUseLazyInstantiation, shouldUseLazyInstantiation, usesIndirection, usesTransparentIndirection, validateContainerPolicy, validateDeclaredAttributeTypeForCollection, validateGetMethodReturnTypeForCollection, validateSetMethodParameterTypeForCollection
public String getActualTypeClassName()
public Object getRealAttributeValueFromObject(Object object, Object attribute)
getRealAttributeValueFromObject
in class BasicIndirectionPolicy
public void updateValueInObject(Object object, Object value, Object attributeValue)
public void setRealAttributeValueInObject(Object target, Object attributeValue)
setRealAttributeValueInObject
in class BasicIndirectionPolicy
public void setRealAttributeValueInObject(Object target, Object attributeValue, boolean trackChanges)
setRealAttributeValueInObject
in class IndirectionPolicy
public String getGetMethodName()
public String getSetMethodName()
public boolean hasUsedMethodAccess()
public boolean isWeavedObjectBasicIndirectionPolicy()
IndirectionPolicy
isWeavedObjectBasicIndirectionPolicy
in class IndirectionPolicy
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference