View Javadoc

1   package org.state4j.sm;
2   
3   public interface SmTransition  {
4   
5       SmAction getAction();
6       void setAction(SmAction action);
7       boolean hasAction();
8   
9       SmGuardCondition getGuardCondition();
10      void setGuardCondition(SmGuardCondition guardCondition);
11      boolean hasGuardCondition();
12  
13      SmState getStateIn();
14      void setStateIn(SmState state);
15      boolean hasStateIn();
16      
17      SmState getStateOut();
18      void setStateOut(SmState state);
19      boolean hasStateOut();
20      
21      String getSubtype();
22      void setSubtype(String subtype);
23      boolean hasSubtype();
24  
25      String getName();
26      void setName(String name);
27      boolean hasName();
28      
29  	boolean fireable(SmContext cntx, boolean withTrigger);
30  	void fire(SmContext cntx);
31  
32  	void setLCA(SmCompositeState lca);
33  	SmCompositeState getLCA();
34  	boolean hasLCA();
35  	boolean isInternal();
36  }