org.siebengeisslein.pclass.error
Class ErrorUtil

java.lang.Object
  extended by org.siebengeisslein.pclass.error.ErrorUtil

public class ErrorUtil
extends java.lang.Object


Constructor Summary
ErrorUtil()
           
 
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
 

Constructor Detail

ErrorUtil

public ErrorUtil()
Method Detail

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)