org.apache.commons.betwixt
Class AddressBean

java.lang.Object
  extended by org.apache.commons.betwixt.AddressBean
All Implemented Interfaces:
java.io.Serializable

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

CustomerBean is a sample bean for use by the test cases.

Version:
$Revision: 438373 $
Author:
James Strachan, Michael Davey
See Also:
Serialized Form

Constructor Summary
AddressBean()
           
AddressBean(java.lang.String street, java.lang.String city, java.lang.String country, java.lang.String code)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCity()
           
 java.lang.String getCode()
           
 java.lang.String getCountry()
           
 java.lang.String getStreet()
           
 int hashCode()
           
 void setCity(java.lang.String city)
           
 void setCode(java.lang.String code)
           
 void setCountry(java.lang.String country)
           
 void setStreet(java.lang.String street)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressBean

public AddressBean()

AddressBean

public AddressBean(java.lang.String street,
                   java.lang.String city,
                   java.lang.String country,
                   java.lang.String code)
Method Detail

getStreet

public java.lang.String getStreet()

getCity

public java.lang.String getCity()

getCode

public java.lang.String getCode()

getCountry

public java.lang.String getCountry()

setStreet

public void setStreet(java.lang.String street)

setCity

public void setCity(java.lang.String city)

setCode

public void setCode(java.lang.String code)

setCountry

public void setCountry(java.lang.String country)

toString

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.