01: package com.sun.portal.app.sharedevents.faces;
02:
03: public class EventAlert {
04:
05: public static final String ALERT_TYPE_INFORMATION = "information";
06: public static final String ALERT_TYPE_ERROR = "error";
07: private boolean showAlert = false;
08: private String alertType = ALERT_TYPE_INFORMATION;
09: private String messageSummary = null;
10: private String messageDetail = null;
11:
12: public boolean getShowAlert() {
13: return this .showAlert;
14: }
15:
16: public void setShowAlert(boolean alert) {
17: this .showAlert = alert;
18: }
19:
20: public String getAlertType() {
21: return alertType;
22: }
23:
24: public void setAlertType(String type) {
25: this .alertType = type;
26: }
27:
28: public String getMessageSummary() {
29: return messageSummary;
30: }
31:
32: public void setMessageSummary(String summary) {
33: messageSummary = summary;
34: }
35:
36: public String getMessageDetail() {
37: return messageDetail;
38: }
39:
40: public void setmessageDetail(String detail) {
41: this.messageDetail = detail;
42: }
43: }
|