com.decarta.location
Class StructuredAddress

java.lang.Object
  extended by com.decarta.location.Address
      extended by com.decarta.location.StructuredAddress

public class StructuredAddress
extends Address

A structured address is an address broken into its logical parts


Constructor Summary
StructuredAddress()
           
 
Method Summary
 java.lang.String getBuildingNumber()
          Address number for this location.
 java.lang.String getCountrySecondarySubdivision()
          County (or equivalent) for this location.
 java.lang.String getCountrySubdivision()
          Sub-country administrative division (ie the state, province, or region) for this location.
 java.lang.String getMunicipality()
          City, town, village, or equivalent for this location.
 java.lang.String getMunicipalitySubdivision()
          Recognized neighborhood, borough, or equivalent for this location.
 java.lang.String getPostalCode()
          Postal code, postcode, ZIP code, or equivalent numerical code for this location.
 java.lang.String getStreet()
          Name and designation of the street (ie Main St) for this location.
 void setBuildingNumber(java.lang.String buildingNumber)
          Address number for this location.
 void setCountrySecondarySubdivision(java.lang.String countrySecondarySubdivision)
          County (or equivalent) for this location.
 void setCountrySubdivision(java.lang.String countrySubdivision)
          Sub-country administrative division (ie the state, province, or region) for this location.
 void setMunicipality(java.lang.String municipality)
          City, town, village, or equivalent for this location.
 void setMunicipalitySubdivision(java.lang.String municipalitySubdivision)
          Recognized neighborhood, borough, or equivalent for this location.
 void setPostalCode(java.lang.String postalCode)
          Postal code, postcode, ZIP code, or equivalent numerical code for this location.
 void setStreet(java.lang.String street)
          Name and designation of the street (ie Main St) for this location.
 java.lang.String toString()
           
 
Methods inherited from class com.decarta.location.Address
getLocale, setLocale
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StructuredAddress

public StructuredAddress()
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in class Address

getBuildingNumber

public java.lang.String getBuildingNumber()
Address number for this location.


setBuildingNumber

public void setBuildingNumber(java.lang.String buildingNumber)
Address number for this location.


getCountrySecondarySubdivision

public java.lang.String getCountrySecondarySubdivision()
County (or equivalent) for this location.


setCountrySecondarySubdivision

public void setCountrySecondarySubdivision(java.lang.String countrySecondarySubdivision)
County (or equivalent) for this location.


getCountrySubdivision

public java.lang.String getCountrySubdivision()
Sub-country administrative division (ie the state, province, or region) for this location.


setCountrySubdivision

public void setCountrySubdivision(java.lang.String countrySubdivision)
Sub-country administrative division (ie the state, province, or region) for this location.


getMunicipality

public java.lang.String getMunicipality()
City, town, village, or equivalent for this location.


setMunicipality

public void setMunicipality(java.lang.String municipality)
City, town, village, or equivalent for this location.


getMunicipalitySubdivision

public java.lang.String getMunicipalitySubdivision()
Recognized neighborhood, borough, or equivalent for this location.


setMunicipalitySubdivision

public void setMunicipalitySubdivision(java.lang.String municipalitySubdivision)
Recognized neighborhood, borough, or equivalent for this location.


getPostalCode

public java.lang.String getPostalCode()
Postal code, postcode, ZIP code, or equivalent numerical code for this location.


setPostalCode

public void setPostalCode(java.lang.String postalCode)
Postal code, postcode, ZIP code, or equivalent numerical code for this location.


getStreet

public java.lang.String getStreet()
Name and designation of the street (ie Main St) for this location.


setStreet

public void setStreet(java.lang.String street)
Name and designation of the street (ie Main St) for this location.