atg.beans
Class DynamicBeanStateMapper
java.lang.Object
atg.beans.DynamicBeanStateMapper
- All Implemented Interfaces:
- DynamicPropertyMapper
public class DynamicBeanStateMapper
- extends java.lang.Object
- implements DynamicPropertyMapper
Implementation of DynamicPropertyMapper that can work with a
DynamicBeanState.
Method Summary |
DynamicBeanInfo |
getBeanInfo(java.lang.Object pBean)
Gets a DynamicBeanInfo that describes the given dynamic bean. |
java.lang.Object |
getPropertyValue(java.lang.Object pBean,
java.lang.String pPropertyName)
Gets the value of the dynamic property from the specified object. |
void |
setPropertyValue(java.lang.Object pBean,
java.lang.String pPropertyName,
java.lang.Object pValue)
Sets the value of the dynamic property from the specified object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
DynamicBeanStateMapper
public DynamicBeanStateMapper()
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.Object pBean,
java.lang.String pPropertyName)
throws PropertyNotFoundException
- Gets the value of the dynamic property from the specified object.
- Specified by:
getPropertyValue
in interface DynamicPropertyMapper
- Throws:
PropertyNotFoundException
setPropertyValue
public void setPropertyValue(java.lang.Object pBean,
java.lang.String pPropertyName,
java.lang.Object pValue)
- Sets the value of the dynamic property from the specified object.
- Specified by:
setPropertyValue
in interface DynamicPropertyMapper
getBeanInfo
public DynamicBeanInfo getBeanInfo(java.lang.Object pBean)
throws java.beans.IntrospectionException
- Gets a DynamicBeanInfo that describes the given dynamic bean.
- Specified by:
getBeanInfo
in interface DynamicPropertyMapper
- Returns:
- the DynamicBeanInfo describing the bean.
- Throws:
java.beans.IntrospectionException
- if no information is available.