org.nuiton.validator.bean
Class BeanValidatorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.nuiton.validator.bean.BeanValidatorEvent
All Implemented Interfaces:
Serializable

public class BeanValidatorEvent
extends EventObject

The definition of an event on BeanValidatorListener to be fired by a BeanValidator.

Since:
2.0
Author:
tchemit
See Also:
Serialized Form

Field Summary
protected  String field
          the field impacted by the validator
protected  String[] messagestoAdd
           
protected  String[] messagestoDelete
           
protected  NuitonValidatorScope scope
          the scope impacted by the event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BeanValidatorEvent(BeanValidator<?> source, String field, NuitonValidatorScope scope, String[] messagestoAdd, String[] messagestoDelete)
           
 
Method Summary
 String getField()
           
 String[] getMessagesToAdd()
           
 String[] getMessagesToDelete()
           
 NuitonValidatorScope getScope()
           
 BeanValidator<?> getSource()
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

field

protected String field
the field impacted by the validator


scope

protected NuitonValidatorScope scope
the scope impacted by the event


messagestoAdd

protected String[] messagestoAdd

messagestoDelete

protected String[] messagestoDelete
Constructor Detail

BeanValidatorEvent

public BeanValidatorEvent(BeanValidator<?> source,
                          String field,
                          NuitonValidatorScope scope,
                          String[] messagestoAdd,
                          String[] messagestoDelete)
Method Detail

getSource

public BeanValidator<?> getSource()
Overrides:
getSource in class EventObject

getMessagesToAdd

public String[] getMessagesToAdd()

getMessagesToDelete

public String[] getMessagesToDelete()

getScope

public NuitonValidatorScope getScope()

getField

public String getField()


Copyright © 2011-2012 CodeLutin. All Rights Reserved.