Class MESimpleConstraintHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2model.MESimpleConstraintHelper
-
public abstract class MESimpleConstraintHelper extends java.lang.Object
This is a utility class for MESimpleConstraint that provides static methods for creation or other purposes.- See Also:
MESimpleConstraint
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MESimpleConstraint
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, K_CONTASGN kContAsgn)
Creates a new condition with template and container.static MESimpleConstraint
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, K_CONTASGN kContAsgn)
Creates a new condition with stereotype and container.
-
-
-
Method Detail
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-