| Modifier and Type | Field and Description |
|---|---|
| private Class |
| Access | Constructor and Description |
|---|---|
| public |
| valueType | back to summary |
|---|---|
| private Class<?> valueType | |
| VirtualAttributeAccessor | back to summary |
|---|---|
| public VirtualAttributeAccessor() | |
| getAttributeValueFromObject | back to summary |
|---|---|
| public Object getAttributeValueFromObject(Object anObject) throws DescriptorException Overrides org. Implements org. Gets the value of an instance variable in the object.
| |
| getGetMethodReturnType | back to summary |
|---|---|
| public Class Overrides org. Return the method return type. In a name access usage the return type currently must be Object.class.
| |
| getSetMethodParameterType | back to summary |
|---|---|
| public Class Overrides org. Return the set method parameter type. In a name access usage there must be an extra String parameter along with the Object.class type so we must check and return a different index from the parameter types.
| |
| getSetMethodParameterTypes | back to summary |
|---|---|
| protected Class Overrides org. Return the set method parameter types.
| |
| initializeAttributes | back to summary |
|---|---|
| public void initializeAttributes(Class<?> theJavaClass) throws DescriptorException Overrides org. Implements org. Set get and set method after creating these methods by using get and set method names
| |
| isVirtualAttributeAccessor | back to summary |
|---|---|
| public boolean isVirtualAttributeAccessor() Overrides org.
| |
| setAttributeValueInObject | back to summary |
|---|---|
| public void setAttributeValueInObject(Object domainObject, Object attributeValue) throws DescriptorException Overrides org. Implements org. Sets the value of the instance variable in the object to the value.
| |
| setValueType | back to summary |
|---|---|
| public void setValueType(Class<?> value) Override the class of the values being stored.
| |