com.restfb.types
Class StatusMessage

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.NamedFacebookType
          extended by com.restfb.types.StatusMessage
All Implemented Interfaces:
Serializable

public class StatusMessage
extends NamedFacebookType

Represents the Status Message Graph API type.

Since:
1.6
Author:
Mark Allen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
 
Constructor Summary
StatusMessage()
           
 
Method Summary
 List<Comment> getComments()
          All of the comments on this message.
 NamedFacebookType getFrom()
          The user who posted the message.
 List<NamedFacebookType> getLikes()
          The users that have liked this message.
 String getMessage()
          The status message content.
 String getType()
          The object type which is set to status.
 Date getUpdatedTime()
          The time the message was published.
 
Methods inherited from class com.restfb.types.NamedFacebookType
getName
 
Methods inherited from class com.restfb.types.FacebookType
equals, getId, getMetadata, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatusMessage

public StatusMessage()
Method Detail

getFrom

public NamedFacebookType getFrom()
The user who posted the message.

Returns:
The user who posted the message.

getMessage

public String getMessage()
The status message content.

Returns:
The status message content.

getType

public String getType()
The object type which is set to status.

Overrides:
getType in class FacebookType
Returns:
The object type which is set to status.

getUpdatedTime

public Date getUpdatedTime()
The time the message was published.

Returns:
The time the message was published.

getLikes

public List<NamedFacebookType> getLikes()
The users that have liked this message.

Returns:
The users that have liked this message.

getComments

public List<Comment> getComments()
All of the comments on this message.

Returns:
All of the comments on this message.


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.