org.jboss.remoting.samples.transporter.multiple
Class Account

java.lang.Object
  extended by org.jboss.remoting.samples.transporter.multiple.Account
All Implemented Interfaces:
java.io.Serializable

public class Account
extends java.lang.Object
implements java.io.Serializable

Account holds account number and customer that belongs to account.

Author:
Tom Elrod
See Also:
Serialized Form

Constructor Summary
Account(Customer customer, int accountNumber)
           
 
Method Summary
 int getAccountNumber()
           
 Customer getCustomer()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Account

public Account(Customer customer,
               int accountNumber)
Method Detail

getCustomer

public Customer getCustomer()

getAccountNumber

public int getAccountNumber()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.