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, setSetMethodName
clone, getAttributeName, isInstanceVariableAttributeAccessor, isMapValueAttributeAccessor, isReadOnly, isValuesAccessor, isWriteOnly, setAttributeName, setIsReadOnly, setIsWriteOnly
public java.lang.Object getAttributeValueFromObject(java.lang.Object anObject) throws DescriptorException
getAttributeValueFromObject
in interface CoreAttributeAccessor
getAttributeValueFromObject
in class MethodAttributeAccessor
DescriptorException
public java.lang.Class getGetMethodReturnType()
getGetMethodReturnType
in class MethodAttributeAccessor
public java.lang.Class getSetMethodParameterType()
getSetMethodParameterType
in class MethodAttributeAccessor
public void initializeAttributes(java.lang.Class theJavaClass) throws DescriptorException
initializeAttributes
in interface CoreAttributeAccessor
initializeAttributes
in class MethodAttributeAccessor
DescriptorException
public boolean isVirtualAttributeAccessor()
isVirtualAttributeAccessor
in class AttributeAccessor
public void setAttributeValueInObject(java.lang.Object domainObject, java.lang.Object attributeValue) throws DescriptorException
setAttributeValueInObject
in interface CoreAttributeAccessor
setAttributeValueInObject
in class MethodAttributeAccessor
DescriptorException
public void setValueType(java.lang.Class value)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference