Spring Social Twitter

org.springframework.social.twitter.api
Class Entities

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

public class Entities
extends java.lang.Object
implements java.io.Serializable

A json representation of entities found within twitter status objects.

User: bowen Date: 12/26/11

See Also:
Serialized Form

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

Constructor Detail

Entities

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

Entities

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

getUrls

public java.util.List<UrlEntity> getUrls()

getHashTags

public java.util.List<HashTagEntity> getHashTags()

getMentions

public java.util.List<MentionEntity> getMentions()

getMedia

public java.util.List<MediaEntity> getMedia()

getTickerSymbols

public java.util.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(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

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

Spring Social Twitter