org.eclipse.ohf.bridge.type
Class AddressType
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EMPTY_ADDRESS
public static final AddressType EMPTY_ADDRESS
AddressType
public AddressType()
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