All Examples  All Cluster Examples  This Example  This Package
  Class examples.cluster.ejb.teller.TellerResult
java.lang.Object
   |
   +----examples.cluster.ejb.teller.TellerResult
  -  public final class TellerResult
  -  extends Object
  -  implements Serializable
This class reflects the results of a deposit, withdrawal or transfer transaction.
 Results are for account 1, account 2 and the server the teller was on.
  -  Author:
  
-  Copyright (c) 1999 by BEA WebXpress, Inc. All Rights Reserved.
   
  -   account1Result account1Result
-  
  
-   account2Result account2Result
-  
  
-   tellerServer tellerServer
-  
   
  -   TellerResult() TellerResult()
-   Creates a new TellerResult object.
  
-   TellerResult(String, AccountResult) TellerResult(String, AccountResult)
-   Creates a new TellerResult object.
  
-   TellerResult(String, AccountResult, AccountResult) TellerResult(String, AccountResult, AccountResult)
-   Creates a new TellerResult object.
   
  -   getAccount1Result() getAccount1Result()
-   Returns the results for account 1
 in an AccountResult object.
  
-   getAccount2Result() getAccount2Result()
-   Returns the results for account 2
 in an AccountResult object.
  
-   getTellerServer() getTellerServer()
-   Returns the teller server name.
   
 tellerServer
tellerServer
 public String tellerServer
 account1Result
account1Result
 public AccountResult account1Result
 account2Result
account2Result
 public AccountResult account2Result
   
 TellerResult
TellerResult
 public TellerResult()
  -  Creates a new TellerResult object.
   
- 
    -  Returns:
    
-  TellerResult
  
 
 TellerResult
TellerResult
 public TellerResult(String tellerServer,
                     AccountResult accountResult)
  -  Creates a new TellerResult object.
   
- 
    -  Parameters:
    
-  tellerServer - String Teller server name (the Cluster member)
    -  account1Result - AccountResult Account 1 result
    
-  Returns:
    
-  TellerResult
  
 
 TellerResult
TellerResult
 public TellerResult(String tellerServer,
                     AccountResult account1Result,
                     AccountResult account2Result)
  -  Creates a new TellerResult object.
   
- 
    -  Parameters:
    
-  tellerServer - String Teller server name (the Cluster member)
    -  account1Result - AccountResult Account 1 result
    -  account2Result - AccountResult Account 2 result
    
-  Returns:
    
-  TellerResult
  
 
   
 getTellerServer
getTellerServer
 public String getTellerServer()
  -  Returns the teller server name.
   
- 
    -  Returns:
    
-  String           Teller server name
  
 
 getAccount1Result
getAccount1Result
 public AccountResult getAccount1Result()
  -  Returns the results for account 1
 in an AccountResult object.
   
- 
    -  Returns:
    
-  AccountResult    Results for account 1
  
 
 getAccount2Result
getAccount2Result
 public AccountResult getAccount2Result()
  -  Returns the results for account 2
 in an AccountResult object.
   
- 
    -  Returns:
    
-  AccountResult    Results for account 2
  
 
All Examples  All Cluster Examples  This Example  This Package