edu.cmu.mse.vault.account
Interface AccountEntity

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface AccountEntity
extends javax.ejb.EJBObject

Remote interface for AccountEntity.


Method Summary
 java.lang.Integer getAccountId()
           
 java.lang.Double getBalance()
           
 CustomerEntityLocal getCustomer()
           
 java.util.Collection getTransactions()
           
 void setAccountId(java.lang.Integer accountId)
           
 void setBalance(java.lang.Double balance)
           
 void setCustomer(CustomerEntityLocal customer)
          Relationship methods
 void setTransactions(java.util.Collection transactions)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

setBalance

public void setBalance(java.lang.Double balance)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBalance

public java.lang.Double getBalance()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCustomer

public void setCustomer(CustomerEntityLocal customer)
                 throws java.rmi.RemoteException
Relationship methods

Throws:
java.rmi.RemoteException

getCustomer

public CustomerEntityLocal getCustomer()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setAccountId

public void setAccountId(java.lang.Integer accountId)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAccountId

public java.lang.Integer getAccountId()
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTransactions

public java.util.Collection getTransactions()
                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setTransactions

public void setTransactions(java.util.Collection transactions)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException