01: package com.metaboss.sdlctools.models.metabossmodel.statemachinemodel;
02:
03: /**
04: * StateMachine object instance interface.
05: */
06: public interface StateMachine extends
07: com.metaboss.sdlctools.models.metabossmodel.ModelElement {
08: /**
09: * @return
10: */
11: public com.metaboss.sdlctools.models.metabossmodel.statemachinemodel.State getInitialState();
12:
13: /**
14: * @param pTransitionName
15: * @return
16: */
17: public com.metaboss.sdlctools.models.metabossmodel.statemachinemodel.Transition getTransition(
18: java.lang.String pTransitionName);
19:
20: /**
21: * @param pTransitionName
22: * @return
23: */
24: public com.metaboss.sdlctools.models.metabossmodel.statemachinemodel.Transition findTransition(
25: java.lang.String pTransitionName);
26:
27: /**
28: * @param pStateName
29: * @return
30: */
31: public com.metaboss.sdlctools.models.metabossmodel.statemachinemodel.State getState(
32: java.lang.String pStateName);
33:
34: /**
35: * @param pStateName
36: * @return
37: */
38: public com.metaboss.sdlctools.models.metabossmodel.statemachinemodel.State findState(
39: java.lang.String pStateName);
40:
41: /**
42: * Returns the value of reference states.
43: * @return Value of reference states.
44: */
45: public java.util.Collection getStates();
46:
47: /**
48: * Returns the value of reference entity.
49: * @return Value of reference entity.
50: */
51: public com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity getEntity();
52:
53: /**
54: * Sets the value of reference entity. See {@link #getEntity} for description
55: * on the reference.
56: * @param newValue New value to be set.
57: */
58: public void setEntity(
59: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity newValue);
60:
61: /**
62: * Returns the value of reference transitions.
63: * @return Value of reference transitions.
64: */
65: public java.util.Collection getTransitions();
66: }
|