Class MEConstraintHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2model.MEConstraintHelper
-
public abstract class MEConstraintHelper extends java.lang.Object
A constraint is a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an element.- See Also:
MEConstraint
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MEConstraint
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Constraint with template and container.static MEConstraint
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Constraint with stereotype and container.
-
-
-
Method Detail
-
create
public static MEConstraint create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Constraint 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 MEConstraint create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Constraint 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
-
-