Package com.esprow.oapi.repository
Interface OapiState
public interface OapiState
The state of a state machine (final if it has no transitions).
The following attributes and references are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns an operation launched when entering the state and completed when exiting or earlier.Returns all metadata on an element (documentation etc.).getName()Returns the name of the state.Returns an operation fired when entering the state.Returns an operation launched when exiting the state.Returns the list of transitions between states.voidsetActivity(OapiAction value) Set an operation launched when entering the state and completed when exiting or earlier.voidsetAnnotation(OapiAnnotation value) Set all metadata on an element (documentation etc.).voidSet the name of the state.voidsetOnentry(OapiAction value) Set an operation fired when entering the state.voidsetOnexit(OapiAction value) Set an operation launched when exiting the state.
-
Method Details
-
getTransitions
List<OapiTransition> getTransitions()Returns the list of transitions between states.- Returns:
- the list of transitions between states
-
getOnentry
OapiAction getOnentry()Returns an operation fired when entering the state.- Returns:
- an operation fired when entering the state
- See Also:
-
setOnentry
Set an operation fired when entering the state.- Parameters:
value- the new value of the 'Onentry' containment reference.- See Also:
-
getActivity
OapiAction getActivity()Returns an operation launched when entering the state and completed when exiting or earlier.- Returns:
- an operation launched when entering the state and completed when exiting or earlier
- See Also:
-
setActivity
Set an operation launched when entering the state and completed when exiting or earlier.- Parameters:
value- the new value of the 'Activity' containment reference.- See Also:
-
getOnexit
OapiAction getOnexit()Returns an operation launched when exiting the state.- Returns:
- an operation launched when exiting the state
- See Also:
-
setOnexit
Set an operation launched when exiting the state.- Parameters:
value- the new value of the 'Onexit' containment reference.- See Also:
-
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.- Returns:
- the name of the state
- See Also:
-
setName
Set the name of the state.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
-