|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface MM2Classification
This is a utility class for MM2Classification that provides static methods for creation or other purposes.
MM2ClassificationHelper| Nested Class Summary | |
|---|---|
static class |
MM2Classification.VAttr
|
| Method Summary | ||
|---|---|---|
List<MM2ClassificationConstraint> |
assignClassification(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. |
|
List<MMMenuItem> |
assignMenuItem(MMProfile ohProfile,
MMMenu ohMenu,
MM2Class ohClass,
List<? extends MMMenuItemAble> seqOh)
Assigns a list of menu items to a meta classification. |
|
void |
copyConstraintDlg(MMProfile ohProfile,
MMProfile ohSrcProfile,
MMStereotype ohSrcStereo,
boolean copyAll,
List<? extends MM2ClassificationConstraint> seqCnstr)
Copies the classification constraints from the specified stereotype to this stereotype. |
|
void |
copyMenuDlg(MMProfile ohProfile,
MMProfile ohSrcProfile,
MMStereotype ohSrcStereo,
boolean copyAll,
List<? extends MMMenuItem> seqItem)
Copies the menus from the specified stereotype to this stereotype. |
|
List<MMLabel> |
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. |
|
List<MMStereotype> |
getAllowedStereotypeByAttribute(ADClientAble refObj,
K_VATTR kind,
K_CONTROL_OPTION... behaviourFlags)
Calculates all stereotypes which are valid for the specified argument kind. |
|
List<MMText> |
getAllText(String pattern,
K_CONTROL_OPTION... behaviourFlags)
All specifications of this classification. |
|
List<MM2ClassificationConstraint> |
getClassificationConstraint(K_CONTROL_OPTION... behaviourFlags)
All classification constraints that restrict this meta classification. |
|
ARG_CopyProfileContentDlgInitOut |
getCopyConstraintDlgInit(MMProfile ohProfile)
Fills the dialog for the copy of classification constraints. |
|
ARG_CopyProfileContentDlgInitOut |
getCopyMenuDlgInit(MMProfile ohProfile)
Fills the dialog for the copy of menus. |
|
List<MMText> |
getDocumentAreaTextOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
All texts of this and all included classifications. |
|
List<MECreateRedirect> |
getElementCreateRedirection(K_CONTROL_OPTION... behaviourFlags)
All create redirections for this classification. |
|
List<MMEngineeringSequence> |
getEngineeringSequence()
The engineering sequence of this engineering classification. |
|
List<MMText> |
getFlowDocumentTextOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
All flow document texts of this and all included classifications. |
|
List<MM2ClassificationConstraint> |
getInverseClassificationConstraint(K_CONTROL_OPTION... behaviourFlags)
All classification constraints that restrict this inverse meta classification. |
|
|
getInvisibleTypedElement(Class<T> returnType)
All typed elements which are not used by this meta classification. |
|
List<MMLabel> |
getLabel(K_CONTROL_OPTION... behaviourFlags)
All labels of this classification. |
|
List<MMLabel> |
getLabelOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
All labels of this and all included classifications. |
|
List<MMMenu> |
getMenu(K_CONTROL_OPTION... behaviourFlags)
All create menus of this classification. |
|
List<MECreateRedirect> |
getPackageCreateRedirection(K_CONTROL_OPTION... behaviourFlags)
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. |
|
MMStereotype |
getRootStereotype()
The root stereotype of the metaclass of this classification. |
|
|
getStereotypeHierarchyWithClass(Class<T> returnType,
K_CONTROL_OPTION... behaviourFlags)
The meta class of this classification. |
|
List<MMStereotypeProperty> |
getStereotypePropertyOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
All stereotype properties of this and all included classifications. |
|
List<MMText> |
getText(K_CONTROL_OPTION... behaviourFlags)
All texts for the classification. |
|
List<MMText> |
getTextOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
All texts of this and all included classifications. |
|
List<MMVerifyClassification> |
getVerifyClassification(K_CONTROL_OPTION... behaviourFlags)
The classification of this verify classification. |
|
void |
setInvisibleTypedElement(List<? extends MM2TypedElement> values)
Set the value of Foreign Key InvisibleTypedElement. |
|
| 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.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.ELContAsgnAble |
|---|
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner |
| 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 |
| 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 |
| Method Detail |
|---|
List<MM2ClassificationConstraint> assignClassification(MMProfile ohProfile,
MM2Attribute ohAttr,
List<? extends MM2Classification> seqOh)
throws InoNetException,
SrvErrorException
ohProfile - profile of the configurationohAttr - attribute, which is restrictedseqOh - list of meta classifications, which are assigned
InoNetException
SrvErrorException
List<MMMenuItem> assignMenuItem(MMProfile ohProfile,
MMMenu ohMenu,
MM2Class ohClass,
List<? extends MMMenuItemAble> seqOh)
throws InoNetException,
SrvErrorException
ohProfile - profile of the configurationohMenu - menu where the items are assignedohClass - class of the menuseqOh - list of assigned menu items
InoNetException
SrvErrorException
void copyConstraintDlg(MMProfile ohProfile,
MMProfile ohSrcProfile,
MMStereotype ohSrcStereo,
boolean copyAll,
List<? extends MM2ClassificationConstraint> seqCnstr)
throws InoNetException,
SrvErrorException
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 < - > copy all classification constraints/copy only the specified classification constraintsseqCnstr - list of classification constraints which have to be copied
InoNetException
SrvErrorException
void copyMenuDlg(MMProfile ohProfile,
MMProfile ohSrcProfile,
MMStereotype ohSrcStereo,
boolean copyAll,
List<? extends MMMenuItem> seqItem)
throws InoNetException,
SrvErrorException
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 < - > 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)
InoNetException
SrvErrorException
List<MMLabel> getAllLabel(String pattern,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
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.
InoNetException
SrvErrorException
<T extends MM2Class> List<T> getAllowedMetaClassByAttribute(Class<T> returnType,
ADClientAble refObj,
K_VATTR kind,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
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.
InoNetException
SrvErrorException
List<MMStereotype> getAllowedStereotypeByAttribute(ADClientAble refObj,
K_VATTR kind,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
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.
InoNetException
SrvErrorException
List<MMText> getAllText(String pattern,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
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.
InoNetException
SrvErrorException
List<MM2ClassificationConstraint> getClassificationConstraint(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
ARG_CopyProfileContentDlgInitOut getCopyConstraintDlgInit(MMProfile ohProfile)
throws InoNetException,
SrvErrorException
ohProfile - profile of the selected stereotype
InoNetException
SrvErrorException
ARG_CopyProfileContentDlgInitOut getCopyMenuDlgInit(MMProfile ohProfile)
throws InoNetException,
SrvErrorException
ohProfile - profile of the selected stereotype
InoNetException
SrvErrorException
List<MMText> getDocumentAreaTextOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MECreateRedirect> getElementCreateRedirection(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMEngineeringSequence> getEngineeringSequence()
throws InoNetException,
SrvErrorException
InoNetException
SrvErrorException
List<MMText> getFlowDocumentTextOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MM2ClassificationConstraint> getInverseClassificationConstraint(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
<T extends MM2TypedElement> List<T> getInvisibleTypedElement(Class<T> returnType)
throws InoNetException,
SrvErrorException
returnType - Specifies the type of elements to be returned.
InoNetException
SrvErrorException
List<MMLabel> getLabel(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMLabel> getLabelOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMMenu> getMenu(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MECreateRedirect> getPackageCreateRedirection(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
<T extends MM2Class> List<T> getPresContentAbleMetaClass(Class<T> returnType,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
returnType - Specifies the type of elements to be returned.behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
MMStereotype getRootStereotype()
throws InoNetException,
SrvErrorException
InoNetException
SrvErrorException
<T extends MM2Classification> List<T> getStereotypeHierarchyWithClass(Class<T> returnType,
K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
MMStereotype, the list contains this stereotype and, transitively, all general stereotypes.
returnType - Specifies the type of elements to be returned.behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMStereotypeProperty> getStereotypePropertyOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMText> getText(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMText> getTextOfGeneralTransitive(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
List<MMVerifyClassification> getVerifyClassification(K_CONTROL_OPTION... behaviourFlags)
throws InoNetException,
SrvErrorException
behaviourFlags - An optional list of enum values to control the behaviour of the command.
InoNetException
SrvErrorException
void setInvisibleTypedElement(List<? extends MM2TypedElement> values)
throws InoNetException,
SrvErrorException
values - The value to be set.
InoNetException
SrvErrorException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||