org.apache.geronimo.samples.daytrader
Class AccountDataBean

java.lang.Object
  extended byorg.apache.geronimo.samples.daytrader.AccountDataBean
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
AccountDataBean()
           
AccountDataBean(java.lang.Integer accountID, int loginCount, int logoutCount, java.util.Date lastLogin, java.util.Date creationDate, java.math.BigDecimal balance, java.math.BigDecimal openBalance, java.lang.String profileID)
           
 
Method Summary
 java.lang.Integer getAccountID()
          Gets the accountID
 java.math.BigDecimal getBalance()
          Gets the balance
 java.util.Date getCreationDate()
          Gets the creationDate
 java.util.Date getLastLogin()
          Gets the lastLogin
 int getLoginCount()
          Gets the loginCount
 int getLogoutCount()
          Gets the logoutCount
 java.math.BigDecimal getOpenBalance()
          Gets the openBalance
 java.lang.String getProfileID()
          Gets the profileID
static AccountDataBean getRandomInstance()
           
 void print()
           
 void setAccountID(java.lang.Integer accountID)
          Sets the accountID
 void setBalance(java.math.BigDecimal balance)
          Sets the balance
 void setCreationDate(java.util.Date creationDate)
          Sets the creationDate
 void setLastLogin(java.util.Date lastLogin)
          Sets the lastLogin
 void setLoginCount(int loginCount)
          Sets the loginCount
 void setLogoutCount(int logoutCount)
          Sets the logoutCount
 void setOpenBalance(java.math.BigDecimal openBalance)
          Sets the openBalance
 void setProfileID(java.lang.String profileID)
          Sets the profileID
 java.lang.String toHTML()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountDataBean

public AccountDataBean()

AccountDataBean

public AccountDataBean(java.lang.Integer accountID,
                       int loginCount,
                       int logoutCount,
                       java.util.Date lastLogin,
                       java.util.Date creationDate,
                       java.math.BigDecimal balance,
                       java.math.BigDecimal openBalance,
                       java.lang.String profileID)
Method Detail

getRandomInstance

public static AccountDataBean getRandomInstance()

toString

public java.lang.String toString()

toHTML

public java.lang.String toHTML()

print

public void print()

getAccountID

public java.lang.Integer getAccountID()
Gets the accountID

Returns:
Returns a Integer

setAccountID

public void setAccountID(java.lang.Integer accountID)
Sets the accountID

Parameters:
accountID - The accountID to set

getLoginCount

public int getLoginCount()
Gets the loginCount

Returns:
Returns a int

setLoginCount

public void setLoginCount(int loginCount)
Sets the loginCount

Parameters:
loginCount - The loginCount to set

getLogoutCount

public int getLogoutCount()
Gets the logoutCount

Returns:
Returns a int

setLogoutCount

public void setLogoutCount(int logoutCount)
Sets the logoutCount

Parameters:
logoutCount - The logoutCount to set

getLastLogin

public java.util.Date getLastLogin()
Gets the lastLogin

Returns:
Returns a Date

setLastLogin

public void setLastLogin(java.util.Date lastLogin)
Sets the lastLogin

Parameters:
lastLogin - The lastLogin to set

getCreationDate

public java.util.Date getCreationDate()
Gets the creationDate

Returns:
Returns a Date

setCreationDate

public void setCreationDate(java.util.Date creationDate)
Sets the creationDate

Parameters:
creationDate - The creationDate to set

getBalance

public java.math.BigDecimal getBalance()
Gets the balance

Returns:
Returns a BigDecimal

setBalance

public void setBalance(java.math.BigDecimal balance)
Sets the balance

Parameters:
balance - The balance to set

getOpenBalance

public java.math.BigDecimal getOpenBalance()
Gets the openBalance

Returns:
Returns a BigDecimal

setOpenBalance

public void setOpenBalance(java.math.BigDecimal openBalance)
Sets the openBalance

Parameters:
openBalance - The openBalance to set

getProfileID

public java.lang.String getProfileID()
Gets the profileID

Returns:
Returns a String

setProfileID

public void setProfileID(java.lang.String profileID)
Sets the profileID

Parameters:
profileID - The profileID to set


Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.