SAP NetWeaver 7.1 Composition Environment

com.sap.tc.cmi.metadata
Interface ICMIModelObjectCollectionInfo

All Superinterfaces:
ICMIAbstractInfo

public interface ICMIModelObjectCollectionInfo
extends ICMIAbstractInfo

Metadata of an ICMIModelObjectCollection at runtime. Implementing this class and providing instances of this class for each model object collection is optional for a model implementation. This type can be called, extendeded or implemented by applications or frameworks using CMI.

Since:
6.30 Beta 3

Type Classification Type Classification:

This interface is part of the Common Model Interface and is intended to be implemented by applications.


Method Summary
 ICMIModelClassInfo getElementModelClassInfo()
          Returns meta info that describes the elements of the collection.
 
Methods inherited from interface com.sap.tc.cmi.metadata.ICMIAbstractInfo
addSupportedOption, getName, getSetting, getSettings, setSetting, supportedOptions, supports
 

Method Detail

getElementModelClassInfo

ICMIModelClassInfo getElementModelClassInfo()
Returns meta info that describes the elements of the collection. If there is no such meta info available, null is returned.

There may be several different reasons, why null is returned:

The only guarantee is, that if a model class info is returned, all elements in the collection must be compatible with that meta info. That is an element may either implement IWDGenericModelClass and provide access to all attributes and roles described in the class meta info or an element may be a typed model class with typed accessors for all these attributes and roles. Both cases can even occur in a single collection.

A first class model implementation should always return a model class info for collections with a single type of elements. For collections that contain multiple types of elements, it should provide meta info describing the "greatest common denominator" (e.g. describing a common baseclass).


SAP NetWeaver 7.1 Composition Environment

Copyright © 2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.