if (data.isEmpty()) {
retval = Collections.emptySet();
} else {
retval = new LinkedHashSet<ValueCheckExport>(data.size());
for (CheckExportType node : data) {
retval.add(new ValueCheckExport(document.lookupValue(node.getValueId()), node.getExportName()));
}
}
return retval;
}