Top Description Methods
org.eclipse.persistence.core.mappings

public Interface CoreAttributeAccessor

Known Direct Implementers
org.eclipse.persistence.mappings.AttributeAccessor
Imports
org.eclipse.persistence.exceptions.DescriptorException

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

Method Summary

Modifier and TypeMethod and Description
public Class<?>
getAttributeClass()

Return the class type of the attribute.

public String
getAttributeName()

INTERNAL: Return the attribute name.

public Object
getAttributeValueFromObject(Object object)

Return the attribute value from the object.

public void
initializeAttributes(Class<?> descriptorClass)

Allow any initialization to be performed with the descriptor class.

public boolean
public boolean
public boolean
isWriteOnly()

INTERNAL:

public void
setAttributeValueInObject(Object object, Object value)

Set the attribute value into the object.

public void
setIsReadOnly(boolean aBoolean)

INTERNAL

public void
setIsWriteOnly(boolean aBoolean)

Method Detail

getAttributeClassback to summary
public Class<?> getAttributeClass()

Return the class type of the attribute.

getAttributeNameback to summary
public String getAttributeName()

INTERNAL: Return the attribute name.

getAttributeValueFromObjectback to summary
public Object getAttributeValueFromObject(Object object)

Return the attribute value from the object.

initializeAttributesback to summary
public void initializeAttributes(Class<?> descriptorClass) throws DescriptorException

Allow any initialization to be performed with the descriptor class.

isInstanceVariableAttributeAccessorback to summary
public boolean isInstanceVariableAttributeAccessor()
isMethodAttributeAccessorback to summary
public boolean isMethodAttributeAccessor()
isWriteOnlyback to summary
public boolean isWriteOnly()

INTERNAL:

setAttributeValueInObjectback to summary
public void setAttributeValueInObject(Object object, Object value)

Set the attribute value into the object.

setIsReadOnlyback to summary
public void setIsReadOnly(boolean aBoolean)

INTERNAL

setIsWriteOnlyback to summary
public void setIsWriteOnly(boolean aBoolean)