com.restfb.types
Class Event

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

public class Event
extends NamedFacebookType

Represents the Event 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
Event()
           
 
Method Summary
 String getDescription()
          The long-form HTML description of the event.
 Date getEndTime()
          The end time of the event.
 String getLocation()
          The location for this event, a string name.
 NamedFacebookType getOwner()
          An object containing the name and ID of the user who owns the event
 String getPrivacy()
          The visibility of this event.
 String getRsvpStatus()
          The RSVP status of this event.
 Date getStartTime()
          The start time of the event.
 Date getUpdatedTime()
          The last time the event was updated.
 Venue getVenue()
          The location of this event, a structured address object.
 
Methods inherited from class com.restfb.types.NamedFacebookType
getName
 
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

Event

public Event()
Method Detail

getOwner

public NamedFacebookType getOwner()
An object containing the name and ID of the user who owns the event

Returns:
An object containing the name and ID of the user who owns the event.

getDescription

public String getDescription()
The long-form HTML description of the event.

Returns:
The long-form HTML description of the event.

getStartTime

public Date getStartTime()
The start time of the event.

Returns:
The start time of the event.

getEndTime

public Date getEndTime()
The end time of the event.

Returns:
The end time of the event.

getLocation

public String getLocation()
The location for this event, a string name.

Returns:
The location for this event, a string name.

getVenue

public Venue getVenue()
The location of this event, a structured address object.

Returns:
The location of this event, a structured address object.

getRsvpStatus

public String getRsvpStatus()
The RSVP status of this event.

Returns:
The RSVP status of this event.

getPrivacy

public String getPrivacy()
The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.

Returns:
The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.

getUpdatedTime

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

Returns:
The last time the event was updated.


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