public abstract class EnterableState extends TransitionTarget implements DocumentOrder
documentOrderComparator, reverseDocumentOrderComparator
Constructor and Description |
---|
EnterableState() |
Modifier and Type | Method and Description |
---|---|
void |
addOnEntry(OnEntry onEntry)
Adds an OnEntry element
|
void |
addOnExit(OnExit onExit)
Add an OnExit element
|
List<OnEntry> |
getOnEntries()
Get the OnEntry elements.
|
List<OnExit> |
getOnExits()
Get the OnExit elements
|
int |
getOrder() |
abstract boolean |
isAtomicState()
Check whether this is an atomic state.
|
void |
setOrder(int order)
Sets the document order of this state
|
equals, getAncestor, getId, getNumberOfAncestors, getObservableId, getParent, hashCode, isDescendantOf, setId, setObservableId, setParent, updateDescendantsAncestors
public EnterableState()
public final int getOrder()
getOrder
in interface DocumentOrder
DocumentOrder
public final void setOrder(int order)
order
- the document orderDocumentOrder
public final List<OnEntry> getOnEntries()
public final void addOnEntry(OnEntry onEntry)
onEntry
- The onEntry to add.public final List<OnExit> getOnExits()
public final void addOnExit(OnExit onExit)
onExit
- The onExit to add.public abstract boolean isAtomicState()
An atomic state is a state of type Final or of type State without children,
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.