예제 #1
0
 protected final void validate(ValidationReport report) {
   applyValidation(report);
   if (getEmbeddedObjects() != null) {
     for (FIBModelObject o : getEmbeddedObjects()) {
       o.validate(report);
     }
   }
 }
예제 #2
0
 public final ValidationReport validate() {
   ValidationReport returned = new ValidationReport(this);
   validate(returned);
   return returned;
 }