All Examples  All Cluster Examples  This Example  This Package
  Class examples.cluster.ejb.account.AccountResult
java.lang.Object
   |
   +----examples.cluster.ejb.account.AccountResult
  -  public final class AccountResult
  -  extends Object
  -  implements Serializable
This class is used to return information and the results of a 
 of a balance inquiry, deposit, withdrawal or transfer transaction.
  -  Author:
  
-  Copyright (c) 1999 by BEA WebXpress, Inc. All Rights Reserved.
   
  -   balance balance
-  
  
-   server server
-  
   
  -   AccountResult() AccountResult()
-   Default AccountResult object creator.
  
-   AccountResult(String, double) AccountResult(String, double)
-   Creates an AccountResult object with
 the server (the name of the Cluster member) where the EJBean is located 
 and the account balance.
   
  -   getBalance() getBalance()
-   Returns the account balance
 from an AccountResult object.
  
-   getServer() getServer()
-   Returns the server name
 from an AccountResult object.
   
 server
server
 public String server
 balance
balance
 public double balance
   
 AccountResult
AccountResult
 public AccountResult()
  -  Default AccountResult object creator.
   
- 
    -  Returns:
    
-  AccountResult
  
 
 AccountResult
AccountResult
 public AccountResult(String server,
                      double balance)
  -  Creates an AccountResult object with
 the server (the name of the Cluster member) where the EJBean is located 
 and the account balance.
   
- 
    -  Parameters:
    
-  server - String Server name (the Cluster member)
    -  balance - double Account balance
    
-  Returns:
    
-  AccountResult
  
 
   
 getServer
getServer
 public String getServer()
  -  Returns the server name
 from an AccountResult object.
   
- 
    -  Returns:
    
-  String server name
  
 
 getBalance
getBalance
 public double getBalance()
  -  Returns the account balance
 from an AccountResult object.
   
- 
    -  Returns:
    
-  double Account balance
  
 
All Examples  All Cluster Examples  This Example  This Package