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,org.eclipse.persistence.core.mappings.CoreAttributeAccessor
public class CustomAccessorAttributeAccessor extends org.eclipse.persistence.mappings.AttributeAccessorPurpose: 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
- Author:
- mmacivor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CustomAccessorAttributeAccessor(Object accessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttributeValueFromObject(Object object)voidsetAttributeValueInObject(Object object, Object value)-
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 Detail
-
CustomAccessorAttributeAccessor
public CustomAccessorAttributeAccessor(Object accessor)
-
-
Method Detail
-
getAttributeValueFromObject
public Object getAttributeValueFromObject(Object object) throws org.eclipse.persistence.exceptions.DescriptorException
- Specified by:
getAttributeValueFromObjectin interfaceorg.eclipse.persistence.core.mappings.CoreAttributeAccessor- Specified by:
getAttributeValueFromObjectin classorg.eclipse.persistence.mappings.AttributeAccessor- Throws:
org.eclipse.persistence.exceptions.DescriptorException
-
setAttributeValueInObject
public void setAttributeValueInObject(Object object, Object value) throws org.eclipse.persistence.exceptions.DescriptorException
- Specified by:
setAttributeValueInObjectin interfaceorg.eclipse.persistence.core.mappings.CoreAttributeAccessor- Specified by:
setAttributeValueInObjectin classorg.eclipse.persistence.mappings.AttributeAccessor- Throws:
org.eclipse.persistence.exceptions.DescriptorException
-
-