com.ibm.websphere.samples.scheduler.accountreportejb
Interface AccountReport

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

public interface AccountReport
extends javax.ejb.EJBObject

Remote interface for the AccountReport EJB


Method Summary
 java.lang.Long getTimeReportGenerated()
          Gets the time this report was generated.
 java.lang.Double getTotalBalance()
          Gets the balance that was accumulated and stored in this record
 void setTotalBalance(java.lang.Double totalBalance)
          Sets the balance for this record
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getTotalBalance

java.lang.Double getTotalBalance()
                                 throws java.rmi.RemoteException
Gets the balance that was accumulated and stored in this record

Returns:
The balance in this record
Throws:
java.rmi.RemoteException

setTotalBalance

void setTotalBalance(java.lang.Double totalBalance)
                     throws java.rmi.RemoteException
Sets the balance for this record

Parameters:
totalBalance - The new total for this row
Throws:
java.rmi.RemoteException

getTimeReportGenerated

java.lang.Long getTimeReportGenerated()
                                      throws java.rmi.RemoteException
Gets the time this report was generated.

Returns:
Returns the time the report was generated in ms since the epoch, GMT
Throws:
java.rmi.RemoteException