// one or more fields in the SingleResultQueryList might be a domain object,
// so, we need to set the relationshipInfo for those domain objects.
setRelationshipInfo(fields.get(i).getValue());
}
} else if (entity instanceof MultiResultQueryList) {
MultiResultQueryList list = (MultiResultQueryList) entity;
List<MultiResultQueryListItem> items = list.getItems();
for (int i = 0; i < items.size(); i++) {
MultiResultQueryListItem item = items.get(i);
List<JAXBElement> fields = item.getFields();
for (int index = 0; index < fields.size(); index++) {
// one or more fields in the MultiResultQueryList might be a domain object,