http://stackoverflow.com/questions/604424/java-convert-string-to-enum