View Javadoc

1   package org.kuali.student.r1.common.validator;
2   
3   import java.util.List;
4   import java.util.Stack;
5   
6   import org.kuali.student.r1.common.dictionary.dto.FieldDefinition;
7   import org.kuali.student.r1.common.dictionary.dto.ObjectStructureDefinition;
8   import org.kuali.student.r2.common.dto.ValidationResultInfo;
9   
10  // A equivelent with Contextinfo
11  //class has been created in R2 packages with upgraded metods/parameters
12  
13  @Deprecated
14  public interface Validator {
15  
16  	public List<ValidationResultInfo> validateObject(Object o, ObjectStructureDefinition objStructure);
17  	public List<ValidationResultInfo> validateObject(FieldDefinition field,Object o, ObjectStructureDefinition objStructure,Stack<String> elementStack);
18  }