CMI documentation

com.sap.tc.cmi.metadata
Interface ICMIRelationRoleInfo

All Superinterfaces:
ICMIAbstractInfo

public interface ICMIRelationRoleInfo
extends ICMIAbstractInfo

represents the metadats of a model relation role at runtime This type can be called, extended or implemented by applications or frameworks using CMI.

Version:
$Id: //tc/CommonModelInterface/630_VAL_REL/src/_cmi_api/java/com/sap/tc/cmi/metadata/ICMIRelationRoleInfo.java#1 $

Method Summary
 CMICardinality getCardinality()
          returns the cardinality of the role according the defined CARDINALITY...
 ICMIModelClassInfo getModelClassInfo()
          returns the model class info of the model class, to which the role belongs
 ICMIRelationInfo getModelRelationInfo()
          returns the corresponing relation info or null, if this method is not supported.
 ICMIRelationRoleInfo getOtherRoleInfo()
          returns the other role.
 boolean isAggregation()
          returns true, if role is a aggregating role
 boolean isNavigable()
          returns true, if role is navigable
 boolean isReadOnly()
          returns true, if role is read only and can not be modified at runtime by a Web Dynpro component or the framework.
 
Methods inherited from interface com.sap.tc.cmi.metadata.ICMIAbstractInfo
addSupportedOption, getName, getSetting, getSettings, setSetting, supportedOptions, supports
 

Method Detail

getModelClassInfo

public ICMIModelClassInfo getModelClassInfo()
returns the model class info of the model class, to which the role belongs

getOtherRoleInfo

public ICMIRelationRoleInfo getOtherRoleInfo()
returns the other role. If this is the source role info, the target role info is returned and vice versa. An implementation can derive this information from the corresponding relation info or from a source role : target role association.

getModelRelationInfo

public ICMIRelationInfo getModelRelationInfo()
returns the corresponing relation info or null, if this method is not supported. So model implementations, which have difficulties to supply relation info,can implement this method with return null;

getCardinality

public CMICardinality getCardinality()
returns the cardinality of the role according the defined CARDINALITY... constants.
See Also:
CMICardinality

isReadOnly

public boolean isReadOnly()
returns true, if role is read only and can not be modified at runtime by a Web Dynpro component or the framework.

isAggregation

public boolean isAggregation()
returns true, if role is a aggregating role

isNavigable

public boolean isNavigable()
returns true, if role is navigable

CMI documentation

Copyright © 2002 SAP AG. Automatically generated Thu Mar 3 2005, 21:53