Groovy Documentation

src.main.net.sourceforge.gvalidation
Class Errors

java.lang.Object
  src.main.net.sourceforge.gvalidation.Errors

class Errors

Created by nick.zhu


Property Summary
static def FIRE_PROPERTY_CHANGE_METHOD_NAME

def fieldErrors

def globalErrors

def parent

 
Constructor Summary
Errors()

Errors(def parent)

 
Method Summary
def clear()

private Errors cloneErrors()

private def fireErrorChangedEventOnParent(Errors oldErrors)

def getFieldError(def field)

def getFieldErrors(def field)

def hasErrors()

def hasFieldErrors()

def hasFieldErrors(def field)

def hasGlobalErrors()

private def hasPropertyChangeNotifier()

def iterator()

def reject(def errorCode)

def reject(def errorCode, def defaultErrorCode)

def reject(def errorCode, java.util.List arguments)

def reject(def errorCode, def defaultErrorCode, java.util.List arguments)

def rejectValue(def field, def errorCode)

def rejectValue(def field, def errorCode, def defaultErrorCode)

def rejectValue(def field, def errorCode, java.util.List arguments)

def rejectValue(def field, def errorCode, def defaultErrorCode, java.util.List arguments)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

FIRE_PROPERTY_CHANGE_METHOD_NAME

static final def FIRE_PROPERTY_CHANGE_METHOD_NAME


fieldErrors

def fieldErrors


globalErrors

def globalErrors


parent

def parent


 
Constructor Detail

Errors

public Errors()


Errors

public Errors(def parent)


 
Method Detail

clear

public def clear()


cloneErrors

private Errors cloneErrors()


fireErrorChangedEventOnParent

private def fireErrorChangedEventOnParent(Errors oldErrors)


getFieldError

public def getFieldError(def field)


getFieldErrors

public def getFieldErrors(def field)


hasErrors

public def hasErrors()


hasFieldErrors

public def hasFieldErrors()


hasFieldErrors

public def hasFieldErrors(def field)


hasGlobalErrors

public def hasGlobalErrors()


hasPropertyChangeNotifier

private def hasPropertyChangeNotifier()


iterator

public def iterator()


reject

public def reject(def errorCode)


reject

public def reject(def errorCode, def defaultErrorCode)


reject

public def reject(def errorCode, java.util.List arguments)


reject

public def reject(def errorCode, def defaultErrorCode, java.util.List arguments)


rejectValue

public def rejectValue(def field, def errorCode)


rejectValue

public def rejectValue(def field, def errorCode, def defaultErrorCode)


rejectValue

public def rejectValue(def field, def errorCode, java.util.List arguments)


rejectValue

public def rejectValue(def field, def errorCode, def defaultErrorCode, java.util.List arguments)


 

Groovy Documentation