|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.core.model.MessageCollectionImpl
public class MessageCollectionImpl
Default representation of a MessageCollection
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.MessageCollection |
|---|
MessageCollection.Field |
| Field Summary |
|---|
| Fields inherited from interface org.apache.shindig.social.opensocial.model.MessageCollection |
|---|
ALL, OUTBOX |
| Constructor Summary | |
|---|---|
MessageCollectionImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Gets the unique ID of the message collection. |
java.lang.String |
getTitle()
Gets the title of the message collection. |
java.lang.Integer |
getTotal()
Gets the total number of messages for this collection. |
java.lang.Integer |
getUnread()
Gets the total number of unread messages. |
java.util.Date |
getUpdated()
Returns the last time this message collection was modified. |
java.util.List<Url> |
getUrls()
Get the URLs related to the message collection. |
void |
setId(java.lang.String id)
Sets the unique ID of the message collection. |
void |
setTitle(java.lang.String title)
Sets the title of the message message collection. |
void |
setTotal(java.lang.Integer total)
Sets the total number of messages for this collection |
void |
setUnread(java.lang.Integer unread)
Sets the total number of unread messages. |
void |
setUpdated(java.util.Date updated)
Sets the updated time for this message collection. |
void |
setUrls(java.util.List<Url> urls)
Set the URLs related to the message collection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageCollectionImpl()
| Method Detail |
|---|
public java.lang.String getId()
MessageCollection
getId in interface MessageCollectionpublic void setId(java.lang.String id)
MessageCollection
setId in interface MessageCollectionid - the ID value to setpublic java.lang.String getTitle()
MessageCollection
getTitle in interface MessageCollectionpublic void setTitle(java.lang.String title)
MessageCollection
setTitle in interface MessageCollectiontitle - the title of the messagepublic java.lang.Integer getTotal()
MessageCollection
getTotal in interface MessageCollectionpublic void setTotal(java.lang.Integer total)
MessageCollection
setTotal in interface MessageCollectiontotal - the total number of messagespublic java.lang.Integer getUnread()
MessageCollection
getUnread in interface MessageCollectionpublic void setUnread(java.lang.Integer unread)
MessageCollection
setUnread in interface MessageCollectionunread - the number of unread messagespublic java.util.Date getUpdated()
MessageCollection
getUpdated in interface MessageCollectionpublic void setUpdated(java.util.Date updated)
MessageCollection
setUpdated in interface MessageCollectionpublic java.util.List<Url> getUrls()
MessageCollection
getUrls in interface MessageCollectionpublic void setUrls(java.util.List<Url> urls)
MessageCollection
setUrls in interface MessageCollectionurls - the URLs related to the message collection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||