Class State

  • Direct Known Subclasses:
    CompositeState, SimpleState

    public abstract class State
    extends java.lang.Object
    State abstract class.
    Author:
    jozik
    • Constructor Detail

      • State

        public State()
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getParent

        public State getParent()
      • setParent

        public void setParent​(State parent)
      • hasParent

        public boolean hasParent()
      • enterStateFromChild

        protected void enterStateFromChild()
      • enterStateFromInitialState

        protected void enterStateFromInitialState()
      • enterState

        public abstract void enterState()
      • exitState

        public abstract void exitState()
      • initializeState

        public abstract void initializeState()