com.restfb.types
Class Note

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

public class Note
extends FacebookType

Represents the Note 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
Note()
           
 
Method Summary
 Date getCreatedTime()
          The time the note was initially published.
 NamedFacebookType getFrom()
          The ID of the user who posted the note.
 String getIcon()
          The note icon.
 String getMessage()
          The note content, an HTML string.
 String getSubject()
          The title of the note.
 Date getUpdatedTime()
          The time the note was last updated.
 
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

Note

public Note()
Method Detail

getFrom

public NamedFacebookType getFrom()
The ID of the user who posted the note.

Returns:
The ID of the user who posted the note.

getSubject

public String getSubject()
The title of the note.

Returns:
The title of the note.

getMessage

public String getMessage()
The note content, an HTML string.

Returns:
The note content, an HTML string.

getIcon

public String getIcon()
The note icon.

Returns:
The note icon.

getCreatedTime

public Date getCreatedTime()
The time the note was initially published.

Returns:
The time the note was initially published.

getUpdatedTime

public Date getUpdatedTime()
The time the note was last updated.

Returns:
The time the note was last updated.


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