Class MESimpleConstraintHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MESimpleConstraintHelper
This is a utility class for MESimpleConstraint that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MESimpleConstraintcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, K_CONTASGN kContAsgn) Creates a new condition with template and container.static MESimpleConstraintcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, K_CONTASGN kContAsgn) Creates a new condition with stereotype and container.
-
Method Details
-
create
public static MESimpleConstraint create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, K_CONTASGN kContAsgn) throws InoNetException, SrvErrorException Creates a new condition with stereotype and container. An assign kind may be added.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new elementkContAsgn- Kind of container assignment- Throws:
InoNetExceptionSrvErrorException
-
create
public static MESimpleConstraint create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, K_CONTASGN kContAsgn) throws InoNetException, SrvErrorException Creates a new condition with template and container. An assign kind may be added.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new elementkContAsgn- Kind of container assignment- Throws:
InoNetExceptionSrvErrorException
-