Module org.eclipse.persistence.core
Interface CoreAttributeAccessor
-
- All Known Implementing Classes:
AttributeAccessor,InstanceVariableAttributeAccessor,MethodAttributeAccessor,MultitenantPrimaryKeyAccessor,ObjectPersistenceRuntimeXMLProject_11_1_1.IsSetNullPolicyIsSetParametersAttributeAccessor,ObjectPersistenceRuntimeXMLProject_11_1_1.IsSetNullPolicyIsSetParameterTypesAttributeAccessor,ObjectPersistenceRuntimeXMLProject_11_1_1.NullPolicyAttributeAccessor,PersistenceObjectAttributeAccessor,ValuesAccessor,VirtualAttributeAccessor
public interface CoreAttributeAccessorINTERNAL A abstraction of attribute accessor capturing behavior common to all persistence types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getAttributeClass()Return the class type of the attribute.StringgetAttributeName()INTERNAL: Return the attribute name.ObjectgetAttributeValueFromObject(Object object)Return the attribute value from the object.voidinitializeAttributes(Class<?> descriptorClass)Allow any initialization to be performed with the descriptor class.booleanisInstanceVariableAttributeAccessor()booleanisMethodAttributeAccessor()booleanisWriteOnly()INTERNAL:voidsetAttributeValueInObject(Object object, Object value)Set the attribute value into the object.voidsetIsReadOnly(boolean aBoolean)INTERNALvoidsetIsWriteOnly(boolean aBoolean)
-
-
-
Method Detail
-
getAttributeClass
Class<?> getAttributeClass()
Return the class type of the attribute.
-
getAttributeName
String getAttributeName()
INTERNAL: Return the attribute name.
-
getAttributeValueFromObject
Object getAttributeValueFromObject(Object object)
Return the attribute value from the object.
-
initializeAttributes
void initializeAttributes(Class<?> descriptorClass) throws DescriptorException
Allow any initialization to be performed with the descriptor class.- Throws:
DescriptorException
-
isInstanceVariableAttributeAccessor
boolean isInstanceVariableAttributeAccessor()
-
isMethodAttributeAccessor
boolean isMethodAttributeAccessor()
-
isWriteOnly
boolean isWriteOnly()
INTERNAL:
-
setAttributeValueInObject
void setAttributeValueInObject(Object object, Object value)
Set the attribute value into the object.
-
setIsReadOnly
void setIsReadOnly(boolean aBoolean)
INTERNAL
-
setIsWriteOnly
void setIsWriteOnly(boolean aBoolean)
-
-