Class MEConstraintHelper
java.lang.Object
de.mid.innovator.srv2api.icw2model.MEConstraintHelper
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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic MEConstraintcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Constraint with template and container.static MEConstraintcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Constraint with stereotype and container.
-
Method Details
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-