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 Stringfieldthe field impacted by the validatorprotected String[]messagestoAddprotected String[]messagestoDeleteprotected NuitonValidatorScopescopethe 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 ObjectgetBean()StringgetField()String[]getMessagesToAdd()String[]getMessagesToDelete()NuitonValidatorScopegetScope()VgetSource()-
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:
getSourcein classEventObject
-
getMessagesToAdd
public String[] getMessagesToAdd()
-
getMessagesToDelete
public String[] getMessagesToDelete()
-
getScope
public NuitonValidatorScope getScope()
-
getField
public String getField()
-
-