View Javadoc

1   package org.kuali.student.lum.course.service.impl;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   import java.util.Stack;
6   
7   import org.kuali.student.common.dictionary.dto.FieldDefinition;
8   import org.kuali.student.common.dictionary.dto.ObjectStructureDefinition;
9   import org.kuali.student.common.validation.dto.ValidationResultInfo;
10  import org.kuali.student.common.validator.DefaultValidatorImpl;
11  
12  public class MockDefaultValidatorImpl extends DefaultValidatorImpl
13  {
14  
15   @Override
16   public List<ValidationResultInfo> validateObject (Object o,
17                                                     ObjectStructureDefinition objStructure)
18   {
19    return new ArrayList ();
20   }
21  
22   @Override
23   public List<ValidationResultInfo> validateObject (FieldDefinition field,
24                                                     Object o,
25                                                     ObjectStructureDefinition objStructure,
26                                                     Stack<String> elementStack)
27   {
28    return new ArrayList ();
29   }
30  }