de.mid.innovator.srv2api.icw2ia
Class IAUseHelper

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

public abstract class IAUseHelper
extends Object

An InteractionUse refers to an interaction. The InteractionUse is a shorthand for copying the contents of the referred interaction to where the InteractionUse is. An InteractionUse allows multiple interactions to reference an interaction that represents a common portion of their specification.

See Also:
IAUse

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

Method Detail

create

public static IAUse create(SrvContext srvCtx,
                           MMCreateTemplate ohTemplate,
                           ELContainerAble ohContainer,
                           ELElement ohRequirement)
                    throws InoNetException,
                           SrvErrorException
Create a new Interaction Use with template and container with requirement.

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

create

public static IAUse create(SrvContext srvCtx,
                           MMStereotype ohStereotype,
                           ELContainerAble ohContainer,
                           ELElement ohRequirement)
                    throws InoNetException,
                           SrvErrorException
Create a new Interaction Use with stereotype and container with requirement.

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