edu.cmu.mse.vault.account
Class Account
java.lang.Object
edu.cmu.mse.vault.account.Account
- All Implemented Interfaces:
- java.io.Serializable
- public class Account
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Soumya
- See Also:
- Serialized Form
Constructor Summary |
Account(java.lang.Integer custId,
java.lang.Double bal)
The customer (customerid) for whom you want to
create the account must be specified when you create the account information
The account number (accountid) will be generated by the database automatically |
Account(java.lang.Integer custId,
java.lang.Integer actId,
java.lang.Double bal)
This is used by the session ejb method that wants to returns the result of
of a search to the cleint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Account
public Account(java.lang.Integer custId,
java.lang.Double bal)
- The customer (customerid) for whom you want to
create the account must be specified when you create the account information
The account number (accountid) will be generated by the database automatically
Account
public Account(java.lang.Integer custId,
java.lang.Integer actId,
java.lang.Double bal)
- This is used by the session ejb method that wants to returns the result of
of a search to the cleint.
- Parameters:
custId
-
getAccountId
public java.lang.Integer getAccountId()
- Returns:
- Returns the accountId.
setAccountId
public void setAccountId(java.lang.Integer accountId)
- IMP: You don't need to set the accountId when you are creating the us
- Parameters:
accountId
- The accountId to set.
getBalance
public java.lang.Double getBalance()
- Returns:
- Returns the balance.
setBalance
public void setBalance(java.lang.Double balance)
- Parameters:
balance
- The balance to set.
getCustomerId
public java.lang.Integer getCustomerId()
- Returns:
- Returns the customerId.
setCustomerId
public void setCustomerId(java.lang.Integer customerId)
- Parameters:
customerId
- The customerId to set.