com.sap.tc.cmi.model

Interface ICMIModelObjectCollection

All Superinterfaces:
Collection, Iterable
All Known Subinterfaces:
ICMIModelObjectCollection02

public interface ICMIModelObjectCollection
extends Collection

Represents a collection of instances of model classes in a model. The model classes can be typed or generic and a single collection can contain instances of multiple classes.

Implementing this interface is optional for a model implementation.

Note that without further information, no type other than java.lang.Object can be assumed for the elements of a model object collection, as typed model classes don't have to implement any specific interface.

This type can be called, extended or implemented by applications or frameworks using CMI.

Type Classification Type Classification:

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


Method Summary
 ICMIModelObjectCollectionInfo associatedModelObjectCollectionInfo()
          Returns the ICMIModelObjectCollectionInfo meta data, describing this model collection.
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

associatedModelObjectCollectionInfo

ICMIModelObjectCollectionInfo associatedModelObjectCollectionInfo()
Returns the ICMIModelObjectCollectionInfo meta data, describing this model collection. If no such metadata is available, null must be returned. If a model class info is returned, then all elements of the collection must be compatible with that type. See ICMIModelClassInfo for a discussion of compatibility.

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] FRAMEWORK [sap.com] tc/cm/ejb/api api BC-JAS-EJB
[sap.com] FRAMEWORK [sap.com] tc/cmi default BC-WD-JAV-RUN


Copyright 2014 SAP AG Complete Copyright Notice