Class MEUsageHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MEUsageHelper
A usage is a relationship which one element requires another element (or set of elements) for its full implementation or operation. In the metamodel, a usage is a dependency which the client requires the presence of the supplier in.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MEUsagecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) Create a new Usage with template from source to target element.static MEUsagecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) Create a new Usage with stereotype from source to target element.
-
Method Details
-
create
public static MEUsage create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Usage 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 MEUsage create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException Create a new Usage 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
-