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
Modifier and TypeMethodDescriptionReturn the class type of the attribute.INTERNAL: Return the attribute name.getAttributeValueFromObject
(Object object) Return the attribute value from the object.void
initializeAttributes
(Class descriptorClass) Allow any initialization to be performed with the descriptor class.boolean
boolean
boolean
INTERNAL:void
setAttributeValueInObject
(Object object, Object value) Set the attribute value into the object.void
setIsReadOnly
(boolean aBoolean) INTERNALvoid
setIsWriteOnly
(boolean aBoolean)
-
Method Details
-
getAttributeClass
Class getAttributeClass()Return the class type of the attribute. -
getAttributeName
String getAttributeName()INTERNAL: Return the attribute name. -
getAttributeValueFromObject
Return the attribute value from the object. -
initializeAttributes
Allow any initialization to be performed with the descriptor class.- Throws:
DescriptorException
-
isInstanceVariableAttributeAccessor
boolean isInstanceVariableAttributeAccessor() -
isMethodAttributeAccessor
boolean isMethodAttributeAccessor() -
isWriteOnly
boolean isWriteOnly()INTERNAL:- Returns:
-
setAttributeValueInObject
Set the attribute value into the object. -
setIsReadOnly
void setIsReadOnly(boolean aBoolean) INTERNAL- Parameters:
aBoolean
-
-
setIsWriteOnly
void setIsWriteOnly(boolean aBoolean)
-