Class MEDependencyHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MEDependencyHelper
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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MEDependencycreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Dependency with template from source to target element.static MEDependencycreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Dependency with stereotype from source to target element.static List<ARG_MEDependencyAssignmentInfo> getMEDependencyAssignmentInfo(SrvContext srvCtx, List<? extends ELElement> seqSource, List<? extends ELElement> seqTarget, MMStereotype ohDepStereotype, ELContainerAble ohTransitiveParent) Calculates for a quantity of elements its dependency assignments.
-
Method Details
-
getMEDependencyAssignmentInfo
public static List<ARG_MEDependencyAssignmentInfo> getMEDependencyAssignmentInfo(SrvContext srvCtx, List<? extends ELElement> seqSource, 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 elementsseqTarget- Target elementsohDepStereotype- Stereotype of Dependency, optionalohTransitiveParent- transitive parent element of calculated element, optional- Throws:
InoNetExceptionSrvErrorException
-
create
public static MEDependency create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Dependency with stereotype from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static MEDependency create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Dependency with template from source to target element.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohSource- Source for the new elementohTarget- Target for the new element- Throws:
InoNetExceptionSrvErrorException
-