Package repast.simphony.statecharts
Class CompositeState<T>
- java.lang.Object
-
- repast.simphony.statecharts.AbstractState<T>
-
- repast.simphony.statecharts.CompositeState<T>
-
public class CompositeState<T> extends AbstractState<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AbstractState<T>>
children
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompositeState(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(AbstractState<T> state)
protected void
addHistoryState(HistoryState<T> historyState)
protected void
clearStateUuidMap()
protected AbstractState<T>
getEntryState()
protected List<HistoryState<T>>
getHistoryStates()
protected Map<AbstractState<T>,String>
getStateUuidMap()
protected void
putStateUuid(AbstractState<T> state, String uuid)
protected void
registerEntryState(AbstractState<T> state)
protected void
setStateUuidMap(Map<AbstractState<T>,String> stateUuidMap)
-
Methods inherited from class repast.simphony.statecharts.AbstractState
calculateLowestCommonAncestor, getAgent, getAncestors, getId, getParams, getParent, onEnter, onExit, registerOnEnter, registerOnExit, setParent, setStateChart, toString
-
-
-
-
Field Detail
-
children
protected List<AbstractState<T>> children
-
-
Constructor Detail
-
CompositeState
protected CompositeState(String id)
-
-
Method Detail
-
getHistoryStates
protected List<HistoryState<T>> getHistoryStates()
-
addHistoryState
protected void addHistoryState(HistoryState<T> historyState)
-
getEntryState
protected AbstractState<T> getEntryState()
-
registerEntryState
protected void registerEntryState(AbstractState<T> state)
-
add
protected void add(AbstractState<T> state)
-
getStateUuidMap
protected Map<AbstractState<T>,String> getStateUuidMap()
-
clearStateUuidMap
protected void clearStateUuidMap()
-
setStateUuidMap
protected void setStateUuidMap(Map<AbstractState<T>,String> stateUuidMap)
-
putStateUuid
protected void putStateUuid(AbstractState<T> state, String uuid)
-
-