All Examples  All Jolt Examples  This Package

Class examples.jolt.ejb.bankapp.TellerResult

java.lang.Object
   |
   +----examples.jolt.ejb.bankapp.TellerResult

public final class TellerResult
extends Object
implements Serializable
This class reflects the results of a transaction.

Author:
Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.

Variable Index

 o account
 o balance

Constructor Index

 o TellerResult()
The account ID and balance of a transaction are returned from the EJBean in a TellerResult object.
 o TellerResult(Integer, Double)
The account ID and balance of a transaction are returned from the EJBean in a TellerResult object.

Method Index

 o getAccount()
Returns the Account ID.
 o getBalance()
Returns the balance.

Variables

 o account
 public int account
 o balance
 public double balance

Constructors

 o TellerResult
 public TellerResult()
The account ID and balance of a transaction are returned from the EJBean in a TellerResult object.

Returns:
TellerResult
 o TellerResult
 public TellerResult(Integer Account,
                     Double Balance)
The account ID and balance of a transaction are returned from the EJBean in a TellerResult object.

Parameters:
account - Integer Account ID
balance - Double Balance in account
Returns:
TellerResult

Methods

 o getAccount
 public int getAccount()
Returns the Account ID.

Returns:
int Account ID
 o getBalance
 public double getBalance()
Returns the balance.

Returns:
double Balance in account

All Examples  All Jolt Examples  This Package