Class IWAddress

A class representing an address.

Author: JAN

Constructor Summary
IWAddress()
            Creates a new address.
 
Method Summary
 boolean equals(anotherAddress)
           Compares this address with another.
 String getCity()
           Returns the city.
 IWCoordinate getCoordinate()
           Returns the coordinate of the geocoded address.
 String getCountry()
           Returns the full name of the country.
 String getCountryCode()
           Returns the country code.
 IWCoordinate getDegree()
           Returns the coordinate of the geocoded address.
 Stiring getDistrict()
           Returns the name of the district.
 String getHouseNumber()
           Returns the housenumber.
 IWCoordinate getLCC()
           Returns the coordinate of the geocoded address.
 IWCoordinate getMeter()
           Returns the coordinate of the geocoded address.
 String getPart()
           Returns the part (district in town) of the address.
 String getStreet()
           Returns the street of the address.
 IWCoordinate getWGS84()
           Returns the coordinate of the geocoded address.
 String getZipCode()
           Returns the zip code of the address.
 boolean hasHouseNumber()
           Returns true if the housenumber attribute is not empty.
 void setCity(newCity)
           Sets the city of the address.
 void setCoordinate(newCoordinate)
           Sets the coordinate on which the address has been located.
 void setCountry(newCountry)
           Sets the full name of the country.
 void setCountryCode(newCountryCode)
           Sets the country code of the address.
 void setDegree(newCoordinate)
           Sets the coordinate on which the address has been located.
 void setDistrict(newDistrict)
           Sets the district name of the located address.
 void setHouseNumber(newHouseNumber)
           Sets the housenumber of the address.
 void setLCC(newCoordinate)
           Sets the coordinate on which the address has been located.
 void setMeter(newCoordinate)
           Sets the coordinate on which the address has been located.
 void setPart()
           Sets the part (district in town) of the address.
 void setStreet(newStreet)
           Sets the street of the address.
 void setWGS84(newCoordinate)
           Sets the coordinate on which the address has been located.
 void setZipCode(newZipCode)
           Sets the zipcode of the address.
 String toFormattedString()
           Returns a string representation of the address.

This consists of street, house number, zip code, and city.
Example: Riemenschneiderstr.
 String toFullFormattedString()
           Returns a detailed string representation of the address.

Additional to IWAddress.toFormattedString() city parts, districts and country code are returned if present.
Example: Riemenschneiderstr., 53175 Bonn / Plittersdorf D
 String toString()
           Returns a string representation of this address.
 
Constructor Detail

IWAddress

IWAddress()

Method Detail

equals

boolean equals(anotherAddress)

getCity

String getCity()

getCoordinate

IWCoordinate getCoordinate()

getCountry

String getCountry()

getCountryCode

String getCountryCode()

getDegree

IWCoordinate getDegree()

getDistrict

Stiring getDistrict()

getHouseNumber

String getHouseNumber()

getLCC

IWCoordinate getLCC()

getMeter

IWCoordinate getMeter()

getPart

String getPart()

getStreet

String getStreet()

getWGS84

IWCoordinate getWGS84()

getZipCode

String getZipCode()

hasHouseNumber

boolean hasHouseNumber()

setCity

void setCity(newCity)

setCoordinate

void setCoordinate(newCoordinate)

setCountry

void setCountry(newCountry)

setCountryCode

void setCountryCode(newCountryCode)

setDegree

void setDegree(newCoordinate)

setDistrict

void setDistrict(newDistrict)

setHouseNumber

void setHouseNumber(newHouseNumber)

setLCC

void setLCC(newCoordinate)

setMeter

void setMeter(newCoordinate)

setPart

void setPart()

setStreet

void setStreet(newStreet)

setWGS84

void setWGS84(newCoordinate)

setZipCode

void setZipCode(newZipCode)

toFormattedString

String toFormattedString()

toFullFormattedString

String toFullFormattedString()

toString

String toString()

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:52 GMT+0100 (MEZ)