org.springframework.richclient.samples.simple.domain
Class Address

java.lang.Object
  extended by org.springframework.richclient.samples.simple.domain.Address

public class Address
extends Object

This class provides a simple domain object to hold a single US address.

Author:
Larry Streepy

Constructor Summary
Address()
           
 
Method Summary
 String getAddress1()
           
 String getAddress2()
           
 String getAddress3()
           
 String getCity()
           
 String getState()
           
 String getZip()
           
 void setAddress1(String address1)
           
 void setAddress2(String address2)
           
 void setAddress3(String line3)
           
 void setCity(String city)
           
 void setState(String state)
           
 void setZip(String zip)
           
 
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)
Parameters:
city - the city to set

getAddress1

public String getAddress1()
Returns:
the address1

setAddress1

public void setAddress1(String address1)
Parameters:
line1 - the line1 to set

getAddress2

public String getAddress2()
Returns:
the address2

setAddress2

public void setAddress2(String address2)
Parameters:
address2 - the address2 to set

getAddress3

public String getAddress3()
Returns:
the address3

setAddress3

public void setAddress3(String line3)
Parameters:
address3 - the address3 to set

getState

public String getState()
Returns:
the state

setState

public void setState(String state)
Parameters:
state - the state to set

getZip

public String getZip()
Returns:
the zip

setZip

public void setZip(String zip)
Parameters:
zip - the zip to set


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.