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 155402 2005-02-26 12:52:00Z dirkv $
24   */
25  public class MsgBean
26  {
27      private String type;
28      private String status;
29      private String name;
30      private String description;
31      private String toAddress;
32      private String fromAddress;
33      private String optionalField1;
34      private String optionalField2;    
35  
36      /***
37       * 
38       */
39      public MsgBean()
40      {
41          super();
42      }
43  
44      /***
45       * @return
46       */
47      public String getFromAddress()
48      {
49          return fromAddress;
50      }
51  
52      /***
53       * @param fromAddress
54       */
55      public void setFromAddress(String fromAddress)
56      {
57          this.fromAddress = fromAddress;
58      }
59  
60      /***
61       * @return
62       */
63      public String getName()
64      {
65          return name;
66      }
67  
68      /***
69       * @param name
70       */
71      public void setName(String name)
72      {
73          this.name = name;
74      }
75  
76      /***
77       * @return
78       */
79      public String getStatus()
80      {
81          return status;
82      }
83  
84      /***
85       * @param status
86       */
87      public void setStatus(String status)
88      {
89          this.status = status;
90      }
91  
92      /***
93       * @return
94       */
95      public String getToAddress()
96      {
97          return toAddress;
98      }
99  
100     /***
101      * @param toAddress
102      */
103     public void setToAddress(String toAddress)
104     {
105         this.toAddress = toAddress;
106     }
107 
108     /***
109      * @return
110      */
111     public String getType()
112     {
113         return type;
114     }
115 
116     /***
117      * @param type
118      */
119     public void setType(String type)
120     {
121         this.type = type;
122     }
123 
124     /***
125      * @return
126      */
127     public String getDescription()
128     {
129         return description;
130     }
131 
132     /***
133      * @param description
134      */
135     public void setDescription(String description)
136     {
137         this.description = description;
138     }
139 
140     /***
141      * @return
142      */
143     public String getOptionalField1()
144     {
145         return optionalField1;
146     }
147 
148     /***
149      * @param optionalField1
150      */
151     public void setOptionalField1(String optionalField1)
152     {
153         this.optionalField1 = optionalField1;
154     }
155 
156     /***
157      * @return
158      */
159     public String getOptionalField2()
160     {
161         return optionalField2;
162     }
163 
164     /***
165      * @param optionalField2
166      */
167     public void setOptionalField2(String optionalField2)
168     {
169         this.optionalField2 = optionalField2;
170     }
171 
172 }