org.kuali.student.common.validator.old
Class ValidatorUtils
java.lang.Object
org.kuali.student.common.validator.old.ValidatorUtils
public class ValidatorUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorUtils
public ValidatorUtils()
compareValues
public static boolean compareValues(Object value1,
Object value2,
String dataType,
String operator,
DateParser dateParser)
getInteger
protected static Integer getInteger(Object o)
getLong
protected static Long getLong(Object o)
getFloat
protected static Float getFloat(Object o)
getDouble
protected static Double getDouble(Object o)
getDate
protected static Date getDate(Object o,
DateParser dateParser)
getString
protected static String getString(Object o)
getBoolean
private static Boolean getBoolean(Object o)
getField
protected static Field getField(String key,
ObjectStructure objStructure,
String type,
String state)
- Traverses the dictionary ObjectStructure to find the field with the match
key, type and state
- Parameters:
key
- type
- state
- objStructure
-
- Returns:
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.