Interface MM2Class
-
- All Superinterfaces:
ADClientAble
,ADM2AttrModifyAble
,ELClassifier
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELM2Class
,ELM2Type
,ELNamedElement
,ELNamespaceAble
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELRedefAble
,ELType
,ELUUIDAble
,MM2Classification
,MM2Type
,MMMetaCommentAble
,MMMetamodelElement
- All Known Subinterfaces:
MM2Association
public interface MM2Class extends ELM2Class, MM2Classification, MM2Type
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MM2Class.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MMFilter>
filter(K_CONTROL_OPTION... behaviourFlags)
All filters defined for this meta class.<T extends MM2Class>
java.util.List<T>getClassesOfViewAttr(java.lang.Class<T> returnType, MM2Attribute refObj, K_CONTROL_OPTION... behaviourFlags)
Returns not abstract specializations (transitive) of classes given byargument refObj
.java.util.List<MESection>
getClassSection()
All sections where elements of this meta class are allowed as part.java.util.List<MMFormatRuleSetOfClass>
getFormatRuleSet(K_CONTROL_OPTION... behaviourFlags)
All format rule sets of this metaclass.java.util.List<MMAddItem>
getOwnedAddItem(K_CONTROL_OPTION... behaviourFlags)
java.util.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.java.util.List<MM2Attribute>
getOwnedAndInheritedInverseAssocEnd(boolean kind, K_CONTROL_OPTION... behaviourFlags)
All meta attributes of this metaclass with property 'assignKind' equal to 'InverseAssocEnd'.java.util.List<MM2FontColor>
getOwnedMetaFontColor(K_CONTROL_OPTION... behaviourFlags)
All font/color types owned by this class.java.util.List<MM2Presentation>
getOwnedMetaPresentation(K_CONTROL_OPTION... behaviourFlags)
All presentation types owned by this class.java.util.List<MM2FormatRuleParameter>
getOwnedRuleParameter(K_CONTROL_OPTION... behaviourFlags)
All format rule parameters owned by this class.java.util.List<MMStereotype>
getOwnedStereotype(K_CONTROL_OPTION... behaviourFlags)
The stereotype owned by this metaclass.<T extends ELProperty>
java.util.List<T>getPropertyNavigableTo(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
Returns all navigable properties typed by this element.<T extends ELProperty>
java.util.List<T>getPropertyNavigableTo(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getPropertyNavigableTo and filters its return values according to the given stereotype value.java.util.List<MMStereotype>
getStereotype(K_CONTROL_OPTION... behaviourFlags)
All stereotypes of this class.<T extends ELType>
java.util.List<T>getStereotypeAblesOfAssocEndRange(java.lang.Class<T> returnType, ELProperty refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags)
Returns not abstract specializations (transitive) ofMMStereotypeAble
types of properties subsetting the association end given byargument refObj
.<T extends ELType>
java.util.List<T>getStereotypeAblesOfAssocEndRange(java.lang.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>
java.util.List<T>getTypesOfAssocEndRange(java.lang.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 byargument refObj
.<T extends ELType>
java.util.List<T>getTypesOfAssocEndRange(java.lang.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.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
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.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.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
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.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.icw2elem.ELM2Type
getM2AttributeOfKind, getM2AttributeOfMode, getSchema, getTypedM2Attribute, getTypedValSpecNullValue, getTypedValSpecUnlimNatValue
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
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.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
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.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
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, getNotToLocalizeProperty, getPackageCreateRedirection, getPresContentAbleMetaClass, getRootStereotype, getStereotypeHierarchyWithClass, getStereotypePropertyOfGeneralTransitive, getStereotypeTSOptionOfGeneralTransitive, getText, getTextOfGeneralTransitive, getVerifyClassification, setInvisibleTypedElement
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MM2Type
getTypedM2Element
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetaCommentAble
getDescription
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
-
-
-
Method Detail
-
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
-
getClassesOfViewAttr
<T extends MM2Class> java.util.List<T> getClassesOfViewAttr(java.lang.Class<T> returnType, MM2Attribute refObj, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Returns not abstract specializations (transitive) of classes given byargument 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
-
getOwnedAndInheritedConfigAbleAssocEnd
java.util.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
java.util.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
-
getPropertyNavigableTo
<T extends ELProperty> java.util.List<T> getPropertyNavigableTo(java.lang.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> java.util.List<T> getPropertyNavigableTo(java.lang.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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getStereotypeAblesOfAssocEndRange
<T extends ELType> java.util.List<T> getStereotypeAblesOfAssocEndRange(java.lang.Class<T> returnType, ELProperty refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Returns not abstract specializations (transitive) ofMMStereotypeAble
types of properties subsetting the association end given byargument 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> java.util.List<T> getStereotypeAblesOfAssocEndRange(java.lang.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 listrefObj
- 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> java.util.List<T> getTypesOfAssocEndRange(java.lang.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 byargument 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> java.util.List<T> getTypesOfAssocEndRange(java.lang.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 listrefObj
- 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
-
getStereotype
java.util.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
-
getOwnedAddItem
java.util.List<MMAddItem> getOwnedAddItem(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
- 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
java.util.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.
-
getOwnedMetaPresentation
java.util.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.
-
getOwnedMetaFontColor
java.util.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.
-
getOwnedRuleParameter
java.util.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.
-
getFormatRuleSet
java.util.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
-
filter
java.util.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
-
getClassSection
java.util.List<MESection> getClassSection() throws InoNetException, SrvErrorException
All sections where elements of this meta class are allowed as part.- Throws:
InoNetException
SrvErrorException
-
-