Class MECopyHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2model.MECopyHelper
-
public abstract class MECopyHelper extends java.lang.Object
This is a utility class for MECopy that provides static methods for creation or other purposes.- See Also:
MECopy
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MECopy
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Copy with template from source to target element.static MECopy
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Copy with stereotype from source to target element.
-
-
-
Method Detail
-
create
public static MECopy create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Copy 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 MECopy create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Copy 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
-
-