org.apache.aries.samples.ariestrader.entities
Class AccountDataBeanImpl
java.lang.Object
org.apache.aries.samples.ariestrader.entities.AccountDataBeanImpl
- All Implemented Interfaces:
- Serializable, AccountDataBean
@Entity(name="accountejb")
public class AccountDataBeanImpl
- extends Object
- implements AccountDataBean, Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
AccountDataBeanImpl()
|
AccountDataBeanImpl(Integer accountID,
int loginCount,
int logoutCount,
Date lastLogin,
Date creationDate,
BigDecimal balance,
BigDecimal openBalance,
String profileID)
|
AccountDataBeanImpl(int loginCount,
int logoutCount,
Date lastLogin,
Date creationDate,
BigDecimal balance,
BigDecimal openBalance,
String profileID)
|
AccountDataBeanImpl
public AccountDataBeanImpl()
AccountDataBeanImpl
public AccountDataBeanImpl(Integer accountID,
int loginCount,
int logoutCount,
Date lastLogin,
Date creationDate,
BigDecimal balance,
BigDecimal openBalance,
String profileID)
AccountDataBeanImpl
public AccountDataBeanImpl(int loginCount,
int logoutCount,
Date lastLogin,
Date creationDate,
BigDecimal balance,
BigDecimal openBalance,
String profileID)
getRandomInstance
public static AccountDataBean getRandomInstance()
toString
public String toString()
- Specified by:
toString in interface AccountDataBean- Overrides:
toString in class Object
toHTML
public String toHTML()
- Specified by:
toHTML in interface AccountDataBean
print
public void print()
getAccountID
public Integer getAccountID()
- Specified by:
getAccountID in interface AccountDataBean
setAccountID
public void setAccountID(Integer accountID)
- Specified by:
setAccountID in interface AccountDataBean
getLoginCount
public int getLoginCount()
- Specified by:
getLoginCount in interface AccountDataBean
setLoginCount
public void setLoginCount(int loginCount)
- Specified by:
setLoginCount in interface AccountDataBean
getLogoutCount
public int getLogoutCount()
- Specified by:
getLogoutCount in interface AccountDataBean
setLogoutCount
public void setLogoutCount(int logoutCount)
- Specified by:
setLogoutCount in interface AccountDataBean
getLastLogin
public Date getLastLogin()
- Specified by:
getLastLogin in interface AccountDataBean
setLastLogin
public void setLastLogin(Date lastLogin)
- Specified by:
setLastLogin in interface AccountDataBean
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate in interface AccountDataBean
setCreationDate
public void setCreationDate(Date creationDate)
- Specified by:
setCreationDate in interface AccountDataBean
getBalance
public BigDecimal getBalance()
- Specified by:
getBalance in interface AccountDataBean
setBalance
public void setBalance(BigDecimal balance)
- Specified by:
setBalance in interface AccountDataBean
getOpenBalance
public BigDecimal getOpenBalance()
- Specified by:
getOpenBalance in interface AccountDataBean
setOpenBalance
public void setOpenBalance(BigDecimal openBalance)
- Specified by:
setOpenBalance in interface AccountDataBean
getProfileID
public String getProfileID()
- Specified by:
getProfileID in interface AccountDataBean
setProfileID
public void setProfileID(String profileID)
- Specified by:
setProfileID in interface AccountDataBean
getOrders
public Collection<OrderDataBean> getOrders()
- Specified by:
getOrders in interface AccountDataBean
setOrders
public void setOrders(Collection<OrderDataBeanImpl> orders)
getHoldings
public Collection<HoldingDataBean> getHoldings()
- Specified by:
getHoldings in interface AccountDataBean
setHoldings
public void setHoldings(Collection<HoldingDataBeanImpl> holdings)
getProfile
public AccountProfileDataBean getProfile()
- Specified by:
getProfile in interface AccountDataBean
setProfile
public void setProfile(AccountProfileDataBean profile)
- Specified by:
setProfile in interface AccountDataBean
login
public void login(String password)
- Specified by:
login in interface AccountDataBean
logout
public void logout()
- Specified by:
logout in interface AccountDataBean
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.