com.sybase.uep.bobclient.data
Class MBOModelSyncParameters

java.lang.Object
  extended by com.sybase.uep.bobclient.data.MBOModelSyncParameters

public class MBOModelSyncParameters
extends java.lang.Object

MBOModelSyncParameters is the class that will contain all the synchronization parameters for a specific MBOModel. The values of the synchronization parameter can be retrieved and set here.

Author:
tdang

Constructor Summary
MBOModelSyncParameters(ReflectionManager rm, java.lang.Object syncParamObject)
          MBOModelSyncParameters constructor
 
Method Summary
 int getSyncParameterMaxLength(java.lang.String attributeName)
          Get synchronization parameter max length
 java.lang.Object getSyncParameterValue(java.lang.String attributeName)
          Get the synchronization parameter value
 void save()
          Save the synchronization parameters
 void setSyncParameterValue(java.lang.String attributeName, java.lang.Object value)
          Set the synchronization parameter value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBOModelSyncParameters

public MBOModelSyncParameters(ReflectionManager rm,
                              java.lang.Object syncParamObject)
MBOModelSyncParameters constructor

Parameters:
rm - - reflectioin manager used to retrieve data
syncParamObject - - synchronization parameter object
Method Detail

getSyncParameterValue

public java.lang.Object getSyncParameterValue(java.lang.String attributeName)
Get the synchronization parameter value

Parameters:
attributeName - - attribute name of the synchronization parameter
Returns:
Object value of the sync parameter

setSyncParameterValue

public void setSyncParameterValue(java.lang.String attributeName,
                                  java.lang.Object value)
Set the synchronization parameter value

Parameters:
attributeName - - attribute name of the synchronization parameter
value - - new synchronization parameter value

getSyncParameterMaxLength

public int getSyncParameterMaxLength(java.lang.String attributeName)
Get synchronization parameter max length

Parameters:
attributeName - - attribute name of the synchronization parameter
Returns:
int value of the max length

save

public void save()
Save the synchronization parameters