com.sap.tc.cmi.metadata

Interface ICMIRelationInfo

All Superinterfaces:
ICMIAbstractInfo

public interface ICMIRelationInfo
extends ICMIAbstractInfo

Represents the metadata of a model relation at runtime. CMI clients must be able to work with a model that does not provide an implementation of this interface as long as the appropriate relation role infos are available at runtime.

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
 ICMIModelInfo getModelInfo()
          Returns the model info of the model to which this relation belongs.
 Collection getRoleInfos()
          Returns a collection with the role infos of two relation roles which belong to the relation.
 
Methods inherited from interface com.sap.tc.cmi.metadata.ICMIAbstractInfo
addSupportedOption, getName, getSetting, getSettings, setSetting, supportedOptions, supports
 

Method Detail

getModelInfo

ICMIModelInfo getModelInfo()
Returns the model info of the model to which this relation belongs.


getRoleInfos

Collection getRoleInfos()
Returns a collection with the role infos of two relation roles which belong to the relation. The collection should be immutable.

Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/cmi
[sap.com] FRAMEWORK [sap.com] tc/cm/ejb/api


Copyright 2010 SAP AG Complete Copyright Notice