Class MEDependencyHelper


  • public abstract class MEDependencyHelper
    extends java.lang.Object
    A dependency is a relationship that signifies that a single or a set of model elements requires other model elements for their specification or implementation. This means that the complete semantics of the depending elements is either semantically or structurally dependent on the definition of the supplier element(s).
    See Also:
    MEDependency
    • Method Detail

      • getDependencySourceTargetList

        public static ARG_DependencySourceTargetListOut getDependencySourceTargetList​(SrvContext srvCtx,
                                                                                      java.lang.Class<? extends ELObject> kVOclDependency,
                                                                                      boolean isExactDependency,
                                                                                      MMStereotype ohStereoDependency,
                                                                                      java.lang.Class<? extends ELObject> kVOclSource,
                                                                                      boolean isExactSource,
                                                                                      java.lang.Class<? extends ELObject> kVOclTarget,
                                                                                      boolean isExactTarget,
                                                                                      boolean onlyExisting,
                                                                                      java.util.List<? extends ADClientAble> seqSource,
                                                                                      java.util.List<? extends ADClientAble> seqTarget)
                                                                               throws InoNetException,
                                                                                      SrvErrorException
        Returns a list of all dependencies of the specified meta class. If a meta class is specified on source or target side only elements of this types are evaluated. The list may contain only the existing dependencies or all configured combinations.
        Parameters:
        srvCtx - The context of the related innovator server.
        kVOclDependency - meta class of required dependencies
        isExactDependency - isTrue/isFalse means dependency meta class is exact/conform
        ohStereoDependency - stereotype of required dependencies - maybe empty
        kVOclSource - meta class of source element
        isExactSource - isTrue/isFalse means source meta class is exact/conform
        kVOclTarget - meta class of target element
        isExactTarget - isTrue/isFalse means target meta class is exact/conform
        onlyExisting - isTrue/isFalse means only existing/all configured dependencies
        seqSource - list of selected elements on source side - maybe empty
        seqTarget - list of selected elements on target side - maybe empty
        Throws:
        InoNetException
        SrvErrorException
      • getMEDependencyAssignmentInfo

        public static java.util.List<ARG_MEDependencyAssignmentInfo> getMEDependencyAssignmentInfo​(SrvContext srvCtx,
                                                                                                   java.util.List<? extends ELElement> seqSource,
                                                                                                   java.util.List<? extends ELElement> seqTarget,
                                                                                                   MMStereotype ohDepStereotype,
                                                                                                   ELContainerAble ohTransitiveParent)
                                                                                            throws InoNetException,
                                                                                                   SrvErrorException
        Calculates for a quantity of elements its dependency assignments. Could be restricted to dependency stereotype and to other side element transitive owner.
        Parameters:
        srvCtx - The context of the related innovator server.
        seqSource - Source elements
        seqTarget - Target elements
        ohDepStereotype - Stereotype of Dependency, optional
        ohTransitiveParent - transitive parent element of calculated element, optional
        Throws:
        InoNetException
        SrvErrorException