public class Feed extends Object implements Serializable
| Constructor and Description |
|---|
Feed() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreatedAt()
Returns the posted date
|
String |
getFrom()
Returns the name who has posted this feed
|
String |
getId()
Returns Feed id
|
String |
getMessage()
Returns feed message
|
String |
getScreenName()
Returns the screen name (if available) who has posted this feed
|
void |
setCreatedAt(Date createdAt)
Updates the feed posted date
|
void |
setFrom(String from)
Updates the name who has posted feed
|
void |
setId(String id)
Updates Feed Id
|
void |
setMessage(String message)
Updates the feed message
|
void |
setScreenName(String screenName)
Updates the screen name who has posted this feed
|
String |
toString()
Retrieves the feed as a string
|
public String getId()
public void setId(String id)
id - the feed idpublic String getFrom()
public void setFrom(String from)
from - the name who has posted feedpublic String getMessage()
public void setMessage(String message)
message - the feed messagepublic Date getCreatedAt()
public void setCreatedAt(Date createdAt)
createdAt - the feed posted datepublic String getScreenName()
public void setScreenName(String screenName)
screenName - Copyright © 2018. All Rights Reserved.