IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid.plugins
ValueProxyInfo



This interface can be used by Value objects to inform the BackingMap which attributes have been dirtied. This allows the BackingMap and Loader to interrogate the set of changed attributes in the Value instead of just assuming the whole Value object has been updated. For this to be useful, the application must only use the getter and setter methods defined for the Value's interface.


Method Summary
public  ListibmGetDirtyAttributes()
           This method will return a list of dirty attributes based on the value interface set on the map.
public  ObjectibmGetRealValue()
           Returns the real value object this proxy is for. Needed.
public  voidibmClearDirtyAttributes()
           This method clears the list of dirty attributes.

Method Detail

ibmGetDirtyAttributes

public List ibmGetDirtyAttributes()
This method will return a list of dirty attributes based on the value interface set on the map. The attribute name is always starts with an upper case letter. For example, if the setter for the attribute is setPrice then 'Price' is the string returned here. The runtime uses the substring(3) of the setter method name as the attribute name.


Returns:
     List of attribute names (Strings)


ibmGetRealValue

public Object ibmGetRealValue()
Returns the real value object this proxy is for. Needed internally by BaseMap when it needs to return a separate proxy for each transaction.


Returns:
     actual value object.


ibmClearDirtyAttributes

public void ibmClearDirtyAttributes()
This method clears the list of dirty attributes.


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1