Save This Page
Home » openjdk-7 » net.sf.raptor » ui » testdata » [javadoc | source]
    1   /*********************************************************************************
    2    *                                                                               *
    3    * Raptor - Rapid prototyping of Swing GUIs based on JavaBeans like Java objects *
    4    * Copyright (C) 2003  XCOM AG                                                   *
    5    *                                                                               *
    6    * This library is free software; you can redistribute it and/or                 *
    7    * modify it under the terms of the GNU Lesser General Public                    *
    8    * License as published by the Free Software Foundation; either                  *
    9    * version 2.1 of the License, or (at your option) any later version.            *
   10    *                                                                               *
   11    * This library is distributed in the hope that it will be useful,               *
   12    * but WITHOUT ANY WARRANTY; without even the implied warranty of                *
   13    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             *
   14    * Lesser General Public License for more details.                               *
   15    *                                                                               *
   16    * You should have received a copy of the GNU Lesser General Public              *
   17    * License along with this library; if not, write to the Free Software           *
   18    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     *
   19    *                                                                               *
   20    *********************************************************************************/
   21   package net.sf.raptor.ui.testdata;
   22   
   23   /**
   24    * @author XCOM AG
   25    */
   26   public class TestBeanAccount {
   27   	
   28   	private String bankID;
   29   	private String accountNo;
   30   	private double balance;
   31   	
   32   	/**
   33   	 * constructor
   34   	 */
   35   	public TestBeanAccount() {
   36   	}
   37   
   38   	/**
   39   	 * constructor
   40   	 */
   41   	public TestBeanAccount(String bid, String ano, double d) {
   42   		bankID = bid;
   43   		accountNo = ano;
   44   		balance = d;
   45   	}
   46   
   47   
   48   	/**
   49   	 * @return
   50   	 */
   51   	public String getAccountNo() {
   52   		return accountNo;
   53   	}
   54   
   55   	/**
   56   	 * @return
   57   	 */
   58   	public double getBalance() {
   59   		return balance;
   60   	}
   61   
   62   	/**
   63   	 * @return
   64   	 */
   65   	public String getBankID() {
   66   		return bankID;
   67   	}
   68   
   69   	/**
   70   	 * @param string
   71   	 */
   72   	public void setAccountNo(String string) {
   73   		accountNo = string;
   74   	}
   75   
   76   	/**
   77   	 * @param d
   78   	 */
   79   	public void setBalance(double d) {
   80   		balance = d;
   81   	}
   82   
   83   	/**
   84   	 * @param string
   85   	 */
   86   	public void setBankID(String string) {
   87   		bankID = string;
   88   	}
   89   
   90   }

Save This Page
Home » openjdk-7 » net.sf.raptor » ui » testdata » [javadoc | source]