Package de.mid.innovator.srv2api.icw2sm
Class SMChoiceHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2sm.SMChoiceHelper
-
public abstract class SMChoiceHelper extends java.lang.Object
Choice vertices result, when reached, in the dynamic evaluation of the guards of the triggers of its outgoing transitions. This realizes a dynamic conditional branch. It allows splitting of transitions into multiple outgoing paths; this means that the decision as to which path to take may be a function of the results of prior actions performed in the same run-to-completion step.- See Also:
SMChoice
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMChoice
create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)
Create a new Choice - Pseudostate with template and container.static SMChoice
create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)
Create a new Choice - Pseudostate with stereotype and container.
-
-
-
Method Detail
-
create
public static SMChoice create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Choice - Pseudostate 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 SMChoice create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Choice - Pseudostate 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
-
-