org.nuiton.validator.bean
Class BeanValidatorEvent
java.lang.Object
java.util.EventObject
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
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
BeanValidatorEvent
public BeanValidatorEvent(BeanValidator<?> source,
String field,
NuitonValidatorScope scope,
String[] messagestoAdd,
String[] messagestoDelete)
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 CodeLutin. All Rights Reserved.