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.

See Also:
ICMIModelInfo, ICMIModelClassInfo, ICMIModelClassPropertyInfo, ICMIRelationInfo, ICMIRelationRoleInfo

Type Classification Type Classification:

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


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

Method Detail

getName

public 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,
                       String value)
set the setting of the given settingDef to the given value.


getSettings

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


supports

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


supportedOptions

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


addSupportedOption

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



Copyright 2006 SAP AG Complete Copyright Notice