Object obj = objField.get(target);
if (obj instanceof Collection) {
Collection objs = (Collection) obj;
Iterator iterator = objs.iterator();
while (iterator.hasNext()) {
Document member = (Document) iterator.next();
if (member == null) continue;
if (!member.valid()) {
validateResultList.addAll(member.validateResults);
}
}
} else/*单个对象*/ {
Document member = (Document) obj;
if (member == null) continue;
if (!member.valid()) {
validateResultList.addAll(member.validateResults);
}
}
}
}