Getting the Enum from a String value
Ever asked yourself the question how you could get the Enum from a String value? This is particularly usefull when you use Enum values in your screens and pass back the value of the enum!
Enum.valueOf(YourClassName.class, "String Value")
http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html