|
SAP NetWeaver 2004S SPS 09 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents the metadata of an instance of 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.
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 |
public ICMIModelClassInfo getElementModelClassInfo()
null is
returned.
There may be several different reasons, why null is returned:
- model implementation doesn't provide meta info for classes at all
- model implementation didn't implement this method (as it is optional)
- a model implementation doesn't know a meta info that is
valid for all elements in the collection.
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"
(eg. describing a common baseclass).
|
SAP NetWeaver 2004S SPS 09 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||