001: /*
002: * ====================================================================
003: * JAFFA - Java Application Framework For All
004: *
005: * Copyright (C) 2002 JAFFA Development Group
006: *
007: * This library is free software; you can redistribute it and/or
008: * modify it under the terms of the GNU Lesser General Public
009: * License as published by the Free Software Foundation; either
010: * version 2.1 of the License, or (at your option) any later version.
011: *
012: * This library is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public
018: * License along with this library; if not, write to the Free Software
019: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020: *
021: * Redistribution and use of this software and associated documentation ("Software"),
022: * with or without modification, are permitted provided that the following conditions are met:
023: * 1. Redistributions of source code must retain copyright statements and notices.
024: * Redistributions must also contain a copy of this document.
025: * 2. Redistributions in binary form must reproduce the above copyright notice,
026: * this list of conditions and the following disclaimer in the documentation
027: * and/or other materials provided with the distribution.
028: * 3. The name "JAFFA" must not be used to endorse or promote products derived from
029: * this Software without prior written permission. For written permission,
030: * please contact mail to: jaffagroup@yahoo.com.
031: * 4. Products derived from this Software may not be called "JAFFA" nor may "JAFFA"
032: * appear in their names without prior written permission.
033: * 5. Due credit should be given to the JAFFA Project (http://jaffa.sourceforge.net).
034: *
035: * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
036: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
037: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
038: * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
039: * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
040: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
041: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
042: * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
043: * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
044: * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
045: * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
046: * SUCH DAMAGE.
047: * ====================================================================
048: */
049: package org.jaffa.util;
050:
051: import org.jaffa.components.dto.HeaderDto;
052: import org.jaffa.datatypes.DateTime;
053:
054: /**
055: *
056: * @author Robert
057: */
058: public class TestBean1 {
059:
060: /** Holds value of property test1. */
061: private String test1;
062:
063: /** Holds value of property test2. */
064: private Long test2;
065:
066: /** Holds value of property test3. */
067: private int test3;
068:
069: /** Holds value of property test4. */
070: private Boolean test4;
071:
072: /** Holds value of property test5. */
073: private DateTime[] test5;
074:
075: /** Holds value of property test6. */
076: private long[] test6;
077:
078: /** Holds value of property test7. */
079: private HeaderDto test7;
080:
081: /** Creates a new instance of TestBean1 */
082: public TestBean1() {
083: }
084:
085: /** Getter for property test1.
086: * @return Value of property test1.
087: */
088: public String getTest1() {
089: return this .test1;
090: }
091:
092: /** Setter for property test1.
093: * @param test1 New value of property test1.
094: */
095: public void setTest1(String test1) {
096: this .test1 = test1;
097: }
098:
099: /** Getter for property test2.
100: * @return Value of property test2.
101: */
102: public Long getTest2() {
103: return this .test2;
104: }
105:
106: /** Setter for property test2.
107: * @param test2 New value of property test2.
108: */
109: public void setTest2(Long test2) {
110: }
111:
112: /** Getter for property test3.
113: * @return Value of property test3.
114: */
115: public int getTest3() {
116: return this .test3;
117: }
118:
119: /** Setter for property test3.
120: * @param test3 New value of property test3.
121: */
122: public void setTest3(int test3) {
123: this .test3 = test3;
124: }
125:
126: /** Getter for property test4.
127: * @return Value of property test4.
128: */
129: public Boolean getTest4() {
130: return this .test4;
131: }
132:
133: /** Setter for property test4.
134: * @param test4 New value of property test4.
135: */
136: public void setTest4(Boolean test4) {
137: this .test4 = test4;
138: }
139:
140: /** Indexed getter for property test6.
141: * @param index Index of the property.
142: * @return Value of the property at <CODE>index</CODE>.
143: */
144: public long getTest6(int index) {
145: return this .test6[index];
146: }
147:
148: /** Getter for property test6.
149: * @return Value of property test6.
150: */
151: public long[] getTest6() {
152: return this .test6;
153: }
154:
155: /** Indexed setter for property test6.
156: * @param index Index of the property.
157: * @param test6 New value of the property at <CODE>index</CODE>.
158: */
159: public void setTest6(int index, long test6) {
160: this .test6[index] = test6;
161: }
162:
163: /** Setter for property test6.
164: * @param test6 New value of property test6.
165: */
166: public void setTest6(long[] test6) {
167: this .test6 = test6;
168: }
169:
170: /** Indexed getter for property test5.
171: * @param index Index of the property.
172: * @return Value of the property at <CODE>index</CODE>.
173: */
174: public DateTime getTest5(int index) {
175: return this .test5[index];
176: }
177:
178: /** Getter for property test5.
179: * @return Value of property test5.
180: */
181: public DateTime[] getTest5() {
182: return this .test5;
183: }
184:
185: /** Indexed setter for property test5.
186: * @param index Index of the property.
187: * @param test5 New value of the property at <CODE>index</CODE>.
188: */
189: public void setTest5(int index, DateTime test5) {
190: this .test5[index] = test5;
191: }
192:
193: /** Setter for property test5.
194: * @param test5 New value of property test5.
195: */
196: public void setTest5(DateTime[] test5) {
197: this .test5 = test5;
198: }
199:
200: /** Getter for property test7.
201: * @return Value of property test7.
202: */
203: public HeaderDto getTest7() {
204: return this .test7;
205: }
206:
207: /** Setter for property test7.
208: * @param test7 New value of property test7.
209: */
210: public void setTest7(HeaderDto test7) {
211: this.test7 = test7;
212: }
213:
214: }
|