EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference

org.eclipse.persistence.core.mappings
Interface CoreAttributeAccessor

All Known Implementing Classes:
AttributeAccessor, org.eclipse.persistence.internal.descriptors.MethodAttributeAccessor, SDOFragmentMappingAttributeAccessor, SDOMethodAttributeAccessor

public interface CoreAttributeAccessor

INTERNAL A abstraction of attribute accessor capturing behavior common to all persistence types.


Method Summary
 java.lang.Class getAttributeClass()
          Return the class type of the attribute.
 java.lang.String getAttributeName()
          INTERNAL: Return the attribute name.
 java.lang.Object getAttributeValueFromObject(java.lang.Object object)
          Return the attribute value from the object.
 void initializeAttributes(java.lang.Class descriptorClass)
          Allow any initialization to be performed with the descriptor class.
 boolean isInstanceVariableAttributeAccessor()
           
 boolean isMethodAttributeAccessor()
           
 void setAttributeValueInObject(java.lang.Object object, java.lang.Object value)
          Set the attribute value into the object.
 void setIsReadOnly(boolean aBoolean)
          INTERNAL
 void setIsWriteOnly(boolean aBoolean)
           
 

Method Detail

getAttributeClass

java.lang.Class getAttributeClass()
Return the class type of the attribute.


getAttributeName

java.lang.String getAttributeName()
INTERNAL: Return the attribute name.


getAttributeValueFromObject

java.lang.Object getAttributeValueFromObject(java.lang.Object object)
Return the attribute value from the object.


initializeAttributes

void initializeAttributes(java.lang.Class descriptorClass)
                          throws DescriptorException
Allow any initialization to be performed with the descriptor class.

Throws:
DescriptorException

isInstanceVariableAttributeAccessor

boolean isInstanceVariableAttributeAccessor()

isMethodAttributeAccessor

boolean isMethodAttributeAccessor()

setAttributeValueInObject

void setAttributeValueInObject(java.lang.Object object,
                               java.lang.Object value)
Set the attribute value into the object.


setIsReadOnly

void setIsReadOnly(boolean aBoolean)
INTERNAL

Parameters:
aBoolean -

setIsWriteOnly

void setIsWriteOnly(boolean aBoolean)

EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference