Class MM2ClassificationHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.MM2ClassificationHelper
This is a utility class for MM2Classification that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetInfoPropertiesForImpactAnalysis(SrvContext srvCtx, 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.getModifyTranslatableValidListDlgInit(SrvContext srvCtx, List<? extends MM2Classification> seqSel, MMProfile ohProfile) Fills the modify dialog with available typed elements which may be translated.getModifyTSOptionValidListDlgInit(SrvContext srvCtx, List<? extends MM2Classification> seqSel, MMProfile ohProfile) Fills the modify dialog with available type sytem options.getModifyTypedElementValidListDlgInit(SrvContext srvCtx, List<? extends MM2Classification> seqSel, MMProfile ohProfile) Fills the modify dialog with available typed elements.Returns a list of element types which are typically represented as node but may be used as edge within the impact analysis.Returns a list of element types which may be typically used as edge within the impact analysis.getViewAttributesForImpactAnalysis(SrvContext srvCtx, List<Class<? extends ELObject>> seqVOcl) Returns a list of view attributes which may be used by the impact analysis of the specified element types.static voidmodifyTranslatableValueList(SrvContext srvCtx, List<? extends MM2Classification> seqSel, List<? extends MM2TypedElement> seqElem, 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 voidmodifyTSOptionValueList(SrvContext srvCtx, List<? extends MM2Classification> seqSel, List<? extends MM2TypedElement> seqElem, List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined) Modify the list of valid type system options for a list of meta classifications.static voidmodifyTypedElementValueList(SrvContext srvCtx, List<? extends MM2Classification> seqSel, List<? extends MM2TypedElement> seqElem, List<K_MULTIBOOL> seqMBool, MMProfile ohProfile, boolean useRedefined) Modify the list of valid typed elements for a list of meta classifications.
-
Method Details
-
getInfoPropertiesForImpactAnalysis
public static ARG_GetInfoPropertiesForImpactAnalysisOut getInfoPropertiesForImpactAnalysis(SrvContext srvCtx, 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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getViewAttributesForImpactAnalysis
public static ARG_GetViewAttributesForImpactAnalysisOut getViewAttributesForImpactAnalysis(SrvContext srvCtx, List<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:
InoNetExceptionSrvErrorException
-
getModifyTSOptionValidListDlgInit
public static ARG_ModifyTypedElementValidListDlgInitOut getModifyTSOptionValidListDlgInit(SrvContext srvCtx, 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:
InoNetExceptionSrvErrorException
-
getModifyTranslatableValidListDlgInit
public static ARG_ModifyTypedElementValidListDlgInitOut getModifyTranslatableValidListDlgInit(SrvContext srvCtx, 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:
InoNetExceptionSrvErrorException
-
getModifyTypedElementValidListDlgInit
public static ARG_ModifyTypedElementValidListDlgInitOut getModifyTypedElementValidListDlgInit(SrvContext srvCtx, 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:
InoNetExceptionSrvErrorException
-
modifyTSOptionValueList
public static void modifyTSOptionValueList(SrvContext srvCtx, List<? extends MM2Classification> seqSel, List<? extends MM2TypedElement> seqElem, 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:
InoNetExceptionSrvErrorException
-
modifyTranslatableValueList
public static void modifyTranslatableValueList(SrvContext srvCtx, List<? extends MM2Classification> seqSel, List<? extends MM2TypedElement> seqElem, 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:
InoNetExceptionSrvErrorException
-
modifyTypedElementValueList
public static void modifyTypedElementValueList(SrvContext srvCtx, List<? extends MM2Classification> seqSel, List<? extends MM2TypedElement> seqElem, 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:
InoNetExceptionSrvErrorException
-