com.sybase.uep.bobclient.data
Class RIMPersistableObject

java.lang.Object
  extended by com.sybase.uep.bobclient.data.RIMPersistableObject
All Implemented Interfaces:
net.rim.device.api.util.Persistable
Direct Known Subclasses:
RIMClientProfile, RIMClientProfileList, RIMClientSecurityToken, RIMLinkParamNode, RIMMBOMobileApplication, RIMMBOMobileApplicationList, RIMSettings, RIMSynchronizationGroup, RIMSynchronizationGroupList, RIMVariableObject, RIMVariables

public abstract class RIMPersistableObject
extends java.lang.Object
implements net.rim.device.api.util.Persistable

Defines the base class for all our persistable objects. By using the base class we have a bit of an escape hatch in that if later on we choose to modify a class we can always do it by setting properties instead of by defining new instance data members. This will let us remain compatible with objects already persisted on the device.


Constructor Summary
protected RIMPersistableObject()
           
 
Method Summary
protected  boolean getBooleanProperty(java.lang.String name, boolean defVal)
           
protected  java.util.Hashtable getProperties()
           
protected  java.lang.Object getProperty(java.lang.String name, java.lang.Object defVal)
           
protected  java.lang.String getStringProperty(java.lang.String name, java.lang.String defVal)
           
protected  void setProperty(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RIMPersistableObject

protected RIMPersistableObject()
Method Detail

getProperties

protected java.util.Hashtable getProperties()

getBooleanProperty

protected boolean getBooleanProperty(java.lang.String name,
                                     boolean defVal)

getProperty

protected java.lang.Object getProperty(java.lang.String name,
                                       java.lang.Object defVal)

getStringProperty

protected java.lang.String getStringProperty(java.lang.String name,
                                             java.lang.String defVal)

setProperty

protected void setProperty(java.lang.String name,
                           java.lang.Object value)