Class MM2ClassificationHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MM2ClassificationHelper
-
public abstract class MM2ClassificationHelper extends java.lang.Object
This is a utility class for MM2Classification that provides static methods for creation or other purposes.- See Also:
MM2Classification
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ARG_GetInfoPropertiesForImpactAnalysisOut
getInfoPropertiesForImpactAnalysis(SrvContext srvCtx, java.util.List<? extends ELElement> seqElem)
Returns a list of info properties which may be used by the impact analysis of the specified elements or meta classifications.static ARG_ModifyTypedElementValidListDlgInitOut
getModifyTranslatableValidListDlgInit(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, MMProfile ohProfile)
Fills the modify dialog with available typed elements which may be translated.static ARG_ModifyTypedElementValidListDlgInitOut
getModifyTSOptionValidListDlgInit(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, MMProfile ohProfile)
Fills the modify dialog with available type sytem options.static ARG_ModifyTypedElementValidListDlgInitOut
getModifyTypedElementValidListDlgInit(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, MMProfile ohProfile)
Fills the modify dialog with available typed elements.static ARG_GetViewAttributesForImpactAnalysisOut
getPossiblePairsForImpactAnalysis(SrvContext srvCtx)
Returns a list of element types which are typically represented as node but may be used as edge within the impact analysis.static ARG_GetViewAttributesForImpactAnalysisOut
getRelationPairsForImpactAnalysis(SrvContext srvCtx)
Returns a list of element types which may be typically used as edge within the impact analysis.static ARG_GetViewAttributesForImpactAnalysisOut
getViewAttributesForImpactAnalysis(SrvContext srvCtx, java.util.List<java.lang.Class<? extends ELObject>> seqVOcl)
Returns a list of view attributes which may be used by the impact analysis of the specified element types.static void
modifyTranslatableValueList(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, java.util.List<? extends MM2TypedElement> seqElem, java.util.List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined)
Modify the list of valid typed elements which may be translated for a list of meta classifications.static void
modifyTSOptionValueList(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, java.util.List<? extends MM2TypedElement> seqElem, java.util.List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined)
Modify the list of valid type system options for a list of meta classifications.static void
modifyTypedElementValueList(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, java.util.List<? extends MM2TypedElement> seqElem, java.util.List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined)
Modify the list of valid typed elements for a list of meta classifications.
-
-
-
Method Detail
-
getInfoPropertiesForImpactAnalysis
public static ARG_GetInfoPropertiesForImpactAnalysisOut getInfoPropertiesForImpactAnalysis(SrvContext srvCtx, java.util.List<? extends ELElement> seqElem) throws InoNetException, SrvErrorException
Returns a list of info properties which may be used by the impact analysis of the specified elements or meta classifications.- Parameters:
srvCtx
- The context of the related innovator server.seqElem
- list of elements or meta classifications- Throws:
InoNetException
SrvErrorException
-
getPossiblePairsForImpactAnalysis
public static ARG_GetViewAttributesForImpactAnalysisOut getPossiblePairsForImpactAnalysis(SrvContext srvCtx) throws InoNetException, SrvErrorException
Returns a list of element types which are typically represented as node but may be used as edge within the impact analysis. The list of view attributes represent the source and the target connection.- Parameters:
srvCtx
- The context of the related innovator server.- Throws:
InoNetException
SrvErrorException
-
getRelationPairsForImpactAnalysis
public static ARG_GetViewAttributesForImpactAnalysisOut getRelationPairsForImpactAnalysis(SrvContext srvCtx) throws InoNetException, SrvErrorException
Returns a list of element types which may be typically used as edge within the impact analysis. The list of view attributes represent the source and the target connection.- Parameters:
srvCtx
- The context of the related innovator server.- Throws:
InoNetException
SrvErrorException
-
getViewAttributesForImpactAnalysis
public static ARG_GetViewAttributesForImpactAnalysisOut getViewAttributesForImpactAnalysis(SrvContext srvCtx, java.util.List<java.lang.Class<? extends ELObject>> seqVOcl) throws InoNetException, SrvErrorException
Returns a list of view attributes which may be used by the impact analysis of the specified element types.- Parameters:
srvCtx
- The context of the related innovator server.seqVOcl
- list of element types- Throws:
InoNetException
SrvErrorException
-
getModifyTSOptionValidListDlgInit
public static ARG_ModifyTypedElementValidListDlgInitOut getModifyTSOptionValidListDlgInit(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, MMProfile ohProfile) throws InoNetException, SrvErrorException
Fills the modify dialog with available type sytem options.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- sequence of selected meta classificationsohProfile
- the selected profile- Throws:
InoNetException
SrvErrorException
-
getModifyTranslatableValidListDlgInit
public static ARG_ModifyTypedElementValidListDlgInitOut getModifyTranslatableValidListDlgInit(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, MMProfile ohProfile) throws InoNetException, SrvErrorException
Fills the modify dialog with available typed elements which may be translated.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- sequence of selected meta classificationsohProfile
- the selected profile- Throws:
InoNetException
SrvErrorException
-
getModifyTypedElementValidListDlgInit
public static ARG_ModifyTypedElementValidListDlgInitOut getModifyTypedElementValidListDlgInit(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, MMProfile ohProfile) throws InoNetException, SrvErrorException
Fills the modify dialog with available typed elements.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- sequence of selected meta classificationsohProfile
- the selected profile- Throws:
InoNetException
SrvErrorException
-
modifyTSOptionValueList
public static void modifyTSOptionValueList(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, java.util.List<? extends MM2TypedElement> seqElem, java.util.List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined) throws InoNetException, SrvErrorException
Modify the list of valid type system options for a list of meta classifications.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- sequence of selected meta classificationsseqElem
- sequence of typed elementsseqMBool
- sequence of statesohProfile
- the selected profileuseRedefined
- true, if the entries of the redefined stereotypes are used, false if the entries of the redefining stereotypes are used- Throws:
InoNetException
SrvErrorException
-
modifyTranslatableValueList
public static void modifyTranslatableValueList(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, java.util.List<? extends MM2TypedElement> seqElem, java.util.List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined) throws InoNetException, SrvErrorException
Modify the list of valid typed elements which may be translated for a list of meta classifications.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- sequence of selected meta classificationsseqElem
- sequence of typed elementsseqMBool
- sequence of statesohProfile
- the selected profileuseRedefined
- true, if the entries of the redefined stereotypes are used, false if the entries of the redefining stereotypes are used- Throws:
InoNetException
SrvErrorException
-
modifyTypedElementValueList
public static void modifyTypedElementValueList(SrvContext srvCtx, java.util.List<? extends MM2Classification> seqSel, java.util.List<? extends MM2TypedElement> seqElem, java.util.List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined) throws InoNetException, SrvErrorException
Modify the list of valid typed elements for a list of meta classifications.- Parameters:
srvCtx
- The context of the related innovator server.seqSel
- sequence of selected meta classificationsseqElem
- sequence of typed elementsseqMBool
- sequence of statesohProfile
- the selected profileuseRedefined
- true, if the entries of the redefined stereotypes are used, false if the entries of the redefining stereotypes are used- Throws:
InoNetException
SrvErrorException
-
-