geo.google.datamodel
Class GeoAddress

java.lang.Object
  extended by geo.google.datamodel.GeoAddress
All Implemented Interfaces:
Serializable

public class GeoAddress
extends Object
implements Serializable

Data class for address.

Author:
jliang
See Also:
Serialized Form

Constructor Summary
GeoAddress()
           
 
Method Summary
 boolean equals(Object o)
           
 GeoAddressAccuracy getAccuracy()
           
 AddressDetails getAddressDetails()
          A structured address, formatted as xAL, or eXtensible Address Language, an international standard for address formatting.
 String getAddressLine()
          A string value representing an unstructured address written as a standard street, city, state address, and/or as a postal code.
 GeoCoordinate getCoordinate()
          A geographic location defined by longitude, latitude, and (optional) altitude.
 int hashCode()
           
 void setAccuracy(GeoAddressAccuracy accuracy)
           
 void setAddressDetails(AddressDetails addressDetails)
           
 void setAddressLine(String addressLine)
           
 void setCoordinate(GeoCoordinate coordinate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeoAddress

public GeoAddress()
Method Detail

getAddressDetails

public AddressDetails getAddressDetails()
A structured address, formatted as xAL, or eXtensible Address Language, an international standard for address formatting. http://www.oasis-open.org/committees/ciq/ciq.html#6

Returns:

setAddressDetails

public void setAddressDetails(AddressDetails addressDetails)

getAddressLine

public String getAddressLine()
A string value representing an unstructured address written as a standard street, city, state address, and/or as a postal code.

Returns:

setAddressLine

public void setAddressLine(String addressLine)

getCoordinate

public GeoCoordinate getCoordinate()
A geographic location defined by longitude, latitude, and (optional) altitude.

Returns:

setCoordinate

public void setCoordinate(GeoCoordinate coordinate)

getAccuracy

public GeoAddressAccuracy getAccuracy()

setAccuracy

public void setAccuracy(GeoAddressAccuracy accuracy)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008. All Rights Reserved.