KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > efs > openreports > objects > ORProperty


1 /*
2  * Copyright (C) 2005 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.objects;
21
22 import java.io.Serializable JavaDoc;
23
24 public class ORProperty implements Serializable JavaDoc
25 {
26     public static final String JavaDoc DATE_FORMAT = "date.format";
27     public static final String JavaDoc BASE_DIRECTORY = "base.directory";
28     public static final String JavaDoc MAIL_SMTP_HOST = "mail.smtp.host";
29     public static final String JavaDoc MAIL_SMTP_AUTH = "mail.smtp.auth";
30     public static final String JavaDoc MAIL_AUTH_USER = "mail.auth.user";
31     public static final String JavaDoc MAIL_AUTH_PASSWORD = "mail.auth.password";
32     public static final String JavaDoc TEMP_DIRECTORY = "temp.directory";
33     public static final String JavaDoc QUERYREPORT_MAXROWS = "queryreport.maxrows";
34     
35     private static final long serialVersionUID = 806285455871073093L;
36     
37     private Integer JavaDoc id;
38     private String JavaDoc key;
39     private String JavaDoc value;
40
41     public ORProperty()
42     {
43     }
44
45     public Integer JavaDoc getId()
46     {
47         return id;
48     }
49
50     public void setId(Integer JavaDoc id)
51     {
52         this.id = id;
53     }
54
55     public String JavaDoc getKey()
56     {
57         return key;
58     }
59
60     public void setKey(String JavaDoc key)
61     {
62         this.key = key;
63     }
64
65     public String JavaDoc getValue()
66     {
67         return value;
68     }
69
70     public void setValue(String JavaDoc value)
71     {
72         this.value = value;
73     }
74
75 }
Popular Tags