Interface MM2Classification
- All Superinterfaces:
ADClientAble,ADM2AttrModifyAble,ELClassifier,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAble,ELNamespaceAsgnAble,ELObject,ELPackageAble,ELRedefAble,ELType,ELUUIDAble,MMMetaCommentAble,MMMetamodelElement
- All Known Subinterfaces:
MM2Association,MM2Class,MMStereotype
This is a utility class for MM2Classification that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface MM2Classification describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionassignClassification(MMProfile ohProfile, MM2Attribute ohAttr, List<? extends MM2Classification> seqOh) Assigns a list of meta classifications to a meta classification to restrict the valid values of the specified meta attribute.assignMenuItem(MMProfile ohProfile, MMMenu ohMenu, MM2Class ohClass, List<? extends MMMenuItemAble> seqOh) Assigns a list of menu items to a meta classification.voidcopyConstraintDlg(MMProfile ohProfile, MMProfile ohSrcProfile, MMStereotype ohSrcStereo, boolean copyAll, List<? extends MM2ClassificationConstraint> seqCnstr) voidcopyMenuDlg(MMProfile ohProfile, MMProfile ohSrcProfile, MMStereotype ohSrcStereo, boolean copyAll, List<? extends MMMenuItem> seqItem) voidcopyRelConstraintDlg(MMProfile ohProfile, MMProfile ohSrcProfile, MMStereotype ohSrcStereo, boolean copyAll, List<? extends MM2RelationConstraint> seqCnstr) getAllLabel(String pattern, K_CONTROL_OPTION... behaviourFlags) All labels of this classification.getAllowedMetaClassByAttribute(Class<T> returnType, ADClientAble refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags) Calculates all meta classes which are valid for the specified argument kind.getAllowedStereotypeByAttribute(ADClientAble refObj, K_VATTR kind) Calculates all stereotypes which are valid for the specified argument kind.getAllText(String pattern, K_CONTROL_OPTION... behaviourFlags) All specifications of this classification.All classification constraints that restrict this meta classification.All relation constraints that restrict this meta classification as relation.All relation constraints that restrict this meta classification as source.All relation constraints that restrict this meta classification as target.getCopyConstraintDlgInit(MMProfile ohProfile) Fills the dialog for the copy of classification constraints.getCopyMenuDlgInit(MMProfile ohProfile) Fills the dialog for the copy of menus.getCopyRelConstraintDlgInit(MMProfile ohProfile) Fills the dialog for the copy of relation constraints.All texts of this and all included classifications.All create redirections for this classification.The engineering sequence of this engineering classification.All flow document texts of this and all included classifications.All classification constraints that restrict this inverse meta classification.<T extends MM2TypedElement>
List<T> getInvisibleTypedElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All typed elements which are not used by this meta classification.getLabel()All labels of this classification.All labels of this and all included classifications.getMenu()All create menus of this classification.All notifcation conditions of thisMM2Classification.<T extends MM2TypedElement>
List<T> getNotToLocalizeProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties which should not be localized for thisMM2Classification.All create redirections where this classification is used for new packages.getPresContentAbleMetaClass(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All classes which are allowed as presentation content of this classification.The root stereotype of the metaclass of this classification.<T extends MM2Classification>
List<T> getStereotypeHierarchyWithClass(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The meta class of this classification.All stereotype properties of this and all included classifications.All type system options of this and all included classifications.getText()All texts for the classification.All texts of this and all included classifications.The classification of this verify classification.voidsetInvisibleTypedElement(List<? extends MM2TypedElement> values) Set the value of Foreign Key InvisibleTypedElement.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods 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, setAbstractMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods 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, getPackageImportMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd, isTypeReuseableMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetaCommentAble
getDescriptionMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
Method Details
-
getAllLabel
List<MMLabel> getAllLabel(String pattern, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All labels of this classification. The list may be restricted to labels with names matching argument pattern. With @SORTING the list is sorted according to the attribute ContSortOrder.- Parameters:
pattern- A string pattern. 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:
InoNetExceptionSrvErrorException
-
getAllText
List<MMText> getAllText(String pattern, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All specifications of this classification. The list may be restricted to specifications with names matching argument pattern. With @SORTING the list is sorted according to the attribute ContSortOrder.- Parameters:
pattern- A string pattern. 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:
InoNetExceptionSrvErrorException
-
getLabelOfGeneralTransitive
All labels of this and all included classifications.- Throws:
InoNetExceptionSrvErrorException
-
getPresContentAbleMetaClass
<T extends MM2Class> List<T> getPresContentAbleMetaClass(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All classes which are allowed as presentation content of this classification.- 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:
InoNetExceptionSrvErrorException
-
getRootStereotype
The root stereotype of the metaclass of this classification.- Throws:
InoNetExceptionSrvErrorException
-
getStereotypeHierarchyWithClass
<T extends MM2Classification> List<T> getStereotypeHierarchyWithClass(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The meta class of this classification. If the classification is specialized asMMStereotype, the list contains this stereotype and, transitively, all general stereotypes.- 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:
InoNetExceptionSrvErrorException
-
getStereotypePropertyOfGeneralTransitive
List<MMStereotypeProperty> getStereotypePropertyOfGeneralTransitive() throws InoNetException, SrvErrorExceptionAll stereotype properties of this and all included classifications.- Throws:
InoNetExceptionSrvErrorException
-
getTextOfGeneralTransitive
All texts of this and all included classifications.- Throws:
InoNetExceptionSrvErrorException
-
getFlowDocumentTextOfGeneralTransitive
All flow document texts of this and all included classifications.- Throws:
InoNetExceptionSrvErrorException
-
getAllowedStereotypeByAttribute
List<MMStereotype> getAllowedStereotypeByAttribute(ADClientAble refObj, K_VATTR kind) throws InoNetException, SrvErrorException Calculates all stereotypes which are valid for the specified argument kind. An element is needed to calculate the valid profiles.- Parameters:
refObj- A further instance of type ADClientAble which is used to control the behaviour of the method. (see description above)kind- A value of type K_VATTR that controls the behaviour of the underlying method. (see description)- Throws:
InoNetExceptionSrvErrorException
-
getAllowedMetaClassByAttribute
<T extends MM2Class> List<T> getAllowedMetaClassByAttribute(Class<T> returnType, ADClientAble refObj, K_VATTR kind, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException Calculates all meta classes which are valid for the specified argument kind. An element is needed to calculate the valid profiles.- Parameters:
returnType- Specifies the type of elements to be returned.refObj- A further instance of type ADClientAble which is used to control the behaviour of the method. (see description above)kind- A value of type K_VATTR 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:
InoNetExceptionSrvErrorException
-
getDocumentAreaTextOfGeneralTransitive
All texts of this and all included classifications. The list is reduced to texts which are flow documents or visible at the document area.- Throws:
InoNetExceptionSrvErrorException
-
getStereotypeTSOptionOfGeneralTransitive
List<MMStereotypeTSOption> getStereotypeTSOptionOfGeneralTransitive() throws InoNetException, SrvErrorExceptionAll type system options of this and all included classifications.- Throws:
InoNetExceptionSrvErrorException
-
getCopyConstraintDlgInit
ARG_CopyProfileContentDlgInitOut getCopyConstraintDlgInit(MMProfile ohProfile) throws InoNetException, SrvErrorException Fills the dialog for the copy of classification constraints. This stereotype and the profile specify the target of the classification constraint. The dialog shows pairs of stereotypes and profiles which contain the source classification constraints.- Parameters:
ohProfile- profile of the selected stereotype- Throws:
InoNetExceptionSrvErrorException
-
getCopyMenuDlgInit
ARG_CopyProfileContentDlgInitOut getCopyMenuDlgInit(MMProfile ohProfile) throws InoNetException, SrvErrorException Fills the dialog for the copy of menus. This stereotype and the profile specify the target of the menu. The dialog shows pairs of stereotypes and profiles which contain the source menus.- Parameters:
ohProfile- profile of the selected stereotype- Throws:
InoNetExceptionSrvErrorException
-
getCopyRelConstraintDlgInit
ARG_CopyProfileContentDlgInitOut getCopyRelConstraintDlgInit(MMProfile ohProfile) throws InoNetException, SrvErrorException Fills the dialog for the copy of relation constraints. This stereotype and the profile specify the target of the relation constraint. The dialog shows pairs of stereotypes and profiles which contain the source relation constraints.- Parameters:
ohProfile- profile of the selected stereotype- Throws:
InoNetExceptionSrvErrorException
-
assignClassification
List<MM2ClassificationConstraint> assignClassification(MMProfile ohProfile, MM2Attribute ohAttr, List<? extends MM2Classification> seqOh) throws InoNetException, SrvErrorException Assigns a list of meta classifications to a meta classification to restrict the valid values of the specified meta attribute.- Parameters:
ohProfile- profile of the configurationohAttr- attribute, which is restrictedseqOh- list of meta classifications, which are assigned- Throws:
InoNetExceptionSrvErrorException
-
assignMenuItem
List<MMMenuItem> assignMenuItem(MMProfile ohProfile, MMMenu ohMenu, MM2Class ohClass, List<? extends MMMenuItemAble> seqOh) throws InoNetException, SrvErrorException Assigns a list of menu items to a meta classification. The menu items are grouped in menus according to the specified meta class.- Parameters:
ohProfile- profile of the configurationohMenu- menu where the items are assignedohClass- class of the menuseqOh- list of assigned menu items- Throws:
InoNetExceptionSrvErrorException
-
copyConstraintDlg
void copyConstraintDlg(MMProfile ohProfile, MMProfile ohSrcProfile, MMStereotype ohSrcStereo, boolean copyAll, List<? extends MM2ClassificationConstraint> seqCnstr) throws InoNetException, SrvErrorException Copies the classification constraints from the specified stereotype to this stereotype. Each stereotype needs a profile to specify the context.- Parameters:
ohProfile- profile of the selected stereotypeohSrcProfile- profile of the stereotype from which the classification constraints are copiedohSrcStereo- stereotype from which the classification constraints are copiedcopyAll- isTrue/isFalse means copy all classification constraints/copy only the specified classification constraintsseqCnstr- list of classification constraints which have to be copied- Throws:
InoNetExceptionSrvErrorException
-
copyMenuDlg
void copyMenuDlg(MMProfile ohProfile, MMProfile ohSrcProfile, MMStereotype ohSrcStereo, boolean copyAll, List<? extends MMMenuItem> seqItem) throws InoNetException, SrvErrorException Copies the menus from the specified stereotype to this stereotype. Each stereotype needs a profile to specify the context.- Parameters:
ohProfile- profile of the selected stereotypeohSrcProfile- profile of the stereotype from which the menus are copiedohSrcStereo- stereotype from which the menus are copiedcopyAll- isTrue/isFalse means copy all menu items (with owning menus)/copy only the specified menu items (with owning menus)seqItem- list of menu items which have to be copied (with their owning menus)- Throws:
InoNetExceptionSrvErrorException
-
copyRelConstraintDlg
void copyRelConstraintDlg(MMProfile ohProfile, MMProfile ohSrcProfile, MMStereotype ohSrcStereo, boolean copyAll, List<? extends MM2RelationConstraint> seqCnstr) throws InoNetException, SrvErrorException Copies the relation constraints from the specified stereotype to this stereotype. Each stereotype needs a profile to specify the context.- Parameters:
ohProfile- profile of the selected stereotypeohSrcProfile- profile of the stereotype from which the relation constraints are copiedohSrcStereo- stereotype from which the relation constraints are copiedcopyAll- isTrue/isFalse means copy all relation constraints/copy only the specified relation constraintsseqCnstr- list of relation constraints which have to be copied- Throws:
InoNetExceptionSrvErrorException
-
getLabel
All labels of this classification.- Throws:
InoNetExceptionSrvErrorException
-
getElementCreateRedirection
All create redirections for this classification.- Throws:
InoNetExceptionSrvErrorException
-
getPackageCreateRedirection
All create redirections where this classification is used for new packages.- Throws:
InoNetExceptionSrvErrorException
-
getMenu
All create menus of this classification.- Throws:
InoNetExceptionSrvErrorException
-
getVerifyClassification
The classification of this verify classification.- Throws:
InoNetExceptionSrvErrorException
-
getText
All texts for the classification.- Throws:
InoNetExceptionSrvErrorException
-
getEngineeringSequence
The engineering sequence of this engineering classification.- Throws:
InoNetExceptionSrvErrorException
-
getClassificationConstraint
List<MM2ClassificationConstraint> getClassificationConstraint() throws InoNetException, SrvErrorExceptionAll classification constraints that restrict this meta classification.- Throws:
InoNetExceptionSrvErrorException
-
getInverseClassificationConstraint
List<MM2ClassificationConstraint> getInverseClassificationConstraint() throws InoNetException, SrvErrorExceptionAll classification constraints that restrict this inverse meta classification.- Throws:
InoNetExceptionSrvErrorException
-
getInvisibleTypedElement
<T extends MM2TypedElement> List<T> getInvisibleTypedElement(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All typed elements which are not used by this meta classification.- 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:
InoNetExceptionSrvErrorException
-
setInvisibleTypedElement
void setInvisibleTypedElement(List<? extends MM2TypedElement> values) throws InoNetException, SrvErrorException Set the value of Foreign Key InvisibleTypedElement.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getNotToLocalizeProperty
<T extends MM2TypedElement> List<T> getNotToLocalizeProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All properties which should not be localized for thisMM2Classification.- 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:
InoNetExceptionSrvErrorException
-
getClassificationSource
All relation constraints that restrict this meta classification as source.- Throws:
InoNetExceptionSrvErrorException
-
getClassificationTarget
All relation constraints that restrict this meta classification as target.- Throws:
InoNetExceptionSrvErrorException
-
getClassificationRelation
All relation constraints that restrict this meta classification as relation.- Throws:
InoNetExceptionSrvErrorException
-
getNotificationCondition
All notifcation conditions of thisMM2Classification.- Throws:
InoNetExceptionSrvErrorException
-