1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.apache.commons.betwixt.dotbetwixt;
18
19 /**
20 * The bean used to identify a problem there was when a dotbetwixt file
21 * did not have any update methods on the element, but on the attributes.
22 *
23 * @author <a href="mstanley@cauldronsolutions.com">Mike Stanley</a>
24 * @version $Id: MsgBean.java 438373 2006-08-30 05:17:21Z bayard $
25 */
26 public class MsgBean
27 {
28 private String type;
29 private String status;
30 private String name;
31 private String description;
32 private String toAddress;
33 private String fromAddress;
34 private String optionalField1;
35 private String optionalField2;
36
37 /**
38 *
39 */
40 public MsgBean()
41 {
42 super();
43 }
44
45 /**
46 * @return
47 */
48 public String getFromAddress()
49 {
50 return fromAddress;
51 }
52
53 /**
54 * @param fromAddress
55 */
56 public void setFromAddress(String fromAddress)
57 {
58 this.fromAddress = fromAddress;
59 }
60
61 /**
62 * @return
63 */
64 public String getName()
65 {
66 return name;
67 }
68
69 /**
70 * @param name
71 */
72 public void setName(String name)
73 {
74 this.name = name;
75 }
76
77 /**
78 * @return
79 */
80 public String getStatus()
81 {
82 return status;
83 }
84
85 /**
86 * @param status
87 */
88 public void setStatus(String status)
89 {
90 this.status = status;
91 }
92
93 /**
94 * @return
95 */
96 public String getToAddress()
97 {
98 return toAddress;
99 }
100
101 /**
102 * @param toAddress
103 */
104 public void setToAddress(String toAddress)
105 {
106 this.toAddress = toAddress;
107 }
108
109 /**
110 * @return
111 */
112 public String getType()
113 {
114 return type;
115 }
116
117 /**
118 * @param type
119 */
120 public void setType(String type)
121 {
122 this.type = type;
123 }
124
125 /**
126 * @return
127 */
128 public String getDescription()
129 {
130 return description;
131 }
132
133 /**
134 * @param description
135 */
136 public void setDescription(String description)
137 {
138 this.description = description;
139 }
140
141 /**
142 * @return
143 */
144 public String getOptionalField1()
145 {
146 return optionalField1;
147 }
148
149 /**
150 * @param optionalField1
151 */
152 public void setOptionalField1(String optionalField1)
153 {
154 this.optionalField1 = optionalField1;
155 }
156
157 /**
158 * @return
159 */
160 public String getOptionalField2()
161 {
162 return optionalField2;
163 }
164
165 /**
166 * @param optionalField2
167 */
168 public void setOptionalField2(String optionalField2)
169 {
170 this.optionalField2 = optionalField2;
171 }
172
173 }