SigPath

org.sigpath.user
Class Address

java.lang.Object
  extended by org.sigpath.user.Address

public class Address
extends Object

Address class that represents an address to which a SigPath Affiliation is attached encapsulates the all Address properties

Version:
$Revision: 5954 $
Author:
Benjamin Chiang

Field Summary
protected  String address1
           
protected  String address2
           
protected  String city
           
protected  String country
           
protected  String state
           
protected  String zip
           
 
Constructor Summary
Address()
          Constructor (default with no values or parameters)
 
Method Summary
 String getAddress1()
          Returns the first line of the Street Name of the address
 String getAddress2()
          Returns the second line of the Street Name of the address
 String getCity()
          Returns the city of the address
 String getCountry()
          Returns the country of the address
 String getState()
          Returns the state of the address
 String getZip()
          Returns the zip of the address
 void setAddress1(String address1)
          Sets the first line of the StreetName of the Address
 void setAddress2(String address2)
          Sets the second line of the StreetName of the Address
 void setCity(String city)
          Sets the city of the Address
 void setCountry(String country)
          Sets the country of the Address
 void setState(String state)
          Sets the state of the Address
 void setZip(String zip)
          Sets the zip of the Address
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address1

protected String address1

address2

protected String address2

city

protected String city

state

protected String state

zip

protected String zip

country

protected String country
Constructor Detail

Address

public Address()
Constructor (default with no values or parameters)

Method Detail

getAddress1

public String getAddress1()
Returns the first line of the Street Name of the address

Returns:
String Address1 of the address

setAddress1

public void setAddress1(String address1)
Sets the first line of the StreetName of the Address

Parameters:
address1 - String value of Address1 of the Address

getAddress2

public String getAddress2()
Returns the second line of the Street Name of the address

Returns:
String Address2 of the address

setAddress2

public void setAddress2(String address2)
Sets the second line of the StreetName of the Address

Parameters:
address2 - String value of Address2 of the Address

getCity

public String getCity()
Returns the city of the address

Returns:
String city of the address

setCity

public void setCity(String city)
Sets the city of the Address

Parameters:
city - String value of city of the Address

getState

public String getState()
Returns the state of the address

Returns:
String state of the address

setState

public void setState(String state)
Sets the state of the Address

Parameters:
state - String value of state of the Address

getZip

public String getZip()
Returns the zip of the address

Returns:
String zip of the address

setZip

public void setZip(String zip)
Sets the zip of the Address

Parameters:
zip - String value of zip of the Address

getCountry

public String getCountry()
Returns the country of the address

Returns:
String country of the address

setCountry

public void setCountry(String country)
Sets the country of the Address

Parameters:
country - String value of country of the Address

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.