Web Dynpro API Documentation

com.sap.tc.webdynpro.progmodel.model.api
Interface IWDModelClassRegistrable

All Known Subinterfaces:
IWDDynamicRFCModelClass

public interface IWDModelClassRegistrable

Model Classes implementing this interface can be registered by key with their corresponding model.

Version:
$Id: //tc/WebDynproRuntime/630_VAL_REL/src/_webdynpro_progmodel/java/com/sap/tc/webdynpro/progmodel/model/api/IWDModelClassRegistrable.java#1 $

Method Summary
 com.sap.tc.cmi.model.ICMIModelClass register(java.lang.Object key)
          Registers this ModelClass Instance with its associated model under the key given If an instance already exists under this key, the old value is replaced.
 com.sap.tc.cmi.model.ICMIModelClass unregister(java.lang.Object key)
          Unregisters this ModelClass Instance with its model under the key given If this instance was not already registered under this name, then the currently registered value is returned, otherwise null.
 

Method Detail

register

public com.sap.tc.cmi.model.ICMIModelClass register(java.lang.Object key)
Registers this ModelClass Instance with its associated model under the key given If an instance already exists under this key, the old value is replaced.
Parameters:
key - key with which this ModelClass instance is to be associated.
Returns:
previous value associated with specified key, or null if there was no mapping for key.

unregister

public com.sap.tc.cmi.model.ICMIModelClass unregister(java.lang.Object key)
Unregisters this ModelClass Instance with its model under the key given If this instance was not already registered under this name, then the currently registered value is returned, otherwise null.
Parameters:
key - key with which this ModelClass instance is no longer to be associated.
Returns:
current value associated with specified key if a different object was registered, or null if this object could be successfully unregistered.

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15