org.siebengeisslein.pclass.error
Class ErrorUtil
java.lang.Object
org.siebengeisslein.pclass.error.ErrorUtil
public class ErrorUtil
- extends java.lang.Object
|
Method Summary |
static void |
check(DefaultErrorList errorList,
boolean active,
ErrorItem error)
|
static void |
checkEmptyString(java.lang.String oldValue,
java.lang.String newValue,
DefaultErrorList errorList,
ErrorItem item)
|
static void |
checkNull(java.lang.Object oldValue,
java.lang.Object newValue,
DefaultErrorList errorList,
ErrorItem item)
|
static void |
checkNullEntry(java.util.Collection collection,
DefaultErrorList errorList,
ErrorItem item)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorUtil
public ErrorUtil()
checkEmptyString
public static void checkEmptyString(java.lang.String oldValue,
java.lang.String newValue,
DefaultErrorList errorList,
ErrorItem item)
checkNull
public static void checkNull(java.lang.Object oldValue,
java.lang.Object newValue,
DefaultErrorList errorList,
ErrorItem item)
checkNullEntry
public static void checkNullEntry(java.util.Collection collection,
DefaultErrorList errorList,
ErrorItem item)
check
public static void check(DefaultErrorList errorList,
boolean active,
ErrorItem error)