Package org.nuiton.validator.bean
Class AbstractValidatorEvent<V>
- java.lang.Object
-
- java.util.EventObject
-
- org.nuiton.validator.bean.AbstractValidatorEvent<V>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BeanListValidatorEvent
,SimpleBeanValidatorEvent
public abstract class AbstractValidatorEvent<V> extends EventObject
TODO- Since:
- 2.5.2
- Author:
- Tony Chemit - chemit@codelutin.com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
field
the field impacted by the validatorprotected String[]
messagestoAdd
protected String[]
messagestoDelete
protected NuitonValidatorScope
scope
the scope impacted by the event-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AbstractValidatorEvent(V source, String field, NuitonValidatorScope scope, String[] messagestoAdd, String[] messagestoDelete)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Object
getBean()
String
getField()
String[]
getMessagesToAdd()
String[]
getMessagesToDelete()
NuitonValidatorScope
getScope()
V
getSource()
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
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
-
AbstractValidatorEvent
public AbstractValidatorEvent(V source, String field, NuitonValidatorScope scope, String[] messagestoAdd, String[] messagestoDelete)
-
-
Method Detail
-
getBean
public abstract Object getBean()
-
getSource
public V getSource()
- Overrides:
getSource
in classEventObject
-
getMessagesToAdd
public String[] getMessagesToAdd()
-
getMessagesToDelete
public String[] getMessagesToDelete()
-
getScope
public NuitonValidatorScope getScope()
-
getField
public String getField()
-
-