Module org.eclipse.persistence.moxy
Class CustomAccessorAttributeAccessor
java.lang.Object
org.eclipse.persistence.mappings.AttributeAccessor
org.eclipse.persistence.internal.jaxb.CustomAccessorAttributeAccessor
- All Implemented Interfaces:
Serializable
,Cloneable
,CoreAttributeAccessor
Purpose: Provides a wrapper around an instance of Accessor. Makes reflective calls to the nested accessor's get and set methods. The nested accessor can come from either the internal or public package.
- Since:
- EclipseLink 2.4
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.mappings.AttributeAccessor
attributeName, isReadOnly, isWriteOnly
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeValueFromObject
(Object object) Return the attribute value from the object.void
setAttributeValueInObject
(Object object, Object value) Set the attribute value into the object.Methods inherited from class org.eclipse.persistence.mappings.AttributeAccessor
clone, getAttributeClass, getAttributeName, initializeAttributes, isInitialized, isInstanceVariableAttributeAccessor, isMapValueAttributeAccessor, isMethodAttributeAccessor, isReadOnly, isValuesAccessor, isVirtualAttributeAccessor, isWriteOnly, setAttributeName, setIsReadOnly, setIsWriteOnly
-
Constructor Details
-
CustomAccessorAttributeAccessor
-
-
Method Details
-
getAttributeValueFromObject
Description copied from class:AttributeAccessor
Return the attribute value from the object.- Specified by:
getAttributeValueFromObject
in interfaceCoreAttributeAccessor
- Specified by:
getAttributeValueFromObject
in classAttributeAccessor
- Throws:
DescriptorException
-
setAttributeValueInObject
Description copied from class:AttributeAccessor
Set the attribute value into the object.- Specified by:
setAttributeValueInObject
in interfaceCoreAttributeAccessor
- Specified by:
setAttributeValueInObject
in classAttributeAccessor
- Throws:
DescriptorException
-