de.mid.innovator.srv2api.icw2meta
Interface MM2Class

All Superinterfaces:
ADClientAble, ADM2AttrModifyAble, ELClassifier, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELM2Class, ELM2Type, ELNamedElement, ELNamespaceAble, ELNamespaceAsgnAble, ELObject, ELPackageAble, ELRedefAble, ELType, ELUUIDAble, MM2Classification, MM2Type, MMLocalizedPropertyAble, MMMetaCommentAble, MMMetamodelElement
All Known Subinterfaces:
MM2Association

public interface MM2Class
extends ELUUIDAble, ELM2Class, MM2Classification, MM2Type


Nested Class Summary
static class MM2Class.VAttr
           
 
Method Summary
 List<MMFilter> filter(K_CONTROL_OPTION... behaviourFlags)
          All filters defined for this meta class.
<T extends MM2Class>
List<T>
getClassesOfViewAttr(Class<T> returnType, MM2Attribute refObj, K_CONTROL_OPTION... behaviourFlags)
          Returns not abstract specializations (transitive) of classes given by argument refObj.
 List<MESection> getClassSection()
          All sections where elements of this meta class are allowed as part.
 List<MMFormatRuleSetOfClass> getFormatRuleSet(K_CONTROL_OPTION... behaviourFlags)
          All format rule sets of this metaclass.
 List<MMAddItem> getOwnedAddItem(K_CONTROL_OPTION... behaviourFlags)
          The add item owned by this class.
 List<MM2Attribute> getOwnedAndInheritedConfigAbleAssocEnd(K_CONTROL_OPTION... behaviourFlags)
          All meta attributes which are owned or inherited by this meta class and represent a relationship which may be configured.
 List<MM2Attribute> getOwnedAndInheritedInverseAssocEnd(boolean kind, K_CONTROL_OPTION... behaviourFlags)
          All meta attributes of this metaclass with property 'assignKind' equal to 'InverseAssocEnd'.
 List<MM2FontColor> getOwnedMetaFontColor(K_CONTROL_OPTION... behaviourFlags)
          All font/color types owned by this class.
 List<MM2Presentation> getOwnedMetaPresentation(K_CONTROL_OPTION... behaviourFlags)
          All presentation types owned by this class.
 List<MM2FormatRuleParameter> getOwnedRuleParameter(K_CONTROL_OPTION... behaviourFlags)
          All format rule parameters owned by this class.
 List<MMStereotype> getOwnedStereotype(K_CONTROL_OPTION... behaviourFlags)
          The stereotype owned by this metaclass.
