|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.apache.maven.j2ee.ValidationEvent
A class that holds details about the validation
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ValidationEvent(Object source)
Creates a new instance of ValidationEvent. |
|
ValidationEvent(Object source,
Object subject,
String message)
Creates a new instance of ValidationEvent. |
Method Summary | |
String |
getMessage()
Getter for property message. |
Object |
getSubject()
Getter for property subject. |
void |
setMessage(String message)
Setter for property message. |
void |
setSubject(Object subject)
Set the subject of the validation event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ValidationEvent(Object source)
source
- the source of the event, some validator.public ValidationEvent(Object source, Object subject, String message)
source
- the source of the event, some validator.subject
- the object being validatedmessage
- the validation messageMethod Detail |
public String getMessage()
public void setMessage(String message)
message
- New value of property message.public Object getSubject()
public void setSubject(Object subject)
subject
- New value of property subject.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |