Use correct case for enum fields on the RHS

Add genEnum methods to both Java and Scala generators. For enum fields, Java uses upper case, Scala uses title case. We didn't differentiate this before when it's on the RHS

RB_ID=121009