org.kuali.student.common.dictionary.service.impl
Class DictionaryValidator
java.lang.Object
org.kuali.student.common.dictionary.service.impl.DictionaryValidator
public class DictionaryValidator
- extends Object
Method Summary |
private void |
errorIfNotNull(List<String> errors,
FieldDefinition fd,
String validation,
Object value)
|
List<String> |
validate()
|
private List<String> |
validateCase(FieldDefinition fd,
CaseConstraint cc)
|
private Object |
validateConversion(List<String> errors,
String fieldName,
String propertyName,
DataType dataType,
Object value)
|
private List<String> |
validateField(FieldDefinition fd)
|
private List<String> |
validateLookup(FieldDefinition fd,
LookupConstraint lc)
|
private List<String> |
validateValidChars(FieldDefinition fd,
ValidCharsConstraint vc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
os
private ObjectStructureDefinition os
processSubStructures
private boolean processSubStructures
alreadyValidated
private Set<ObjectStructureDefinition> alreadyValidated
GREATER_THAN_EQUAL
public static final String GREATER_THAN_EQUAL
- See Also:
- Constant Field Values
LESS_THAN_EQUAL
public static final String LESS_THAN_EQUAL
- See Also:
- Constant Field Values
GREATER_THAN
public static final String GREATER_THAN
- See Also:
- Constant Field Values
LESS_THAN
public static final String LESS_THAN
- See Also:
- Constant Field Values
EQUALS
public static final String EQUALS
- See Also:
- Constant Field Values
NOT_EQUAL
public static final String NOT_EQUAL
- See Also:
- Constant Field Values
VALID_OPERATORS
private static final String[] VALID_OPERATORS
DictionaryValidator
public DictionaryValidator(ObjectStructureDefinition os,
Set<ObjectStructureDefinition> alreadyValidated,
boolean processSubstructures)
validate
public List<String> validate()
validateField
private List<String> validateField(FieldDefinition fd)
errorIfNotNull
private void errorIfNotNull(List<String> errors,
FieldDefinition fd,
String validation,
Object value)
validateConversion
private Object validateConversion(List<String> errors,
String fieldName,
String propertyName,
DataType dataType,
Object value)
validateValidChars
private List<String> validateValidChars(FieldDefinition fd,
ValidCharsConstraint vc)
validateLookup
private List<String> validateLookup(FieldDefinition fd,
LookupConstraint lc)
validateCase
private List<String> validateCase(FieldDefinition fd,
CaseConstraint cc)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.