    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.validator;
    18
    19  /***
    20   * Value object that contains different fields to test type conversion
    21   * validation.
    22   *
    23   * @version $Revision: 478334 $ $Date: 2006-11-22 21:31:54 +0000 (Wed, 22 Nov 2006) $
    24   */
    25  public class TypeBean {
    26
    27      private String sByte = null;
    28      private String sShort = null;
    29      private String sInteger = null;
    30      private String sLong = null;
    31      private String sFloat = null;
    32      private String sDouble = null;
    33      private String sDate = null;
    34      private String sCreditCard = null;
    35
    36      public String getByte() {
    37         return sByte;
    38      }
    39
    40      public void setByte(String sByte) {
    41         	this.sByte = sByte;
    42      }
    43
    44      public String getShort() {
    45         return sShort;
    46      }
    47
    48      public void setShort(String sShort) {
    49         	this.sShort = sShort;
    50      }
    51
    52      public String getInteger() {
    53         return sInteger;
    54      }
    55
    56      public void setInteger(String sInteger) {
    57         	this.sInteger = sInteger;
    58      }
    59
    60      public String getLong() {
    61         return sLong;
    62      }
    63
    64      public void setLong(String sLong) {
    65         	this.sLong = sLong;
    66      }
    67
    68      public String getFloat() {
    69         return sFloat;
    70      }
    71
    72      public void setFloat(String sFloat) {
    73         	this.sFloat = sFloat;
    74      }
    75
    76      public String getDouble() {
    77         return sDouble;
    78      }
    79
    80      public void setDouble(String sDouble) {
    81         	this.sDouble = sDouble;
    82      }
    83
    84      public String getDate() {
    85         return sDate;
    86      }
    87
    88      public void setDate(String sDate) {
    89         	this.sDate = sDate;
    90      }
    91
    92      public String getCreditCard() {
    93         return sCreditCard;
    94      }
    95
    96      public void setCreditCard(String sCreditCard) {
    97         	this.sCreditCard = sCreditCard;
    98      }
    99
    100 }