com.carlosbcruz.account.dynamicmodel
Class AccountCurrentAccountSingleton

java.lang.Object
  extended by com.carlosbcruz.account.dynamicmodel.AccountCurrentAccountSingleton

public class AccountCurrentAccountSingleton
extends java.lang.Object

Store the current information of acount statically an can be accessed anywere.

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

Constructor Summary
AccountCurrentAccountSingleton()
           
 
Method Summary
static AccountAllUserAccounts getAllUserAccounts()
           
static void setAllUserAccounts(AccountAllUserAccounts allUserAccounts)
          Sets the allUserAccounts.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountCurrentAccountSingleton

public AccountCurrentAccountSingleton()
Method Detail

getAllUserAccounts

public static AccountAllUserAccounts getAllUserAccounts()
Returns:
All user accounts store in memory.

setAllUserAccounts

public static void setAllUserAccounts(AccountAllUserAccounts allUserAccounts)
Sets the allUserAccounts.

Parameters:
allUserAccounts - The allUserAccounts to set