public Set getMessages(String propertyName) {
Set messages = new HashSet();
messages.addAll(validationResults.getMessages(propertyName));
Iterator childIter = children.iterator();
while (childIter.hasNext()) {
ValidationResultsModel childModel = (ValidationResultsModel) childIter.next();
messages.addAll(childModel.getMessages(propertyName));
}
return messages;
}