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
-
-
account2Result
-
-
tellerServer
-
-
TellerResult()
- Creates a new TellerResult object.
-
TellerResult(String, AccountResult)
- Creates a new TellerResult object.
-
TellerResult(String, AccountResult, AccountResult)
- Creates a new TellerResult object.
-
getAccount1Result()
- Returns the results for account 1
in an AccountResult object.
-
getAccount2Result()
- Returns the results for account 2
in an AccountResult object.
-
getTellerServer()
- Returns the teller server name.
tellerServer
public String tellerServer
account1Result
public AccountResult account1Result
account2Result
public AccountResult account2Result
TellerResult
public TellerResult()
- Creates a new TellerResult object.
- Returns:
- 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
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
public String getTellerServer()
- Returns the teller server name.
- Returns:
- String Teller server name
getAccount1Result
public AccountResult getAccount1Result()
- Returns the results for account 1
in an AccountResult object.
- Returns:
- AccountResult Results for account 1
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