return (source instanceof EventType) ? ((AccountType) source).name() : null;
return (source instanceof AccountType) ? ((AccountType) source).name() : null;
    public Object javaToSql(Object source) throws ConversionException {        return (source instanceof EventType) ? ((AccountType) source).name() : null;      }