com.xenonsoft.bridgetown.test.aop.transaction
Class CurrentAccountBean

java.lang.Object
  extended bycom.xenonsoft.bridgetown.test.aop.transaction.CurrentAccountBean

public class CurrentAccountBean
extends java.lang.Object

Current account Javabean

Version:
$Id: CurrentAccountBean.java,v 1.2 2005/02/23 01:32:39 peter_pilgrim Exp $
Author:
Peter Pilgrim, 28-Oct-2004 21:18:39

Field Summary
protected  int accountId
           
protected  java.lang.String accountName
           
protected  java.lang.String accountNumber
           
protected  double amount
           
 
Constructor Summary
CurrentAccountBean()
          Default constructor
CurrentAccountBean(int accountId)
          Standard constructor
CurrentAccountBean(int accountId, java.lang.String accountName, java.lang.String accountNumber, double amount)
          Standard constructor
 
Method Summary
 int getAccountId()
          Gets the accountId
 java.lang.String getAccountName()
          Gets the accountName
 java.lang.String getAccountNumber()
          Gets the accountNumber
 double getAmount()
          Gets the amount
 void setAccountId(int accountId)
          Sets the accountId
 void setAccountName(java.lang.String accountName)
          Sets the accountName
 void setAccountNumber(java.lang.String accountNumber)
          Sets the accountNumber
 void setAmount(double amount)
          Sets the amount
 java.lang.String toString()
          Dump debuggable string for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

accountId

protected int accountId

accountName

protected java.lang.String accountName

accountNumber

protected java.lang.String accountNumber

amount

protected double amount
Constructor Detail

CurrentAccountBean

public CurrentAccountBean()
Default constructor


CurrentAccountBean

public CurrentAccountBean(int accountId)
Standard constructor

Parameters:
accountId -

CurrentAccountBean

public CurrentAccountBean(int accountId,
                          java.lang.String accountName,
                          java.lang.String accountNumber,
                          double amount)
Standard constructor

Parameters:
accountId -
accountName -
accountNumber -
amount -
Method Detail

getAccountId

public int getAccountId()
Gets the accountId

Returns:
Returns the accountId.

setAccountId

public void setAccountId(int accountId)
Sets the accountId

Parameters:
accountId - the new value for accountId

getAccountName

public java.lang.String getAccountName()
Gets the accountName

Returns:
Returns the accountName.

setAccountName

public void setAccountName(java.lang.String accountName)
Sets the accountName

Parameters:
accountName - the new value for accountName

getAccountNumber

public java.lang.String getAccountNumber()
Gets the accountNumber

Returns:
Returns the accountNumber.

setAccountNumber

public void setAccountNumber(java.lang.String accountNumber)
Sets the accountNumber

Parameters:
accountNumber - the new value for accountNumber

getAmount

public double getAmount()
Gets the amount

Returns:
Returns the amount.

setAmount

public void setAmount(double amount)
Sets the amount

Parameters:
amount - the new value for amount

toString

public java.lang.String toString()
Dump debuggable string for this object. Implements / overrides toString

Returns:
String
See Also:
Object.toString()


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.