1 /*
2 * $Header: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/TypeBean.java,v 1.5 2004/02/21 17:10:30 rleland Exp $
3 * $Revision: 1.5 $
4 * $Date: 2004/02/21 17:10:30 $
5 *
6 * ====================================================================
7 * Copyright 2001-2004 The Apache Software Foundation
8 *
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21
22
23 package org.apache.commons.validator;
24
25 /***
26 * Value object that contains different fields to test type conversion
27 * validation.
28 */
29 public class TypeBean {
30
31 private String sByte = null;
32 private String sShort = null;
33 private String sInteger = null;
34 private String sLong = null;
35 private String sFloat = null;
36 private String sDouble = null;
37 private String sDate = null;
38 private String sCreditCard = null;
39
40 public String getByte() {
41 return sByte;
42 }
43
44 public void setByte(String sByte) {
45 this.sByte = sByte;
46 }
47
48 public String getShort() {
49 return sShort;
50 }
51
52 public void setShort(String sShort) {
53 this.sShort = sShort;
54 }
55
56 public String getInteger() {
57 return sInteger;
58 }
59
60 public void setInteger(String sInteger) {
61 this.sInteger = sInteger;
62 }
63
64 public String getLong() {
65 return sLong;
66 }
67
68 public void setLong(String sLong) {
69 this.sLong = sLong;
70 }
71
72 public String getFloat() {
73 return sFloat;
74 }
75
76 public void setFloat(String sFloat) {
77 this.sFloat = sFloat;
78 }
79
80 public String getDouble() {
81 return sDouble;
82 }
83
84 public void setDouble(String sDouble) {
85 this.sDouble = sDouble;
86 }
87
88 public String getDate() {
89 return sDate;
90 }
91
92 public void setDate(String sDate) {
93 this.sDate = sDate;
94 }
95
96 public String getCreditCard() {
97 return sCreditCard;
98 }
99
100 public void setCreditCard(String sCreditCard) {
101 this.sCreditCard = sCreditCard;
102 }
103
104 }
This page was automatically generated by Maven