INTERNAL:
Process the unique-constraints for a given table node.
NodeList uniqueConstraintNodes = helper.getNodes(node, XMLConstants.UNIQUE_CONSTRAINTS);
if (uniqueConstraintNodes != null) {
for (int i = 0; i < uniqueConstraintNodes.getLength(); i++) {
NodeList columnNameNodes = helper.getTextColumnNodes(uniqueConstraintNodes.item(i));
if (columnNameNodes != null) {
List<String> columnNames = new ArrayList<String>(columnNameNodes.getLength());
for (int k = 0; k < columnNameNodes.getLength(); k++) {
String columnName = columnNameNodes.item(k).getNodeValue();
if (columnName != null && !columnName.equals("")) {
columnNames.add(columnName);
}
}
if (columnNames.size() > 0) {
table.addUniqueConstraints(columnNames.toArray(new String[0]));
}
}
}
}