Class MEUsageHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2model.MEUsageHelper
-
public abstract class MEUsageHelper extends java.lang.Object
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:
MEUsage
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MEUsage
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Usage with template from source to target element.static MEUsage
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Usage with stereotype from source to target element.
-
-
-
Method Detail
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-