|| o instanceof Date)
|| o instanceof Date || o instanceof Boolean)
    public Object filter(String fieldId, Object o)    {        Object result;        if (o == null) {            return null;        } else if (o instanceof IObject) {            result = filter(fieldId, (Filterable) o);        } else if (o instanceof Collection) {            result = filter(fieldId, (Collection) o);        } else  if (o instanceof Map) {            result = filter(fieldId, (Map) o);        } else if (                o instanceof Details                || o instanceof Number                || o instanceof String                || o instanceof Date)        {             result = o;        } else {            throw new RuntimeException(                    "Update Filter cannot allow unknown types to be saved." +                    o.getClass().getName()+" is not in {IObject,Collection,Map}");         }        return result;    }