Web Dynpro API Documentation

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

All Superinterfaces:
com.sap.tc.cmi.model.ICMIModel
All Known Subinterfaces:
IWDDynamicRFCModel

public interface IWDModel
extends com.sap.tc.cmi.model.ICMIModel

WebDynpro specific subinterface of CMIModel that knows about model scopes and model instance IDs.

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

Method Summary
 java.lang.String getModelInstanceId()
          Gets the instance ID of this model instance This instance ID allows having more than one instance of a model within a single scope.
 WDModelScopeType getModelScope()
          Gets the scope in which this model is managed which defines the maximum lifespan of this model instance e.g.
 
Methods inherited from interface com.sap.tc.cmi.model.ICMIModel
associatedModelInfo, createModelObject, createModelObject
 

Method Detail

getModelScope

public WDModelScopeType getModelScope()
Gets the scope in which this model is managed which defines the maximum lifespan of this model instance e.g. returning WDModelScopeType.APPLICATION_SCOPE means that this model instance can live at most as long as the current Application
Returns:
the scope in which this model is managed

getModelInstanceId

public java.lang.String getModelInstanceId()
Gets the instance ID of this model instance This instance ID allows having more than one instance of a model within a single scope. In case no specific Id was used, the model's fully qualified class name is returned.
Returns:
the modelInstanceId of this model instance

Web Dynpro API Documentation

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