Class StateModelSimpleStateImpl
- java.lang.Object
-
- org.nuiton.eugene.models.state.xml.StateModelStateImpl
-
- org.nuiton.eugene.models.state.xml.StateModelSimpleStateImpl
-
- All Implemented Interfaces:
StateModelSimpleState
,StateModelState
public class StateModelSimpleStateImpl extends StateModelStateImpl implements StateModelSimpleState
StateModelSimpleStateImpl.java- Author:
- chatellier
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
finalState
final state ?protected boolean
initialState
init state ?-
Fields inherited from class org.nuiton.eugene.models.state.xml.StateModelStateImpl
listTransitions, name
-
-
Constructor Summary
Constructors Constructor Description StateModelSimpleStateImpl()
Constructeur
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFinal()
State final statusboolean
isInitial()
State initial statusvoid
setFinal(boolean finalState)
void
setInitial(boolean initialState)
-
Methods inherited from class org.nuiton.eugene.models.state.xml.StateModelStateImpl
addTransition, getName, getTransitions, isComplex, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuiton.eugene.models.state.StateModelState
getName, getTransitions, isComplex
-
-
-
-
Method Detail
-
isFinal
public boolean isFinal()
Description copied from interface:StateModelSimpleState
State final status- Specified by:
isFinal
in interfaceStateModelSimpleState
- Overrides:
isFinal
in classStateModelStateImpl
- Returns:
- the finalState
-
setFinal
public void setFinal(boolean finalState)
- Parameters:
finalState
- the finalState to set
-
isInitial
public boolean isInitial()
Description copied from interface:StateModelSimpleState
State initial status- Specified by:
isInitial
in interfaceStateModelSimpleState
- Overrides:
isInitial
in classStateModelStateImpl
- Returns:
- the initialState
-
setInitial
public void setInitial(boolean initialState)
- Parameters:
initialState
- the initialState to set
-
-