de.mid.innovator.srv2api.icw2class
Class CLParameterHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2class.CLParameterHelper

public abstract class CLParameterHelper
extends Object

A parameter is a specification of an argument used to pass information into or out of an invocation of a behavioral feature. It has a type and may have a multiplicity and an optional default value.

See Also:
CLParameter

Method Summary
static CLParameter create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
          Create a new Parameter with template and container.
static CLParameter create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
          Create a new Parameter with stereotype and container.
static void setDefaultValueAsString(SrvContext srvCtx, List<? extends CLParameter> sel, String item)
          Sets the default value of this element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

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

setDefaultValueAsString

public static void setDefaultValueAsString(SrvContext srvCtx,
                                           List<? extends CLParameter> sel,
                                           String item)
                                    throws InoNetException,
                                           SrvErrorException
Sets the default value of this element.

Parameters:
srvCtx - The context of the related innovator server.
sel - all objects that will be modified.
item -
Throws:
InoNetException
SrvErrorException