Moving from LotusScript/SSJS to Java: Interfaces and Enums