Interface CoreAttributeAccessor
-
- All Known Implementing Classes:
AttributeAccessor
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 java.lang.ClassgetAttributeClass()Return the class type of the attribute.java.lang.StringgetAttributeName()INTERNAL: Return the attribute name.java.lang.ObjectgetAttributeValueFromObject(java.lang.Object object)Return the attribute value from the object.voidinitializeAttributes(java.lang.Class descriptorClass)Allow any initialization to be performed with the descriptor class.booleanisInstanceVariableAttributeAccessor()booleanisMethodAttributeAccessor()booleanisWriteOnly()INTERNAL:voidsetAttributeValueInObject(java.lang.Object object, java.lang.Object value)Set the attribute value into the object.voidsetIsReadOnly(boolean aBoolean)INTERNALvoidsetIsWriteOnly(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 DescriptorExceptionAllow any initialization to be performed with the descriptor class.- Throws:
DescriptorException
-
isInstanceVariableAttributeAccessor
boolean isInstanceVariableAttributeAccessor()
-
isMethodAttributeAccessor
boolean isMethodAttributeAccessor()
-
isWriteOnly
boolean isWriteOnly()
INTERNAL:- Returns:
-
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)
-
-