Class CLParameterHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2class.CLParameterHelper
-
public abstract class CLParameterHelper extends java.lang.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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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, java.util.List<? extends CLParameter> sel, java.lang.String item)
Sets the default value of this element.
-
-
-
Method Detail
-
setDefaultValueAsString
public static void setDefaultValueAsString(SrvContext srvCtx, java.util.List<? extends CLParameter> sel, java.lang.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
-
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 elementohContainer
- Container for the new element- Throws:
InoNetException
SrvErrorException
-
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 elementohContainer
- Container for the new element- Throws:
InoNetException
SrvErrorException
-
-