|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Registry for managing Model classes by Key. Provides a registry for model classes as well as a finder service for model class instances.
| Method Summary | |
com.sap.tc.cmi.model.ICMIModelClass |
lookup(java.lang.Object key,
java.lang.String extent)
Lookups the ModelClass Instance with the key given in the extent If an instance already exists under this key/extent, the old value is replaced and returned, otherwise null is returned. |
com.sap.tc.cmi.model.ICMIModelClass |
register(java.lang.Object key,
java.lang.String extent,
com.sap.tc.cmi.model.ICMIModelClass instance)
Registers the ModelClass Instance with the key given If an instance already exists under this key, the old value is replaced and returned, otherwise null is returned. |
com.sap.tc.cmi.model.ICMIModelClass |
unregister(java.lang.Object key,
java.lang.String extent)
Unregisters the Instance registered under the key given and returns the previously registered instance (or null if no instance was registered) |
void |
unregisterAll()
unregisters all ModelClass Instances registered with this model |
| Method Detail |
public com.sap.tc.cmi.model.ICMIModelClass register(java.lang.Object key,
java.lang.String extent,
com.sap.tc.cmi.model.ICMIModelClass instance)
key - key with which the ModelClass instance is to be registered.extent - name of extent or collection within which to unregister
the instance associated with this keyinstance - ModelClass instance to be registered.
public com.sap.tc.cmi.model.ICMIModelClass unregister(java.lang.Object key,
java.lang.String extent)
key - key to be unregistered.extent - name of extent or collection within which to unregister
the instance associated with this key
public com.sap.tc.cmi.model.ICMIModelClass lookup(java.lang.Object key,
java.lang.String extent)
key - key with which the ModelClass instance is to be registered.extent - name of extent or collection within which to unregister
the instance associated with this keyinstance - ModelClass instance to be registered.public void unregisterAll()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||