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