org.apache.shale.usecases.rolodex
Class Address

java.lang.Object
  extended by org.apache.shale.usecases.rolodex.Address

public class Address
extends Object

Holds an addres for a Contact.


Constructor Summary
Address()
           
 
Method Summary
 String getCity()
           Returns the City.
 String getCountry()
           Gets the Country.
 String getProvince()
           Gets the Province.
 String getState()
           Gets the State.
 String getStreet1()
           Gets the Street1.
 String getStreet2()
           Gets the Street2.
 int getZip()
           Gets the Zip Code.
 String getZipAsString()
           Gets the Zip Code.
 void setCity(String city)
           Sets the City.
 void setCountry(String country)
           Sets the Country.
 void setProvince(String province)
           Sets the Province.
 void setState(String state)
           Sets the State.
 void setStreet1(String street1)
           Sets the Street1.
 void setStreet2(String street2)
           Sets the Street2.
 void setZip(int zip)
           Sets the Zip Code.
 void setZipAsString(String zip)
           Sets the Zip Code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

getCity

public String getCity()

Returns the City.


setCity

public void setCity(String city)

Sets the City.


getCountry

public String getCountry()

Gets the Country.


setCountry

public void setCountry(String country)

Sets the Country.


getProvince

public String getProvince()

Gets the Province.


setProvince

public void setProvince(String province)

Sets the Province.


getState

public String getState()

Gets the State.


setState

public void setState(String state)

Sets the State.


getStreet1

public String getStreet1()

Gets the Street1.


setStreet1

public void setStreet1(String street1)

Sets the Street1.


getStreet2

public String getStreet2()

Gets the Street2.


setStreet2

public void setStreet2(String street2)

Sets the Street2.


getZip

public int getZip()

Gets the Zip Code.


setZip

public void setZip(int zip)

Sets the Zip Code.


getZipAsString

public String getZipAsString()

Gets the Zip Code.


setZipAsString

public void setZipAsString(String zip)

Sets the Zip Code.



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.