Package org.springframework.binding.validation

Examples of org.springframework.binding.validation.ValidationResultsModel


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


  public Set getMessages(Severity severity) {
    Set messages = new HashSet();
    messages.addAll(validationResults.getMessages(severity));
    Iterator childIter = children.iterator();
    while (childIter.hasNext()) {
      ValidationResultsModel childModel = (ValidationResultsModel) childIter.next();
      messages.addAll(childModel.getMessages(severity));
    }
    return messages;
  }
View Full Code Here

  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;
  }
View Full Code Here

TOP

Related Classes of org.springframework.binding.validation.ValidationResultsModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.