org.springframework.social.twitter.api
Class Entities

java.lang.Object
  extended by org.springframework.social.twitter.api.TwitterObject
      extended by org.springframework.social.twitter.api.Entities
All Implemented Interfaces:
Serializable

public class Entities
extends TwitterObject
implements Serializable

A json representation of entities found within twitter status objects.

User: bowen Date: 12/26/11

See Also:
Serialized Form

Constructor Summary
Entities(List<UrlEntity> urls, List<HashTagEntity> tags, List<MentionEntity> mentions, List<MediaEntity> media)
           
Entities(List<UrlEntity> urls, List<HashTagEntity> tags, List<MentionEntity> mentions, List<MediaEntity> media, List<TickerSymbolEntity> tickerSymbols)
           
 
Method Summary
 boolean equals(Object o)
           
 List<HashTagEntity> getHashTags()
           
 List<MediaEntity> getMedia()
           
 List<MentionEntity> getMentions()
           
 List<TickerSymbolEntity> getTickerSymbols()
           
 List<UrlEntity> getUrls()
           
 int hashCode()
           
 boolean hasMedia()
           
 boolean hasMentions()
           
 boolean hasTags()
           
 boolean hasTickerSymbols()
           
 boolean hasUrls()
           
 
Methods inherited from class org.springframework.social.twitter.api.TwitterObject
add, getExtraData
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entities

public Entities(List<UrlEntity> urls,
                List<HashTagEntity> tags,
                List<MentionEntity> mentions,
                List<MediaEntity> media)

Entities

public Entities(List<UrlEntity> urls,
                List<HashTagEntity> tags,
                List<MentionEntity> mentions,
                List<MediaEntity> media,
                List<TickerSymbolEntity> tickerSymbols)
Method Detail

getUrls

public List<UrlEntity> getUrls()

getHashTags

public List<HashTagEntity> getHashTags()

getMentions

public List<MentionEntity> getMentions()

getMedia

public List<MediaEntity> getMedia()

getTickerSymbols

public List<TickerSymbolEntity> getTickerSymbols()

hasUrls

public boolean hasUrls()

hasTags

public boolean hasTags()

hasMentions

public boolean hasMentions()

hasMedia

public boolean hasMedia()

hasTickerSymbols

public boolean hasTickerSymbols()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object