org.jboss.test.bankiiop.interfaces
Interface Account

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface Account
extends EJBObject (src)


Method Summary
 void deposit(float amount)
           
 float getBalance()
           
 AccountData (src) getData()
           
 Customer (src) getOwner()
           
 void setData(AccountData (src)  data)
           
 void withdraw(float amount)
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

deposit

public void deposit(float amount)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

withdraw

public void withdraw(float amount)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBalance

public float getBalance()
                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getOwner

public Customer (src)  getOwner()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setData

public void setData(AccountData (src)  data)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getData

public AccountData (src)  getData()
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException