com.restfb.types
Class Comment

java.lang.Object
  extended by com.restfb.types.FacebookType
      extended by com.restfb.types.Comment

public class Comment
extends FacebookType

Represents the Comment Graph API type.

Since:
1.5
Author:
Mark Allen

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.
 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.


RestFB version 1.5.3. Copyright © 2010 Mark Allen. All Rights Reserved.