facebook4j.internal.json
Class EventJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.EventJSONImpl
- All Implemented Interfaces:
- Event, FacebookResponse, java.io.Serializable
final class EventJSONImpl
- extends FacebookResponseImpl
- implements Event, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
private java.lang.String id
owner
private Category owner
name
private java.lang.String name
description
private java.lang.String description
isDateOnly
private java.lang.Boolean isDateOnly
startTime
private java.util.Date startTime
endTime
private java.util.Date endTime
location
private java.lang.String location
venue
private Venue venue
privacy
private EventPrivacyType privacy
updatedTime
private java.util.Date updatedTime
rsvpStatus
private java.lang.String rsvpStatus
ticketURI
private java.net.URI ticketURI
timezone
private java.util.TimeZone timezone
EventJSONImpl
EventJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
EventJSONImpl
EventJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface Event
getOwner
public Category getOwner()
- Specified by:
getOwner in interface Event
getName
public java.lang.String getName()
- Specified by:
getName in interface Event
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Event
isDateOnly
public java.lang.Boolean isDateOnly()
- Specified by:
isDateOnly in interface Event
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime in interface Event
getEndTime
public java.util.Date getEndTime()
- Specified by:
getEndTime in interface Event
getLocation
public java.lang.String getLocation()
- Specified by:
getLocation in interface Event
getVenue
public Venue getVenue()
- Specified by:
getVenue in interface Event
getPrivacy
public EventPrivacyType getPrivacy()
- Specified by:
getPrivacy in interface Event
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Event
getRsvpStatus
public java.lang.String getRsvpStatus()
- Specified by:
getRsvpStatus in interface Event
getTicketURI
public java.net.URI getTicketURI()
- Specified by:
getTicketURI in interface Event
getTimezone
public java.util.TimeZone getTimezone()
- Specified by:
getTimezone in interface Event
createEventList
static ResponseList<Event> createEventList(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object