com.google.api.ads.adwords.v201109.cm
Class GeoLocation

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.GeoLocation
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidGeoLocation

public class GeoLocation
extends Object
implements Serializable

Class representing a location with its geographic coordinates.

See Also:
Serialized Form

Constructor Summary
GeoLocation()
           
GeoLocation(GeoPoint geoPoint, Address address, byte[] encodedLocation, String geoLocationType)
           
 
Method Summary
 boolean equals(Object obj)
           
 Address getAddress()
          Gets the address value for this GeoLocation.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 byte[] getEncodedLocation()
          Gets the encodedLocation value for this GeoLocation.
 String getGeoLocationType()
          Gets the geoLocationType value for this GeoLocation.
 GeoPoint getGeoPoint()
          Gets the geoPoint value for this GeoLocation.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAddress(Address address)
          Sets the address value for this GeoLocation.
 void setEncodedLocation(byte[] encodedLocation)
          Sets the encodedLocation value for this GeoLocation.
 void setGeoLocationType(String geoLocationType)
          Sets the geoLocationType value for this GeoLocation.
 void setGeoPoint(GeoPoint geoPoint)
          Sets the geoPoint value for this GeoLocation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoLocation

public GeoLocation()

GeoLocation

public GeoLocation(GeoPoint geoPoint,
                   Address address,
                   byte[] encodedLocation,
                   String geoLocationType)
Method Detail

getGeoPoint

public GeoPoint getGeoPoint()
Gets the geoPoint value for this GeoLocation.

Returns:
geoPoint * Latitude/Longitude of the location. This field is required and should not be null.

setGeoPoint

public void setGeoPoint(GeoPoint geoPoint)
Sets the geoPoint value for this GeoLocation.

Parameters:
geoPoint - * Latitude/Longitude of the location. This field is required and should not be null.

getAddress

public Address getAddress()
Gets the address value for this GeoLocation.

Returns:
address * Address of the location. This field is required and should not be null.

setAddress

public void setAddress(Address address)
Sets the address value for this GeoLocation.

Parameters:
address - * Address of the location. This field is required and should not be null.

getEncodedLocation

public byte[] getEncodedLocation()
Gets the encodedLocation value for this GeoLocation.

Returns:
encodedLocation * Encoded location information. This field is required and should not be null.

setEncodedLocation

public void setEncodedLocation(byte[] encodedLocation)
Sets the encodedLocation value for this GeoLocation.

Parameters:
encodedLocation - * Encoded location information. This field is required and should not be null.

getGeoLocationType

public String getGeoLocationType()
Gets the geoLocationType value for this GeoLocation.

Returns:
geoLocationType * Indicates that this instance is a subtype of GeoLocation. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setGeoLocationType

public void setGeoLocationType(String geoLocationType)
Sets the geoLocationType value for this GeoLocation.

Parameters:
geoLocationType - * Indicates that this instance is a subtype of GeoLocation. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2011. All Rights Reserved.