de.mid.innovator.srv2api.icw2ia
Class IAOptHelper

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

public abstract class IAOptHelper
extends Object

The interactionOperator 'opt' designates that the CombinedFragment represents a choice of behavior where either the (sole) operand happens or nothing happens.

See Also:
IAOpt

Method Summary
static IAOpt create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
          Create a new Option with template and container.
static IAOpt create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
          Create a new Option with stereotype and container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static IAOpt create(SrvContext srvCtx,
                           MMCreateTemplate ohTemplate,
                           ELContainerAble ohContainer)
                    throws InoNetException,
                           SrvErrorException
Create a new Option 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 IAOpt create(SrvContext srvCtx,
                           MMStereotype ohStereotype,
                           ELContainerAble ohContainer)
                    throws InoNetException,
                           SrvErrorException
Create a new Option 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