|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.twitter.api.TwitterObject org.springframework.social.twitter.api.Place
public class Place
Represents a place that a Twitter user may send a tweet from.
Nested Class Summary | |
---|---|
static class |
Place.Geometry
Represents a place's geometry. |
static class |
Place.GeometryType
|
static class |
Place.GeoPoint
Represents a point in geospace (e.g., latitude/longitude) |
Constructor Summary | |
---|---|
Place(String id,
String name,
String fullName,
String streetAddress,
String country,
String countryCode,
PlaceType placeType)
|
Method Summary | |
---|---|
List<Place.GeoPoint> |
getBoundingBox()
A list of points defining a box that fully contains the place's geometry. |
List<Place> |
getContainedWithin()
A list of other places that this place is contained within. |
String |
getCountry()
The place's country. |
String |
getCountryCode()
The place's country code. |
String |
getFullName()
The full name for the place. |
Place.Geometry |
getGeometry()
The place's geometry. |
String |
getId()
The place's ID. |
String |
getName()
A brief name for the place. |
PlaceType |
getPlaceType()
The place type. |
String |
getStreetAddress()
The place's street address. |
Methods inherited from class org.springframework.social.twitter.api.TwitterObject |
---|
add, getExtraData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Place(String id, String name, String fullName, String streetAddress, String country, String countryCode, PlaceType placeType)
Method Detail |
---|
public String getId()
public String getName()
public String getFullName()
public String getStreetAddress()
public String getCountry()
public String getCountryCode()
public PlaceType getPlaceType()
public List<Place> getContainedWithin()
public List<Place.GeoPoint> getBoundingBox()
public Place.Geometry getGeometry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |