1 | |
package org.kuali.student.common.validator; |
2 | |
|
3 | |
import java.util.List; |
4 | |
import java.util.Stack; |
5 | |
|
6 | |
import org.kuali.student.core.dictionary.dto.FieldDefinition; |
7 | |
import org.kuali.student.core.dictionary.dto.ObjectStructureDefinition; |
8 | |
import org.kuali.student.core.validation.dto.ValidationResultInfo; |
9 | |
|
10 | |
public interface Validator { |
11 | |
|
12 | |
public List<ValidationResultInfo> validateObject(Object o, ObjectStructureDefinition objStructure); |
13 | |
public List<ValidationResultInfo> validateObject(FieldDefinition field,Object o, ObjectStructureDefinition objStructure,Stack<String> elementStack); |
14 | |
} |