Package de.mid.innovator.srv2api.icw2bp
Class BPDataIOAssociationHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2bp.BPDataIOAssociationHelper
-
public abstract class BPDataIOAssociationHelper extends java.lang.Object
This is a utility class for BPDataIOAssociation that provides static methods for creation or other purposes.- See Also:
BPDataIOAssociation
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BPDataIOAssociation
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget)
Create a new Data Association with template from source to target element.static BPDataIOAssociation
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget)
Create a new Data Association with stereotype from source to target element.static BPDataIOAssociation
createByOwnerAndObject(SrvContext srvCtx, java.util.List<? extends ELElement> seq)
Create aBPDataIOAssociation
.
The first element given within the input sequence will be connected with source and the second element with the target of the edge.
-
-
-
Method Detail
-
createByOwnerAndObject
public static BPDataIOAssociation createByOwnerAndObject(SrvContext srvCtx, java.util.List<? extends ELElement> seq) throws InoNetException, SrvErrorException
Create aBPDataIOAssociation
.
The first element given within the input sequence will be connected with source and the second element with the target of the edge. Either source or target must be anBPActivityNode
or anBPEventNode
. This element will be the container of the association. The other element must be aBPItemAwareElement
.- Parameters:
srvCtx
- The context of the related innovator server.seq
- List of ELElement- Throws:
InoNetException
SrvErrorException
-
create
public static BPDataIOAssociation create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Data Association 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 BPDataIOAssociation create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohSource, ELElement ohTarget) throws InoNetException, SrvErrorException
Create a new Data Association 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
-
-