org.jboss.remoting.samples.transporter.proxy
Class Customer
java.lang.Object
org.jboss.remoting.samples.transporter.proxy.Customer
- All Implemented Interfaces:
- java.io.Serializable, ICustomer
public class Customer
- extends java.lang.Object
- implements java.io.Serializable, ICustomer
Simple data object to represent customer data, to include
Address object.
- Author:
- Tom Elrod
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Customer
public Customer()
getFirstName
public java.lang.String getFirstName()
- Specified by:
getFirstName
in interface ICustomer
setFirstName
public void setFirstName(java.lang.String firstName)
- Specified by:
setFirstName
in interface ICustomer
getLastName
public java.lang.String getLastName()
- Specified by:
getLastName
in interface ICustomer
setLastName
public void setLastName(java.lang.String lastName)
- Specified by:
setLastName
in interface ICustomer
getAddr
public Address getAddr()
- Specified by:
getAddr
in interface ICustomer
setAddr
public void setAddr(Address addr)
- Specified by:
setAddr
in interface ICustomer
getCustomerId
public int getCustomerId()
- Specified by:
getCustomerId
in interface ICustomer
setCustomerId
public void setCustomerId(int customerId)
- Specified by:
setCustomerId
in interface ICustomer
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1998-2005 JBoss Inc . All Rights Reserved.