Class CLEnumerationHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLEnumerationHelper
An enumeration is a data type whose values are enumerated in the model as enumeration literals.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLEnumerationcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Enumeration Type with template and container.static CLEnumerationcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Enumeration Type with stereotype and container.
-
Method Details
-
create
public static CLEnumeration create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Enumeration Type 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 CLEnumeration create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Enumeration Type 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
-