Package com.esprow.oapi.repository
Interface OapiStateMachine
public interface OapiStateMachine
A behavior model that has finite, discrete values called states and defined transitions between states.
The following attributes and references are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns all metadata on an element (documentation etc.).Returns the initial state of the state machine.getName()
Returns the name of the state machine.Returns a list of states.void
setAnnotation
(OapiAnnotation value) Set all metadata on an element (documentation etc.).void
setInitial
(OapiState value) Set the initial state of the state machine.void
Set the name of the state machine.
-
Method Details
-
getInitial
OapiState getInitial()Returns the initial state of the state machine.- Returns:
- the initial state of the state machine
- See Also:
-
setInitial
Set the initial state of the state machine.- Parameters:
value
- the new value of the 'Initial' containment reference.- See Also:
-
getStates
Returns a list of states.- Returns:
- a list of states
-
getAnnotation
OapiAnnotation getAnnotation()Returns all metadata on an element (documentation etc.).- Returns:
- all metadata on an element (documentation etc.)
- See Also:
-
setAnnotation
Set all metadata on an element (documentation etc.).- Parameters:
value
- the new value of the 'Annotation' containment reference.- See Also:
-
getName
String getName()Returns the name of the state machine.- Returns:
- the name of the state machine
- See Also:
-
setName
Set the name of the state machine.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-