org.ujac.util.xml.test
Class Address

java.lang.Object
  extended by org.ujac.util.xml.test.Address
All Implemented Interfaces:
Serializable

public class Address
extends Object
implements Serializable

Name: Address
Description: Defines addresses.

Author:
lauerc
See Also:
Serialized Form

Constructor Summary
Address()
          Constructs a Address instance with specific attributes.
Address(String address, Integer zipCode, String city, String country)
          Constructs a Address instance with specific attributes.
 
Method Summary
 boolean equals(Object obj)
           
 String getAddress()
          Getter method for the the property address.
 String getCity()
          Getter method for the the property city.
 String getCountry()
          Getter method for the the property country.
 Integer getZipCode()
          Getter method for the the property zipCode.
 void setAddress(String address)
          Setter method for the the property address.
 void setCity(String city)
          Setter method for the the property city.
 void setCountry(String country)
          Setter method for the the property country.
 void setZipCode(Integer zipCode)
          Setter method for the the property zipCode.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address()
Constructs a Address instance with specific attributes.


Address

public Address(String address,
               Integer zipCode,
               String city,
               String country)
Constructs a Address instance with specific attributes.

Parameters:
address - The initial address.
zipCode - The initial zip code.
city - The initial city.
country - The initial country.
Method Detail

getAddress

public String getAddress()
Getter method for the the property address.

Returns:
The current value of property address.

setAddress

public void setAddress(String address)
Setter method for the the property address.

Parameters:
address - The value to set for the property address.

getCity

public String getCity()
Getter method for the the property city.

Returns:
The current value of property city.

setCity

public void setCity(String city)
Setter method for the the property city.

Parameters:
city - The value to set for the property city.

getCountry

public String getCountry()
Getter method for the the property country.

Returns:
The current value of property country.

setCountry

public void setCountry(String country)
Setter method for the the property country.

Parameters:
country - The value to set for the property country.

getZipCode

public Integer getZipCode()
Getter method for the the property zipCode.

Returns:
The current value of property zipCode.

setZipCode

public void setZipCode(Integer zipCode)
Setter method for the the property zipCode.

Parameters:
zipCode - The value to set for the property zipCode.

equals

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

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2003-2004 UJAC.org. All Rights Reserved.