com.google.code.facebookapi.schema
Class Location

java.lang.Object
  extended by com.google.code.facebookapi.schema.Location
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Location
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for location complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="location">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="street" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="country" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="zip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="latitude" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="longitude" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String city
           
protected  java.lang.String country
           
protected  java.math.BigDecimal latitude
           
protected  java.math.BigDecimal longitude
           
protected  java.lang.String state
           
protected  java.lang.String street
           
protected  java.lang.String zip
           
 
Constructor Summary
Location()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.String getCity()
          Gets the value of the city property.
 java.lang.String getCountry()
          Gets the value of the country property.
 java.math.BigDecimal getLatitude()
          Gets the value of the latitude property.
 java.math.BigDecimal getLongitude()
          Gets the value of the longitude property.
 java.lang.String getState()
          Gets the value of the state property.
 java.lang.String getStreet()
          Gets the value of the street property.
 java.lang.String getZip()
          Gets the value of the zip property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setCity(java.lang.String value)
          Sets the value of the city property.
 void setCountry(java.lang.String value)
          Sets the value of the country property.
 void setLatitude(java.math.BigDecimal value)
          Sets the value of the latitude property.
 void setLongitude(java.math.BigDecimal value)
          Sets the value of the longitude property.
 void setState(java.lang.String value)
          Sets the value of the state property.
 void setStreet(java.lang.String value)
          Sets the value of the street property.
 void setZip(java.lang.String value)
          Sets the value of the zip property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

street

protected java.lang.String street

city

protected java.lang.String city

state

protected java.lang.String state

country

protected java.lang.String country

zip

protected java.lang.String zip

latitude

protected java.math.BigDecimal latitude

longitude

protected java.math.BigDecimal longitude
Constructor Detail

Location

public Location()
Method Detail

getStreet

public java.lang.String getStreet()
Gets the value of the street property.

Returns:
possible object is String

setStreet

public void setStreet(java.lang.String value)
Sets the value of the street property.

Parameters:
value - allowed object is String

getCity

public java.lang.String getCity()
Gets the value of the city property.

Returns:
possible object is String

setCity

public void setCity(java.lang.String value)
Sets the value of the city property.

Parameters:
value - allowed object is String

getState

public java.lang.String getState()
Gets the value of the state property.

Returns:
possible object is String

setState

public void setState(java.lang.String value)
Sets the value of the state property.

Parameters:
value - allowed object is String

getCountry

public java.lang.String getCountry()
Gets the value of the country property.

Returns:
possible object is String

setCountry

public void setCountry(java.lang.String value)
Sets the value of the country property.

Parameters:
value - allowed object is String

getZip

public java.lang.String getZip()
Gets the value of the zip property.

Returns:
possible object is String

setZip

public void setZip(java.lang.String value)
Sets the value of the zip property.

Parameters:
value - allowed object is String

getLatitude

public java.math.BigDecimal getLatitude()
Gets the value of the latitude property.

Returns:
possible object is BigDecimal

setLatitude

public void setLatitude(java.math.BigDecimal value)
Sets the value of the latitude property.

Parameters:
value - allowed object is BigDecimal

getLongitude

public java.math.BigDecimal getLongitude()
Gets the value of the longitude property.

Returns:
possible object is BigDecimal

setLongitude

public void setLongitude(java.math.BigDecimal value)
Sets the value of the longitude property.

Parameters:
value - allowed object is BigDecimal

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010. All Rights Reserved.