}
public State getCurrentState()
{
return state;
}
<BUG>public void setCurrentStateName(State name)
</BUG>
{
<BUG>if(name == null)
</BUG>
throw new IllegalArgumentException("name cannot be null");

}
@Override
public String toString() {
return "["+id+"] ";
}
public State getCurrentState()
{
return state;
}
public void setCurrentState(State state)
{
if(state == null)
