Top Description Fields Constructors Methods
org.eclipse.persistence.internal.descriptors

public Class PersistenceObjectAttributeAccessor

extends InstanceVariableAttributeAccessor
Class Inheritance
Imports
org.eclipse.persistence.exceptions.DescriptorException

Used with weaving to access attributes without using reflection.

Field Summary

Inherited from org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor:
attributeField

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
public void
public void
Inherited from org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor:
getAttributeClassgetAttributeFieldgetAttributeTypeisInitializedisInstanceVariableAttributeAccessorsetAttributeField

Constructor Detail

PersistenceObjectAttributeAccessorback to summary
public PersistenceObjectAttributeAccessor(String attributeName)

Method Detail

getAttributeValueFromObjectback to summary
public Object getAttributeValueFromObject(Object object)

Overrides org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor.getAttributeValueFromObject.

Implements org.eclipse.persistence.core.mappings.CoreAttributeAccessor.getAttributeValueFromObject.

Returns the value of the attribute on the specified object.

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

Overrides org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor.initializeAttributes.

Implements org.eclipse.persistence.core.mappings.CoreAttributeAccessor.initializeAttributes.

Allow any initialization to be performed with the descriptor class.

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

Overrides org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor.setAttributeValueInObject.

Implements org.eclipse.persistence.core.mappings.CoreAttributeAccessor.setAttributeValueInObject.

Sets the value of the instance variable in the object to the value.

Annotations
@Override