@Override public Object convertUponGet(final Object value) { if (value == null) { return null; } AuditEnumeration e = AuditEnumeration.class.cast(value); return e.value(); }
@Override public Object convertUponSet(final Object value) { if (value == null) { return null; } return AuditEnumeration.fromValue(value.toString()); }