KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > dlog4j > formbean > AttachmentForm


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

16 package dlog4j.formbean;
17
18 /**
19  * 日记附件,对应表dlog_attachement
20  * @author Liudong
21  */

22 public class AttachmentForm extends DlogActionForm {
23     
24     int id;
25     int type;
26     LogForm log;
27     int urlType;
28     String JavaDoc url;
29
30     public int getId() {
31         return id;
32     }
33     public void setId(int id) {
34         this.id = id;
35     }
36     public LogForm getLog() {
37         return log;
38     }
39     public void setLog(LogForm log) {
40         this.log = log;
41     }
42     public int getType() {
43         return type;
44     }
45     public void setType(int type) {
46         this.type = type;
47     }
48     public String JavaDoc getUrl() {
49         return url;
50     }
51     public void setUrl(String JavaDoc url) {
52         this.url = url;
53     }
54     public int getUrlType() {
55         return urlType;
56     }
57     public void setUrlType(int urlType) {
58         this.urlType = urlType;
59     }
60 }
61
Popular Tags