de.mid.innovator.srv2api.icw2ia
Class IAOperandHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2ia.IAOperandHelper

public abstract class IAOperandHelper
extends Object

An InteractionOperand is contained in a CombinedFragment. An InteractionOperand represents one operand of the expression given by the enclosing CombinedFragment. An InteractionOperand may be guarded by an InteractionConstraint. Only InteractionOperands with a guard that evaluate to true at this point in the interaction will be considered for the production of the traces for the enclosing CombinedFragment. InteractionOperands contain an ordered set of InteractionFragments.

See Also:
IAOperand

Method Summary
static IAOperand create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
          Create a new Interaction Operand with template and container.
static IAOperand create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
          Create a new Interaction Operand with stereotype and container.
static IAOperand insertAtSelection(SrvContext srvCtx, MMCreateTemplate ohTemplateOperand, IAOperand ohOperand, K_INSERT kInsertAt)
          Inserts a new IAOperand using a lane template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static IAOperand create(SrvContext srvCtx,
                               MMCreateTemplate ohTemplate,
                               ELContainerAble ohContainer)
                        throws InoNetException,
                               SrvErrorException
Create a new Interaction Operand with template and container.

Parameters:
srvCtx - The context of the related innovator server.
ohTemplate - Template for the new element
ohContainer - Container for the new element
Throws:
InoNetException
SrvErrorException

create

public static IAOperand create(SrvContext srvCtx,
                               MMStereotype ohStereotype,
                               ELContainerAble ohContainer)
                        throws InoNetException,
                               SrvErrorException
Create a new Interaction Operand with stereotype and container.

Parameters:
srvCtx - The context of the related innovator server.
ohStereotype - Stereotype for the new element
ohContainer - Container for the new element
Throws:
InoNetException
SrvErrorException

insertAtSelection

public static IAOperand insertAtSelection(SrvContext srvCtx,
                                          MMCreateTemplate ohTemplateOperand,
                                          IAOperand ohOperand,
                                          K_INSERT kInsertAt)
                                   throws InoNetException,
                                          SrvErrorException
Inserts a new IAOperand using a lane template. If the IAOperand has to be inserted relative to one or more other operands, these operands, and the insertion position may be specified.

Parameters:
srvCtx - The context of the related innovator server.
ohTemplateOperand - the template for the new operand
ohOperand - selected operand
kInsertAt - specifies where to insert the new relative to the selected operand
Throws:
InoNetException
SrvErrorException