KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > communication > Attachment


1 /*
2  * Created on 29.03.2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 package org.contineo.communication;
8
9 /**
10  * @author Michael Scholz
11  *
12  * To change the template for this generated type comment go to
13  * Window>Preferences>Java>Code Generation>Code and Comments
14  */

15 public class Attachment {
16
17     /**
18      * @uml.property name="messageId"
19      */

20     private int messageId;
21     /**
22      * @uml.property name="partId"
23      */

24     private int partId;
25     /**
26      * @uml.property name="icon"
27      */

28     private String JavaDoc icon;
29     /**
30      * @uml.property name="filename"
31      */

32     private String JavaDoc filename;
33     /**
34      * @uml.property name="mimeType"
35      */

36     private String JavaDoc mimeType;
37     
38     /**
39      *
40      */

41     public Attachment() {
42         messageId = 0;
43         partId = 0;
44         icon = "";
45         filename = "";
46         mimeType = "";
47     }
48
49     /**
50      * @return
51      *
52      * @uml.property name="filename"
53      */

54     public String JavaDoc getFilename() {
55         return filename;
56     }
57
58     /**
59      * @return
60      *
61      * @uml.property name="icon"
62      */

63     public String JavaDoc getIcon() {
64         return icon;
65     }
66
67     /**
68      * @return
69      *
70      * @uml.property name="messageId"
71      */

72     public int getMessageId() {
73         return messageId;
74     }
75
76     /**
77      * @param string
78      *
79      * @uml.property name="filename"
80      */

81     public void setFilename(String JavaDoc string) {
82         filename = string;
83     }
84
85     /**
86      * @param string
87      *
88      * @uml.property name="icon"
89      */

90     public void setIcon(String JavaDoc string) {
91         icon = string;
92     }
93
94     /**
95      * @param i
96      *
97      * @uml.property name="messageId"
98      */

99     public void setMessageId(int i) {
100         messageId = i;
101     }
102
103     /**
104      * @return
105      *
106      * @uml.property name="partId"
107      */

108     public int getPartId() {
109         return partId;
110     }
111
112     /**
113      * @param i
114      *
115      * @uml.property name="partId"
116      */

117     public void setPartId(int i) {
118         partId = i;
119     }
120
121     /**
122      * @return
123      *
124      * @uml.property name="mimeType"
125      */

126     public String JavaDoc getMimeType() {
127         return mimeType;
128     }
129
130     /**
131      * @param string
132      *
133      * @uml.property name="mimeType"
134      */

135     public void setMimeType(String JavaDoc string) {
136         mimeType = string;
137     }
138
139 }
140
Popular Tags