A POJO field with enum type should be generated to an attribute definition of type string with canonical values that corresponds to the Enum types.