Package com.esprow.oapi.repository
Interface OapiTransition
public interface OapiTransition
A transition to a new state of a state machine.
The following attributes and references are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns all metadata on an element (documentation etc.).getName()Returns the name of the transition.Returns the target state of the transition.getWhen()Returns a logic statement defining the condition when the transition is allowed.voidsetAnnotation(OapiAnnotation value) Set all metadata on an element (documentation etc.).voidSet the name of the transition.voidSet the target state of the transition.voidSet a logic statement defining the condition when the transition is allowed.
-
Method Details
-
getWhen
String getWhen()Returns a logic statement defining the condition when the transition is allowed.- Returns:
- a logic statement defining the condition when the transition is allowed
- See Also:
-
setWhen
Set a logic statement defining the condition when the transition is allowed.- Parameters:
value- the new value of the 'When' attribute.- 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 transition.- Returns:
- the name of the transition
- See Also:
-
setName
Set the name of the transition.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
-
getTarget
String getTarget()Returns the target state of the transition.- Returns:
- the target state of the transition
- See Also:
-
setTarget
Set the target state of the transition.- Parameters:
value- the new value of the 'Target' attribute.- See Also:
-