string ke enum java

EnumType.valueOf(yourString)
Excited Echidna