public class TwitterSearchOptionsMetadata
extends java.lang.Object
Constructor and Description |
---|
TwitterSearchOptionsMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGeocode() |
java.lang.String |
getQuery() |
TwitterSearchChannelAdapter.ResultType |
getResultType() |
boolean |
isEitherGeocodeOrQueryRequired() |
boolean |
isIncludeEntities() |
void |
setGeocode(java.lang.String geocode) |
void |
setIncludeEntities(boolean includeEntities) |
void |
setQuery(java.lang.String query) |
void |
setResultType(TwitterSearchChannelAdapter.ResultType resultType) |
public java.lang.String getQuery()
public void setQuery(java.lang.String query)
public java.lang.String getGeocode()
public void setGeocode(java.lang.String geocode)
@AssertTrue(message="One of query or geocode (or both) required.") public boolean isEitherGeocodeOrQueryRequired()
public TwitterSearchChannelAdapter.ResultType getResultType()
public void setResultType(TwitterSearchChannelAdapter.ResultType resultType)
public boolean isIncludeEntities()
public void setIncludeEntities(boolean includeEntities)