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 $
4
* $Date: 2004/02/21 17:10:30 $
6
* ====================================================================
7
* Copyright 2001-2004 The Apache Software Foundation
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
13
* http://www.apache.org/licenses/LICENSE-2.0
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.
23
package org.apache.commons.validator;
26
* Value object that contains different fields to test type conversion
29
public class TypeBean {
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;
40
public String getByte() {
44
public void setByte(String sByte) {
48
public String getShort() {
52
public void setShort(String sShort) {
56
public String getInteger() {
60
public void setInteger(String sInteger) {
61
this.sInteger = sInteger;
64
public String getLong() {
68
public void setLong(String sLong) {
72
public String getFloat() {
76
public void setFloat(String sFloat) {
80
public String getDouble() {
84
public void setDouble(String sDouble) {
85
this.sDouble = sDouble;
88
public String getDate() {
92
public void setDate(String sDate) {
96
public String getCreditCard() {
100
public void setCreditCard(String sCreditCard) {
101
this.sCreditCard = sCreditCard;
b'\\ No newline at end of file'