KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > betwixt > dotbetwixt > MsgBean


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.commons.betwixt.dotbetwixt;
17
18 /**
19  * The bean used to identify a problem there was when a dotbetwixt file
20  * did not have any update methods on the element, but on the attributes.
21  *
22  * @author <a HREF="mstanley@cauldronsolutions.com">Mike Stanley</a>
23  * @version $Id: MsgBean.java,v 1.2 2004/02/28 13:38:35 yoavs Exp $
24  */

25 public class MsgBean
26 {
27     private String JavaDoc type;
28     private String JavaDoc status;
29     private String JavaDoc name;
30     private String JavaDoc description;
31     private String JavaDoc toAddress;
32     private String JavaDoc fromAddress;
33     private String JavaDoc optionalField1;
34     private String JavaDoc optionalField2;
35
36     /**
37      *
38      */

39     public MsgBean()
40     {
41         super();
42     }
43
44     /**
45      * @return
46      */

47     public String JavaDoc getFromAddress()
48     {
49         return fromAddress;
50     }
51
52     /**
53      * @param fromAddress
54      */

55     public void setFromAddress(String JavaDoc fromAddress)
56     {
57         this.fromAddress = fromAddress;
58     }
59
60     /**
61      * @return
62      */

63     public String JavaDoc getName()
64     {
65         return name;
66     }
67
68     /**
69      * @param name
70      */

71     public void setName(String JavaDoc name)
72     {
73         this.name = name;
74     }
75
76     /**
77      * @return
78      */

79     public String JavaDoc getStatus()
80     {
81         return status;
82     }
83
84     /**
85      * @param status
86      */

87     public void setStatus(String JavaDoc status)
88     {
89         this.status = status;
90     }
91
92     /**
93      * @return
94      */

95     public String JavaDoc getToAddress()
96     {
97         return toAddress;
98     }
99
100     /**
101      * @param toAddress
102      */

103     public void setToAddress(String JavaDoc toAddress)
104     {
105         this.toAddress = toAddress;
106     }
107
108     /**
109      * @return
110      */

111     public String JavaDoc getType()
112     {
113         return type;
114     }
115
116     /**
117      * @param type
118      */

119     public void setType(String JavaDoc type)
120     {
121         this.type = type;
122     }
123
124     /**
125      * @return
126      */

127     public String JavaDoc getDescription()
128     {
129         return description;
130     }
131
132     /**
133      * @param description
134      */

135     public void setDescription(String JavaDoc description)
136     {
137         this.description = description;
138     }
139
140     /**
141      * @return
142      */

143     public String JavaDoc getOptionalField1()
144     {
145         return optionalField1;
146     }
147
148     /**
149      * @param optionalField1
150      */

151     public void setOptionalField1(String JavaDoc optionalField1)
152     {
153         this.optionalField1 = optionalField1;
154     }
155
156     /**
157      * @return
158      */

159     public String JavaDoc getOptionalField2()
160     {
161         return optionalField2;
162     }
163
164     /**
165      * @param optionalField2
166      */

167     public void setOptionalField2(String JavaDoc optionalField2)
168     {
169         this.optionalField2 = optionalField2;
170     }
171
172 }
173
Popular Tags