|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.activity.NotificationEvent
org.eclipse.birt.report.model.api.validators.ValidationEvent
public class ValidationEvent
Notification event that says that the validation is performed and whether error exists. This event provides the information: the validated element, the validation ID and the error list.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ValidationEvent(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String validationID,
java.util.List errors)
Constructs the validation event. |
|
| Method Summary | |
|---|---|
java.util.List |
getErrors()
Returns the error list which is the validation result. |
int |
getEventType()
Returns the event type. |
java.lang.String |
getValidationID()
Returns the ID of the validation this event represents. |
| Methods inherited from class org.eclipse.birt.report.model.api.activity.NotificationEvent |
|---|
getDeliveryPath, getSender, getTarget, isSame, setDeliveryPath, setSender, setTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationEvent(org.eclipse.birt.report.model.core.DesignElement obj,
java.lang.String validationID,
java.util.List errors)
obj - the element which is validated.validationID - the validation IDerrors - the error list which is the validation result. Each one is the
instance of ErrorDetail.| Method Detail |
|---|
public int getEventType()
NotificationEvent
getEventType in class NotificationEventpublic java.util.List getErrors()
ErrorDetail.
public java.lang.String getValidationID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||