com.facebook.api.schema
Class Location

java.lang.Object
  extended by com.facebook.api.schema.Location

public class Location
extends java.lang.Object

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}int" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String city
           
protected  java.lang.String country
           
protected  java.lang.String state
           
protected  java.lang.String street
           
protected  java.lang.Integer zip
           
 
Constructor Summary
Location()
           
 
Method Summary
 java.lang.String getCity()
          Gets the value of the city property.
 java.lang.String getCountry()
          Gets the value of the country 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.Integer getZip()
          Gets the value of the zip property.
 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 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.Integer value)
          Sets the value of the zip property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.Integer zip
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.Integer getZip()
Gets the value of the zip property.

Returns:
possible object is Integer

setZip

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

Parameters:
value - allowed object is Integer


Copyright © 2008. All Rights Reserved.