Gets the StateType corresponding to the description string name.
name
a character string state name
an StateType corresponding to name