com.sap.tc.cmi.model

Interface ICMIModelClass

All Known Subinterfaces:
ICMIGenericModelClass, ICMIGenericModelClass02, ICMIModelClassWrapper, ICMIObservableModelClass, ICMIQuery, ICMISortableQuery

public interface ICMIModelClass

Represents a Model class in a Model. The Model class could be generic or typed. Note that for typed Models an implementation doesn't have to implement this interface, since frameworks rely on naming conventions for typed access methods in this case also.

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
 ICMIModel associatedModel()
          Returns the model to which this ModelClass instance is associated.
 ICMIModelClassInfo associatedModelClassInfo()
          Returns the metadata, i.e. an object of type ICMIModelClassInfo, corresponding to this model class.
 

Method Detail

associatedModel

ICMIModel associatedModel()
Returns the model to which this ModelClass instance is associated.

Returns:
ICMIModel of this ModelClass

associatedModelClassInfo

ICMIModelClassInfo associatedModelClassInfo()
Returns the metadata, i.e. an object of type ICMIModelClassInfo, corresponding to this model class. Typed model implementations may return an object of type ICMIModelClassInfo or null here, whereas each implementation of a generic model (that means each implementation of ICMIGenericModelClass has to support this method and must not return null.

Returns:
ICMIModelClassInfo of this ModelClass
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