001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.commons.betwixt.dotbetwixt;
018:
019: /**
020: * The bean used to identify a problem there was when a dotbetwixt file
021: * did not have any update methods on the element, but on the attributes.
022: *
023: * @author <a href="mstanley@cauldronsolutions.com">Mike Stanley</a>
024: * @version $Id: MsgBean.java 438373 2006-08-30 05:17:21Z bayard $
025: */
026: public class MsgBean {
027: private String type;
028: private String status;
029: private String name;
030: private String description;
031: private String toAddress;
032: private String fromAddress;
033: private String optionalField1;
034: private String optionalField2;
035:
036: /**
037: *
038: */
039: public MsgBean() {
040: super ();
041: }
042:
043: /**
044: * @return
045: */
046: public String getFromAddress() {
047: return fromAddress;
048: }
049:
050: /**
051: * @param fromAddress
052: */
053: public void setFromAddress(String fromAddress) {
054: this .fromAddress = fromAddress;
055: }
056:
057: /**
058: * @return
059: */
060: public String getName() {
061: return name;
062: }
063:
064: /**
065: * @param name
066: */
067: public void setName(String name) {
068: this .name = name;
069: }
070:
071: /**
072: * @return
073: */
074: public String getStatus() {
075: return status;
076: }
077:
078: /**
079: * @param status
080: */
081: public void setStatus(String status) {
082: this .status = status;
083: }
084:
085: /**
086: * @return
087: */
088: public String getToAddress() {
089: return toAddress;
090: }
091:
092: /**
093: * @param toAddress
094: */
095: public void setToAddress(String toAddress) {
096: this .toAddress = toAddress;
097: }
098:
099: /**
100: * @return
101: */
102: public String getType() {
103: return type;
104: }
105:
106: /**
107: * @param type
108: */
109: public void setType(String type) {
110: this .type = type;
111: }
112:
113: /**
114: * @return
115: */
116: public String getDescription() {
117: return description;
118: }
119:
120: /**
121: * @param description
122: */
123: public void setDescription(String description) {
124: this .description = description;
125: }
126:
127: /**
128: * @return
129: */
130: public String getOptionalField1() {
131: return optionalField1;
132: }
133:
134: /**
135: * @param optionalField1
136: */
137: public void setOptionalField1(String optionalField1) {
138: this .optionalField1 = optionalField1;
139: }
140:
141: /**
142: * @return
143: */
144: public String getOptionalField2() {
145: return optionalField2;
146: }
147:
148: /**
149: * @param optionalField2
150: */
151: public void setOptionalField2(String optionalField2) {
152: this.optionalField2 = optionalField2;
153: }
154:
155: }
|