|
||||||||||
| 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 | |
|---|---|
String |
getId()
Gets the unique ID of the message collection. |
String |
getTitle()
Gets the title of the message collection. |
Integer |
getTotal()
Gets the total number of messages for this collection. |
Integer |
getUnread()
Gets the total number of unread messages. |
Date |
getUpdated()
Returns the last time this message collection was modified. |
List<Url> |
getUrls()
Get the URLs related to the message collection. |
void |
setId(String id)
Sets the unique ID of the message collection. |
void |
setTitle(String title)
Sets the title of the message message collection. |
void |
setTotal(Integer total)
Sets the total number of messages for this collection |
void |
setUnread(Integer unread)
Sets the total number of unread messages. |
void |
setUpdated(Date updated)
Sets the updated time for this message collection. |
void |
setUrls(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 String getId()
MessageCollection
getId in interface MessageCollectionpublic void setId(String id)
MessageCollection
setId in interface MessageCollectionid - the ID value to setpublic String getTitle()
MessageCollection
getTitle in interface MessageCollectionpublic void setTitle(String title)
MessageCollection
setTitle in interface MessageCollectiontitle - the title of the messagepublic Integer getTotal()
MessageCollection
getTotal in interface MessageCollectionpublic void setTotal(Integer total)
MessageCollection
setTotal in interface MessageCollectiontotal - the total number of messagespublic Integer getUnread()
MessageCollection
getUnread in interface MessageCollectionpublic void setUnread(Integer unread)
MessageCollection
setUnread in interface MessageCollectionunread - the number of unread messagespublic Date getUpdated()
MessageCollection
getUpdated in interface MessageCollectionpublic void setUpdated(Date updated)
MessageCollection
setUpdated in interface MessageCollectionpublic List<Url> getUrls()
MessageCollection
getUrls in interface MessageCollectionpublic void setUrls(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 | |||||||||