NodeObjectNew::SetStateName

Set the name of a state.