CMI documentation

com.sap.tc.cmi.metadata
Interface ICMIAbstractInfo

All Known Subinterfaces:
ICMIModelClassInfo, ICMIModelClassPropertyInfo, ICMIModelInfo, ICMIModelObjectCollectionInfo, ICMIRelationInfo, ICMIRelationRoleInfo

public interface ICMIAbstractInfo

Represents an common super interface for runtime meta data of a model element. It is therefore extended by ICMIModelInfo, ICMIModelClassInfo, ICMIModelClassPropertyInfo, ICMIRelationInfo and ICMIRelationRoleInfo. This type can be called, extendeded or implemented by applications or frameworks using CMI.

Version:
$Id: //tc/CommonModelInterface/630_VAL_REL/src/_cmi_api/java/com/sap/tc/cmi/metadata/ICMIAbstractInfo.java#1 $
See Also:
ICMIModelInfo, ICMIModelClassInfo, ICMIModelClassPropertyInfo, ICMIRelationInfo, ICMIRelationRoleInfo

Method Summary
 void addSupportedOption(java.lang.String option)
          adds option to the supported options of the model element.
 java.lang.String getName()
          returns the name of the metadata entity.
 CMISetting getSetting(CMISettingDefinition settingDef)
          returns the setting of the given settingDef.
 java.util.Map getSettings()
          returns a map with all actual settings.
 void setSetting(CMISettingDefinition settingDef, java.lang.String value)
          set the setting of the given settingDef to the given value.
 java.util.Collection supportedOptions()
          returns a collection of all supported options.
 boolean supports(java.lang.String option)
          returns true, if the given option is supported by the model element
 

Method Detail

getName

public java.lang.String getName()
returns the name of the metadata entity.

getSetting

public CMISetting getSetting(CMISettingDefinition settingDef)
returns the setting of the given settingDef.

setSetting

public void setSetting(CMISettingDefinition settingDef,
                       java.lang.String value)
set the setting of the given settingDef to the given value.

getSettings

public java.util.Map getSettings()
returns a map with all actual settings. The map must be immutable.

supports

public boolean supports(java.lang.String option)
returns true, if the given option is supported by the model element

supportedOptions

public java.util.Collection supportedOptions()
returns a collection of all supported options. The collection must be immutable.

addSupportedOption

public void addSupportedOption(java.lang.String option)
adds option to the supported options of the model element.

CMI documentation

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