com.sybase.uep.bobclient.data
Class InvisibleSPMBOModel

java.lang.Object
  extended by com.sybase.uep.bobclient.data.CommonMBOModel
      extended by com.sybase.uep.bobclient.data.MBOModel
          extended by com.sybase.uep.bobclient.data.SPMBOModel
              extended by com.sybase.uep.bobclient.data.InvisibleSPMBOModel

public class InvisibleSPMBOModel
extends SPMBOModel

If the structure parameter is flatten by ET, then it is invisible in BOB. However, device still need its model to manipulate its instances. We call them InvisibleSPMBOModel

Author:
haowang

Field Summary
 
Fields inherited from class com.sybase.uep.bobclient.data.SPMBOModel
CREATE_OP, DELETE_OP, UPDATE_OP
 
Fields inherited from class com.sybase.uep.bobclient.data.CommonMBOModel
_databaseMetaData, _log, _mboApp, _metaData, KEY, PENDING_OP_SCOPE_MBO, PENDING_OP_SCOPE_PACKAGE, PENDING_OP_SCOPE_SYNCGROUP, SYNCHRONIZATION_NORMAL, SYNCHRONIZATION_NOTIFICATION
 
Constructor Summary
InvisibleSPMBOModel(java.lang.String packageName, java.lang.String className)
          There is a kind of Structure parameter class that is invisible from user or BOB.
 
Method Summary
 java.lang.String getPackageName()
          Return the package name
protected  ReflectionManager getReflectionManager()
          Override the super because there is no _mboApp instances for invisible structure parameter mbo model
 
Methods inherited from class com.sybase.uep.bobclient.data.SPMBOModel
cancelPending, cancelPendingObjects, doPersist, find, findAll, findNamedQuery, getParameterMaxLength, getPendingObjects, getProfileRefID, getRelationshipDataFilterBy, getSize, getSK, getSynchronizationGroup, getSyncParameter, invoke, isDeleted, isDirty, isNew, isOtherCalled, isSynchronized, namedQueryChanged, namedQueryInitialized, readPersistentData, refresh, saveUpdate, setData, setData, submitPendingObjects, synchronize
 
Methods inherited from class com.sybase.uep.bobclient.data.MBOModel
clearSyncParameter, currentSelectChanged, deleteFromModel, getLastOperation, getLogs, getOtherOperationModel, getOtherOperationModelTable, getRelationshipData, getValue, newMBOInstance, parentSelectChanged, relationshipChanged, setValue, size, submitPending
 
Methods inherited from class com.sybase.uep.bobclient.data.CommonMBOModel
addModelChangeListener, deleteDatabase, fireModelChanged, fireSyncEvent, fireSyncEvent, getDataType, getID, getLastSynchronized, getLogger, getLogs, getMetaData, getName, getSynchronizationGroup, getSynchronizationProfile, getSynchronizationProfile, getType, invoke, loginToSync, registerCallbackHandler, removeModelChangeListener, startBackgroundSynchronization, startBackgroundSynchronization, submitPendingOperations, submitPendingOperations, synchronize, synchronize, syncSyncGroup, syncSyncGroupNoSubmit, uploadLogs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvisibleSPMBOModel

public InvisibleSPMBOModel(java.lang.String packageName,
                           java.lang.String className)
There is a kind of Structure parameter class that is invisible from user or BOB. ET flatten its leaf node and pass them to BOB as an array of scalar type parameter. However, device need to access to the structure parameter since Object API will still accept it as input parameter instead of flatten ones. So for this kind of structure parameter, there is no id stored in BOB file, we need to create the model based on it's package name and parameter name.

Parameters:
packageName -
mboName -
Method Detail

getReflectionManager

protected ReflectionManager getReflectionManager()
Override the super because there is no _mboApp instances for invisible structure parameter mbo model

Overrides:
getReflectionManager in class MBOModel
Returns:

getPackageName

public java.lang.String getPackageName()
Return the package name

Overrides:
getPackageName in class SPMBOModel
Returns: