org.brickred.socialauth
Class Feed

java.lang.Object
  extended by org.brickred.socialauth.Feed
All Implemented Interfaces:
Serializable

public class Feed
extends Object
implements Serializable

Data bean for Feed info

Author:
tarun.nagpal
See Also:
Serialized Form

Constructor Summary
Feed()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Feed

public Feed()
Method Detail

getId

public String getId()
Returns Feed id

Returns:
feed id

setId

public void setId(String id)
Updates Feed Id

Parameters:
id - the feed id

getFrom

public String getFrom()
Returns the name who has posted this feed

Returns:
the name who has posted this feed

setFrom

public void setFrom(String from)
Updates the name who has posted feed

Parameters:
from - the name who has posted feed

getMessage

public String getMessage()
Returns feed message

Returns:
the feed message

setMessage

public void setMessage(String message)
Updates the feed message

Parameters:
message - the feed message

getCreatedAt

public Date getCreatedAt()
Returns the posted date

Returns:
the posted date

setCreatedAt

public void setCreatedAt(Date createdAt)
Updates the feed posted date

Parameters:
createdAt - the feed posted date

getScreenName

public String getScreenName()
Returns the screen name (if available) who has posted this feed

Returns:

setScreenName

public void setScreenName(String screenName)
Updates the screen name who has posted this feed

Parameters:
screenName -

toString

public String toString()
Retrieves the feed as a string

Overrides:
toString in class Object
Returns:
String


Copyright © 2014. All rights reserved.