edu.cmu.mse.vault.transaction
Class TransactionRow

java.lang.Object
  extended byedu.cmu.mse.vault.transaction.TransactionRow
All Implemented Interfaces:
java.io.Serializable

public class TransactionRow
extends java.lang.Object
implements java.io.Serializable

Author:
minwang TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Constructor Summary
TransactionRow()
           
TransactionRow(int transID, int accountID, java.sql.Date transDate, int transType, int transferToAccount, double transAmount)
           
 
Method Summary
 int getAccountID()
           
 double getTransAmount()
           
 java.sql.Date getTransDate()
           
 int getTransferToAccount()
           
 int getTransID()
           
 int getTransType()
           
 void setAccountID(int accountID)
           
 void setTransAmount(double transAmount)
           
 void setTransDate(java.sql.Date transDate)
           
 void setTransferToAccount(int transferToAccount)
           
 void setTransID(int transID)
           
 void setTransType(int transType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionRow

public TransactionRow(int transID,
                      int accountID,
                      java.sql.Date transDate,
                      int transType,
                      int transferToAccount,
                      double transAmount)
Parameters:
transID -
accountID -
transDate -
transType -
transferToAccount -
transAmount -

TransactionRow

public TransactionRow()
Method Detail

getAccountID

public int getAccountID()
Returns:
Returns the accountID.

getTransAmount

public double getTransAmount()
Returns:
Returns the transAmount.

getTransDate

public java.sql.Date getTransDate()
Returns:
Returns the transDate.

getTransferToAccount

public int getTransferToAccount()
Returns:
Returns the transferToAccount.

getTransID

public int getTransID()
Returns:
Returns the transID.

getTransType

public int getTransType()
Returns:
Returns the transType.

setAccountID

public void setAccountID(int accountID)
Parameters:
accountID - The accountID to set.

setTransAmount

public void setTransAmount(double transAmount)
Parameters:
transAmount - The transAmount to set.

setTransDate

public void setTransDate(java.sql.Date transDate)
Parameters:
transDate - The transDate to set.

setTransferToAccount

public void setTransferToAccount(int transferToAccount)
Parameters:
transferToAccount - The transferToAccount to set.

setTransID

public void setTransID(int transID)
Parameters:
transID - The transID to set.

setTransType

public void setTransType(int transType)
Parameters:
transType - The transType to set.

toString

public java.lang.String toString()