org.eclipse.ohf.bridge.type
Class AddressType

java.lang.Object
  extended by org.eclipse.ohf.bridge.type.AddressType
All Implemented Interfaces:
java.io.Serializable

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

Stores adderss information, including street, city, state, zip code, county, and country. To be used with patient demographic searches.

See Also:
Serialized Form

Field Summary
static AddressType EMPTY_ADDRESS
           
 
Constructor Summary
AddressType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCity()
           
 java.lang.String getCountry()
           
 java.lang.String getCountyParishCode()
           
 java.lang.String getOtherDesignation()
           
 java.lang.String getStateOrProvince()
           
 java.lang.String getStreetAddress()
           
 java.lang.String getZipOrPostalCode()
           
 int hashCode()
           
 void setCity(java.lang.String city)
           
 void setCountry(java.lang.String country)
           
 void setCountyParishCode(java.lang.String countyParishCode)
           
 void setOtherDesignation(java.lang.String otherDesignation)
           
 void setStateOrProvince(java.lang.String state)
           
 void setStreetAddress(java.lang.String streetAddress)
           
 void setZipOrPostalCode(java.lang.String postalCode)
           
 java.lang.String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ADDRESS

public static final AddressType EMPTY_ADDRESS
Constructor Detail

AddressType

public AddressType()
Method Detail

getCity

public java.lang.String getCity()
Returns:
the city

setCity

public void setCity(java.lang.String city)
Parameters:
city - the city to set

getCountry

public java.lang.String getCountry()
Returns:
the country

setCountry

public void setCountry(java.lang.String country)
Parameters:
country - the country to set

getCountyParishCode

public java.lang.String getCountyParishCode()
Returns:
the countyParishCode

setCountyParishCode

public void setCountyParishCode(java.lang.String countyParishCode)
Parameters:
countyParishCode - the countyParishCode to set

getOtherDesignation

public java.lang.String getOtherDesignation()
Returns:
the otherDesignation

setOtherDesignation

public void setOtherDesignation(java.lang.String otherDesignation)
Parameters:
otherDesignation - the otherDesignation to set

getZipOrPostalCode

public java.lang.String getZipOrPostalCode()
Returns:
the postalCode

setZipOrPostalCode

public void setZipOrPostalCode(java.lang.String postalCode)
Parameters:
postalCode - the postalCode to set

getStateOrProvince

public java.lang.String getStateOrProvince()
Returns:
the state

setStateOrProvince

public void setStateOrProvince(java.lang.String state)
Parameters:
state - the state to set

getStreetAddress

public java.lang.String getStreetAddress()
Returns:
the streetAddress

setStreetAddress

public void setStreetAddress(java.lang.String streetAddress)
Parameters:
streetAddress - the streetAddress to set

toString

public java.lang.String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object.

hashCode

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

equals

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