org.jboss.remoting.samples.transporter.multiple
Class Account
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Account
public Account(Customer customer,
int accountNumber)
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.