public class VirtualAttributeAccessor extends MethodAttributeAccessor
| Constructor and Description |
|---|
VirtualAttributeAccessor() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttributeValueFromObject(java.lang.Object anObject)
Gets the value of an instance variable in the object.
|
java.lang.Class |
getGetMethodReturnType()
Return the method return type.
|
java.lang.Class |
getSetMethodParameterType()
Return the set method parameter type.
|
void |
initializeAttributes(java.lang.Class theJavaClass)
Set get and set method after creating these methods by using
get and set method names
|
boolean |
isVirtualAttributeAccessor() |
void |
setAttributeValueInObject(java.lang.Object domainObject,
java.lang.Object attributeValue)
Sets the value of the instance variable in the object to the value.
|
void |
setValueType(java.lang.Class value)
Override the class of the values being stored.
|
getAttributeClass, getGetMethod, getGetMethodName, getSetMethodName, isInitialized, isMethodAttributeAccessor, setGetMethodName, setSetMethodNameclone, getAttributeName, isInstanceVariableAttributeAccessor, isMapValueAttributeAccessor, isReadOnly, isValuesAccessor, isWriteOnly, setAttributeName, setIsReadOnly, setIsWriteOnlypublic java.lang.Object getAttributeValueFromObject(java.lang.Object anObject)
throws DescriptorException
getAttributeValueFromObject in interface CoreAttributeAccessorgetAttributeValueFromObject in class MethodAttributeAccessorDescriptorExceptionpublic java.lang.Class getGetMethodReturnType()
getGetMethodReturnType in class MethodAttributeAccessorpublic java.lang.Class getSetMethodParameterType()
getSetMethodParameterType in class MethodAttributeAccessorpublic void initializeAttributes(java.lang.Class theJavaClass)
throws DescriptorException
initializeAttributes in interface CoreAttributeAccessorinitializeAttributes in class MethodAttributeAccessorDescriptorExceptionpublic boolean isVirtualAttributeAccessor()
isVirtualAttributeAccessor in class AttributeAccessorpublic void setAttributeValueInObject(java.lang.Object domainObject,
java.lang.Object attributeValue)
throws DescriptorException
setAttributeValueInObject in interface CoreAttributeAccessorsetAttributeValueInObject in class MethodAttributeAccessorDescriptorExceptionpublic void setValueType(java.lang.Class value)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference