Fixed javaEnum.OnOff to conform to the Proof of Concept