com.carlosbcruz.account.modeltotals
Class AccountTransactionTotal

java.lang.Object
  extended by com.carlosbcruz.account.modeltotals.AccountTransactionTotal

public class AccountTransactionTotal
extends java.lang.Object

Represents the total of the com.carlosbcruz.account.control and savings relationg to a specifc transaction on the model.

Author:
Carlos Fernando Bella Cruz - pessoal@carlosbcruz.com

Constructor Summary
AccountTransactionTotal()
           
 
Method Summary
 float getAccountTotal()
          Retreive the total of the current com.carlosbcruz.account.control
 float getSavingsTotal()
          Retreive the total of the savings com.carlosbcruz.account.control
 void setAccountTotal(float accountTotal)
          Set the total of the current com.carlosbcruz.account.control
 void setSavingsTotal(float savingsTotal)
          Set the total of the savings com.carlosbcruz.account.control
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountTransactionTotal

public AccountTransactionTotal()
Method Detail

getAccountTotal

public float getAccountTotal()
Retreive the total of the current com.carlosbcruz.account.control

Returns:
The current com.carlosbcruz.account.control total

setAccountTotal

public void setAccountTotal(float accountTotal)
Set the total of the current com.carlosbcruz.account.control

Parameters:
accountTotal - current com.carlosbcruz.account.control total

getSavingsTotal

public float getSavingsTotal()
Retreive the total of the savings com.carlosbcruz.account.control

Returns:
The savings com.carlosbcruz.account.control total

setSavingsTotal

public void setSavingsTotal(float savingsTotal)
Set the total of the savings com.carlosbcruz.account.control

Parameters:
savingsTotal - savings com.carlosbcruz.account.control total