com.restfb.types
Class Comment

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

public class Comment
extends FacebookType

Represents the Comment Graph API type.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
 
Constructor Summary
Comment()
           
 
Method Summary
 Date getCreatedTime()
          Date on which the comment was created.
 NamedFacebookType getFrom()
          User who posted the comment.
 Long getLikes()
          The number of likes on this comment.
 String getMessage()
          Text contents of the comment.
 
Methods inherited from class com.restfb.types.FacebookType
equals, getId, getMetadata, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Method Detail

getFrom

public NamedFacebookType getFrom()
User who posted the comment.

Returns:
User who posted the comment.

getMessage

public String getMessage()
Text contents of the comment.

Returns:
Text contents of the comment.

getCreatedTime

public Date getCreatedTime()
Date on which the comment was created.

Returns:
Date on which the comment was created.

getLikes

public Long getLikes()
The number of likes on this comment.

Returns:
The number of likes on this comment.


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