    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.

##

account
balance

##

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

##

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

##

account

     public int account

balance

     public double balance

##

TellerResult

     public TellerResult()

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

  Returns:
    TellerResult

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

##

getAccount

     public int getAccount()

  Returns the Account ID.

  Returns:
    int Account ID

getBalance

     public double getBalance()

  Returns the balance.

  Returns:
    double Balance in account

    All Examples  All Jolt Examples  This Package