KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > efs > openreports > services > info > AlertInfo


1 /*
2  * Copyright (C) 2006 Erik Swenson - erik@oreports.com
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the Free
6  * Software Foundation; either version 2 of the License, or (at your option)
7  * any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16  * Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */

19
20 package org.efs.openreports.services.info;
21
22 /**
23  * AlertInfo object.
24  *
25  * @author Erik Swenson
26  *
27  */

28
29 public class AlertInfo
30 {
31     private String JavaDoc alertName;
32     private String JavaDoc condition;
33     private int count;
34     private boolean triggered;
35     private String JavaDoc reportName;
36     private String JavaDoc message;
37     
38     public String JavaDoc getAlertName()
39     {
40         return alertName;
41     }
42     
43     public void setAlertName(String JavaDoc alertName)
44     {
45         this.alertName = alertName;
46     }
47     
48     public String JavaDoc getCondition()
49     {
50         return condition;
51     }
52     
53     public void setCondition(String JavaDoc condition)
54     {
55         this.condition = condition;
56     }
57     
58     public int getCount()
59     {
60         return count;
61     }
62     
63     public void setCount(int count)
64     {
65         this.count = count;
66     }
67     
68     public String JavaDoc getReportName()
69     {
70         return reportName;
71     }
72     
73     public void setReportName(String JavaDoc reportName)
74     {
75         this.reportName = reportName;
76     }
77
78     public boolean isTriggered()
79     {
80         return triggered;
81     }
82
83     public void setTriggered(boolean triggered)
84     {
85         this.triggered = triggered;
86     }
87
88     public String JavaDoc getMessage()
89     {
90         return message;
91     }
92
93     public void setMessage(String JavaDoc message)
94     {
95         this.message = message;
96     }
97 }
98
Popular Tags