model
Class State

java.lang.Object
  extended by model.State

public class State
extends java.lang.Object

A State refers to the state the machine is currently in.

Author:
Nadim Rafehi

Field Summary
 java.lang.String state
           
 
Constructor Summary
State(java.lang.String state)
          Takes a string state referring to the state of machine.
 
Method Summary
 java.lang.String getState()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

public java.lang.String state
Constructor Detail

State

public State(java.lang.String state)
Takes a string state referring to the state of machine.

Parameters:
state -
Method Detail

getState

public java.lang.String getState()
Returns:
the state