Class CLParameterHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLParameterHelper
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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLParametercreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Parameter with template and container.static CLParametercreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Parameter with stereotype and container.static voidsetDefaultValueAsString(SrvContext srvCtx, List<? extends CLParameter> sel, String item) Sets the default value of this element.
-
Method Details
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-