Package de.mid.innovator.srv2api.icw2ia
Class IAStateInvariantHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2ia.IAStateInvariantHelper
-
public abstract class IAStateInvariantHelper extends java.lang.Object
A StateInvariant is a runtime constraint on the participants of the interaction. It may be used to specify a variety of different kinds of constraints, such as values of attributes or variables, internal or external states etc. A StateInvariant is an InteractionFragment and is placed on a lifeline.- See Also:
IAStateInvariant
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAStateInvariant
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new State Invariant with template and container.static IAStateInvariant
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new State Invariant with stereotype and container.
-
-
-
Method Detail
-
create
public static IAStateInvariant create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new State Invariant 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 IAStateInvariant create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new State Invariant 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
-
-