Package de.mid.innovator.srv2api.icw2sm
Class SMStateMachineHelper
java.lang.Object
de.mid.innovator.srv2api.icw2sm.SMStateMachineHelper
State machines can be used to express the behavior of part of a system. Behavior is modeled as a traversal of a graph of state nodes interconnected by one or more joined transition arcs that are triggered by the dispatching of series of (event) occurrences. During this traversal, the state machine executes a series of activities associated with various elements of the state machine.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SMStateMachinecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new State Machine with template and container.static SMStateMachinecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, K_CONTASGN kContAsgn) Creates a new State Machine with template and container.static SMStateMachinecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new State Machine with stereotype and container.static SMStateMachinecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, K_CONTASGN kContAsgn) Creates a new State Machine with stereotype and container.
-
Method Details
-
create
public static SMStateMachine create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new State Machine 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 SMStateMachine create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer, K_CONTASGN kContAsgn) throws InoNetException, SrvErrorException Creates a new State Machine with stereotype and container. An assign kind must 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 SMStateMachine create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new State Machine 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
-
create
public static SMStateMachine create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer, K_CONTASGN kContAsgn) throws InoNetException, SrvErrorException Creates a new State Machine with template and container. An assign kind must 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
-