<T extends ELProperty>
List<T>
getPropertyNavigableTo(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          Returns all navigable properties typed by this element.
<T extends ELProperty>
List<T>
getPropertyNavigableTo(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getPropertyNavigableTo and filters its return values according to the given stereotype value.
 List<MMStereotype> getStereotype(K_CONTROL_OPTION... behaviourFlags)
          All stereotypes of this class.
<T extends ELType>
List<T>
getStereotypeAblesOfAssocEndRange(Class<T> returnType, ELProperty refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags)
          Returns not abstract specializations (transitive) of MMStereotypeAble types of properties subsetting the association end given by argument refObj.
<T extends ELType>
List<T>
getStereotypeAblesOfAssocEndRange(Class<T> returnType, MMStereotype stereotype, ELProperty refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags)
          The method calls getStereotypeAblesOfAssocEndRange and filters its return values according to the given stereotype value.
<T extends ELType>
List<T>
getTypesOfAssocEndRange(Class<T> returnType, ELProperty refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags)
          Returns not abstract specializations (transitive) of types of properties subsetting the association end given by argument refObj.
<T extends ELType>
List<T>
getTypesOfAssocEndRange(Class<T> returnType, MMStereotype stereotype, ELProperty refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags)
          The method calls getTypesOfAssocEndRange and filters its return values according to the given stereotype value.
 boolean isCTreeConfigAble(K_CTREE kind)
          True, if this metaclass is used in the part of the configuration editor specified by argument kind.
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getUUID, setUUID
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELM2Class
getCompartment, getHierarchicalMetaVerify, getInverseProperty, getInversePropertyDerivedRType, getInversePropertyNotDerivedRType, getMEModelElement, getOwnedAttribute, getPackage, getPRContext, getPRNodeOfModelElement, getPRNodeOfNode, getPropertiesByM2AttributeSet, getTypedValSpecElement, getTypedValSpecInstVal, getVerify, getVersionProperty, getVersionPropertyRsIn, getVersionPropertyRsOptional, getVersionPropertyRsOut, getVOcl, isConformToVOcl, isLocalizAbleM2Attr, isLocalizAbleVAttr, isStereotypeAble, isValidModelTarget
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MM2Classification
assignClassification, assignMenuItem, copyConstraintDlg, copyMenuDlg, getAllLabel, getAllowedMetaClassByAttribute, getAllowedStereotypeByAttribute, getAllText, getClassificationConstraint, getCopyConstraintDlgInit, getCopyMenuDlgInit, getDocumentAreaTextOfGeneralTransitive, getElementCreateRedirection, getEngineeringSequence, getFlowDocumentTextOfGeneralTransitive, getInverseClassificationConstraint, getInvisibleTypedElement, getLabel, getLabelOfGeneralTransitive, getMenu, getPackageCreateRedirection, getPresContentAbleMetaClass, getRootStereotype, getStereotypeHierarchyWithClass, getStereotypePropertyOfGeneralTransitive, getText, getTextOfGeneralTransitive, getVerifyClassification, setInvisibleTypedElement
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELClassifier
getAssociation, getAssociation, getAssociationEndFirstTypedBySelf, getAssociationEndFirstTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelf, getAssociationEndTypedBySelf, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationNavigableFrom, getAssociationNavigableFrom, getAssociationOfSelfOrGeneralTransitive, getAssociationOfSelfOrGeneralTransitive, getAssociationTypedBySelf, getAssociationTypedBySelf, getClassifierViewGroup, getEffectiveRedefinerOfAssocEnd, getEffectiveRedefinerOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getGeneralDirect, getGeneralDirect, getGeneralGeneralizationSet, getGeneralGeneralizationSet, getGeneralization, getGeneralTransitive, getGeneralTransitive, getItemDefinition, getOwnedAndInheritedMember, getOwnedAndInheritedMember, getPropertyNavigableFrom, getPropertyNavigableFrom, getPropertyNavigableFromSelfOrGeneralTransitive, getPropertyNavigableFromSelfOrGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitiveNotAbstract, getSelfAndSpecificTransitiveNotAbstract, getSpecialization, getSpecificDirect, getSpecificDirect, getSpecificGeneralization, getSpecificGeneralizationSet, getSpecificGeneralizationSet, getSpecificTransitive, getSpecificTransitive, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getTypedCLStructureEntry, getTypedMaskField, getTypesOfEffectiveSubsetterOfAssocEnd, getTypesOfEffectiveSubsetterOfAssocEnd, getViewTransitive, getViewTransitive, isAbstract, isRoot, isSpecificTransitive, setAbstract
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImport
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetaCommentAble
getDescription
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getLogic, getLogic, getPresentationContext, getSection
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLocalizedPropertyAble
getOwnedLocalizedProperty
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getCheckSetNotToLocalizeAttribute, getClientDependency, getNotToLocalizeAttribute, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedLocalizedValue, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, resetNotToLocalizeAttribute, setNotToLocalizeAttribute, sortContents
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MM2Type
getTypedM2Element
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELM2Type
getM2AttributeOfKind, getM2AttributeOfMode, getSchema, getTypedM2Attribute, getTypedValSpecNullValue, getTypedValSpecUnlimNatValue
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
 

Method Detail

filter

List<MMFilter> filter(K_CONTROL_OPTION... behaviourFlags)
                      throws InoNetException,
                             SrvErrorException
All filters defined for this meta class.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getClassesOfViewAttr

<T extends MM2Class> List<T> getClassesOfViewAttr(Class<T> returnType,
                                                  MM2Attribute refObj,
                                                  K_CONTROL_OPTION... behaviourFlags)
                                              throws InoNetException,
                                                     SrvErrorException
Returns not abstract specializations (transitive) of classes given by argument refObj. The derived unions and redefinition of subsetting properties is considered.

Parameters:
returnType - Specifies the type of elements to be returned.
refObj - A further instance of type MM2Attribute which is used to control the behaviour of the method. (see description above)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getClassSection

List<MESection> getClassSection()
                                throws InoNetException,
                                       SrvErrorException
All sections where elements of this meta class are allowed as part.

Throws:
InoNetException
SrvErrorException

getFormatRuleSet

List<MMFormatRuleSetOfClass> getFormatRuleSet(K_CONTROL_OPTION... behaviourFlags)
                                              throws InoNetException,
                                                     SrvErrorException
All format rule sets of this metaclass.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOwnedAddItem

List<MMAddItem> getOwnedAddItem(K_CONTROL_OPTION... behaviourFlags)
                                throws InoNetException,
                                       SrvErrorException
The add item owned by this class.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedAndInheritedConfigAbleAssocEnd

List<MM2Attribute> getOwnedAndInheritedConfigAbleAssocEnd(K_CONTROL_OPTION... behaviourFlags)
                                                          throws InoNetException,
                                                                 SrvErrorException
All meta attributes which are owned or inherited by this meta class and represent a relationship which may be configured.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOwnedAndInheritedInverseAssocEnd

List<MM2Attribute> getOwnedAndInheritedInverseAssocEnd(boolean kind,
                                                       K_CONTROL_OPTION... behaviourFlags)
                                                       throws InoNetException,
                                                              SrvErrorException
All meta attributes of this metaclass with property 'assignKind' equal to 'InverseAssocEnd'. If boolean argument kind is provided only attributes assigned to an association corresponding to a relationship type are returned.

Parameters:
kind - A value of type TBoolean that controls the behaviour of the underlying method. (see description)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getOwnedMetaFontColor

List<MM2FontColor> getOwnedMetaFontColor(K_CONTROL_OPTION... behaviourFlags)
                                         throws InoNetException,
                                                SrvErrorException
All font/color types owned by this class.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedMetaPresentation

List<MM2Presentation> getOwnedMetaPresentation(K_CONTROL_OPTION... behaviourFlags)
                                               throws InoNetException,
                                                      SrvErrorException
All presentation types owned by this class.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedRuleParameter

List<MM2FormatRuleParameter> getOwnedRuleParameter(K_CONTROL_OPTION... behaviourFlags)
                                                   throws InoNetException,
                                                          SrvErrorException
All format rule parameters owned by this class.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedStereotype

List<MMStereotype> getOwnedStereotype(K_CONTROL_OPTION... behaviourFlags)
                                      throws InoNetException,
                                             SrvErrorException
The stereotype owned by this metaclass.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getPropertyNavigableTo

<T extends ELProperty> List<T> getPropertyNavigableTo(Class<T> returnType,
                                                      K_CONTROL_OPTION... behaviourFlags)
                                                  throws InoNetException,
                                                         SrvErrorException
Returns all navigable properties typed by this element.

Parameters:
returnType - Specifies the type of elements to be returned.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getPropertyNavigableTo

<T extends ELProperty> List<T> getPropertyNavigableTo(Class<T> returnType,
                                                      MMStereotype stereotype,
                                                      K_CONTROL_OPTION... behaviourFlags)
                                                  throws InoNetException,
                                                         SrvErrorException
The method calls getPropertyNavigableTo and filters its return values according to the given stereotype value.

Parameters:
returnType - Specifies the type of elements to be returned.
stereotype - The stereotype used to filter the result list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getStereotype

List<MMStereotype> getStereotype(K_CONTROL_OPTION... behaviourFlags)
                                 throws InoNetException,
                                        SrvErrorException
All stereotypes of this class.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getStereotypeAblesOfAssocEndRange

<T extends ELType> List<T> getStereotypeAblesOfAssocEndRange(Class<T> returnType,
                                                             ELProperty refObj,
                                                             K_VATTR kind,
                                                             K_CONTROL_OPTION... behaviourFlags)
                                                         throws InoNetException,
                                                                SrvErrorException
Returns not abstract specializations (transitive) of MMStereotypeAble types of properties subsetting the association end given by argument refObj. The association end can alternatively be specified by argument kind. The derived unions and redefinition of subsetting properties are considered. The same set is evaluated for each type of the result considering the inverse property. If this classifier is contained in the inverse set, the type is kept in the result set.

Parameters:
returnType - Specifies the type of elements to be returned.
refObj - A further instance of type ELProperty which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
kind - A value of type K_VATTR that controls the behaviour of the underlying method. (see description) This parameter is optional. (Its value can be given as null.)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getStereotypeAblesOfAssocEndRange

<T extends ELType> List<T> getStereotypeAblesOfAssocEndRange(Class<T> returnType,
                                                             MMStereotype stereotype,
                                                             ELProperty refObj,
                                                             K_VATTR kind,
                                                             K_CONTROL_OPTION... behaviourFlags)
                                                         throws InoNetException,
                                                                SrvErrorException
The method calls getStereotypeAblesOfAssocEndRange and filters its return values according to the given stereotype value.

Parameters:
returnType - Specifies the type of elements to be returned.
stereotype - The stereotype used to filter the result list
refObj - A further instance of type ELProperty which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
kind - A value of type K_VATTR that controls the behaviour of the underlying method. (see description) This parameter is optional. (Its value can be given as null.)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getTypesOfAssocEndRange

<T extends ELType> List<T> getTypesOfAssocEndRange(Class<T> returnType,
                                                   ELProperty refObj,
                                                   K_VATTR kind,
                                                   K_CONTROL_OPTION... behaviourFlags)
                                               throws InoNetException,
                                                      SrvErrorException
Returns not abstract specializations (transitive) of types of properties subsetting the association end given by argument refObj. The association end can alternatively be specified by argument kind. The derived unions and redefinition of subsetting properties is considered. The same set is evaluated for each type of the result considering the inverse property. If this classifier is contained in the inverse set, the type is kept in the result set.

Parameters:
returnType - Specifies the type of elements to be returned.
refObj - A further instance of type ELProperty which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
kind - A value of type K_VATTR that controls the behaviour of the underlying method. (see description) This parameter is optional. (Its value can be given as null.)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getTypesOfAssocEndRange

<T extends ELType> List<T> getTypesOfAssocEndRange(Class<T> returnType,
                                                   MMStereotype stereotype,
                                                   ELProperty refObj,
                                                   K_VATTR kind,
                                                   K_CONTROL_OPTION... behaviourFlags)
                                               throws InoNetException,
                                                      SrvErrorException
The method calls getTypesOfAssocEndRange and filters its return values according to the given stereotype value.

Parameters:
returnType - Specifies the type of elements to be returned.
stereotype - The stereotype used to filter the result list
refObj - A further instance of type ELProperty which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)
kind - A value of type K_VATTR that controls the behaviour of the underlying method. (see description) This parameter is optional. (Its value can be given as null.)
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

isCTreeConfigAble

boolean isCTreeConfigAble(K_CTREE kind)
                          throws InoNetException,
                                 SrvErrorException
True, if this metaclass is used in the part of the configuration editor specified by argument kind.

Parameters:
kind - A value of type K_CTREE that controls the behaviour of the underlying method. (see description)
Throws:
InoNetException
SrvErrorException