public class FacebookEvent extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <event> <owner>wjWAdVvKBeeDEbzoePgmOuLEBbdCznAYYAXXOeKoqzgfacPjvXcHJEGyPyWmSTgn</owner> <RSVPStatus>UNSURE</RSVPStatus> <location> <name>LivLgjfNVUnSRqoiiIDbjIISHoPDSGbsyaEVaErQBnvGtOOJCHsHcBeLSRULcxvW</name> </location> <groupPrivacy>SECRET</groupPrivacy> <startTimestamp>1983-07-03T23:12:36+0300</startTimestamp> <updatedTimestamp>1996-10-01T10:23:13+0300</updatedTimestamp> <description>EAKfyFOKjvqeOzAOiyGAtWzvphGtNnUxITLqYGvhexVPoNuXhKWXIhczwcMlaMYn</description> <name>uSEiDXhxoIvZnzAXpqlVUhzGCDytOzJBmIBCYbTEojXmEgwPpmvHETMhrTBNQPWY</name> </event>
Event
Modifier and Type | Class and Description |
---|---|
static class |
FacebookEvent.RSVPStatus
Reply status for a Facebook event.
|
Constructor and Description |
---|
FacebookEvent() |
FacebookEvent(com.restfb.types.Event event) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.Integer |
getDescriptionWeight() |
java.util.Date |
getEndTime() |
java.lang.String |
getEventOwnerName() |
FacebookEvent.RSVPStatus |
getEventStatus() |
static java.util.List<FacebookEvent> |
getFacebookEvents(java.util.List<com.restfb.types.Event> events) |
FacebookLocation |
getFacebookLocation() |
java.lang.String |
getName() |
java.lang.Integer |
getNameWeight() |
FacebookGroup.Privacy |
getPrivacy() |
java.util.Date |
getStartTime() |
java.util.Date |
getUpdatedTime() |
WeightedStringElement |
getWDescription() |
WeightedStringElement |
getWName() |
void |
setDescription(java.lang.String description) |
void |
setDescriptionWeight(java.lang.Integer descriptionWeight) |
void |
setEndTime(java.util.Date date) |
void |
setEventOwnerName(java.lang.String name) |
void |
setEventStatus(FacebookEvent.RSVPStatus status) |
void |
setFacebookLocation(FacebookLocation location) |
void |
setName(java.lang.String name) |
void |
setNameWeight(java.lang.Integer nameWeight) |
void |
setPrivacy(FacebookGroup.Privacy privacy) |
void |
setStartTime(java.util.Date date) |
void |
setUpdatedTime(java.util.Date date) |
public FacebookEvent()
public FacebookEvent(com.restfb.types.Event event) throws java.lang.IllegalArgumentException
event
- java.lang.IllegalArgumentException
public java.lang.String getEventOwnerName()
Event.getOwner()
,
setEventOwnerName(String)
public void setEventOwnerName(java.lang.String name)
name
- Event.setOwner(com.restfb.types.Event.Owner)
,
getEventOwnerName()
public WeightedStringElement getWDescription()
Event.getDescription()
,
getDescription()
public java.util.Date getStartTime()
Event.getStartTime()
,
setStartTime(Date)
public java.util.Date getEndTime()
Event.getEndTime()
,
setEndTime(Date)
public FacebookLocation getFacebookLocation()
Event.getVenue()
,
Event.getLocation()
,
setFacebookLocation(FacebookLocation)
public void setFacebookLocation(FacebookLocation location)
location
- Event.setLocation(java.lang.String)
,
getFacebookLocation()
public FacebookEvent.RSVPStatus getEventStatus()
Event.getRsvpStatus()
,
setEventStatus(RSVPStatus)
public void setEventStatus(FacebookEvent.RSVPStatus status)
status
- Event.setRsvpStatus(java.lang.String)
,
getEventStatus()
public FacebookGroup.Privacy getPrivacy()
Event.getPrivacy()
,
setPrivacy(service.tut.pori.facebookjazz.FacebookGroup.Privacy)
public void setPrivacy(FacebookGroup.Privacy privacy)
privacy
- Event.setPrivacy(java.lang.String)
,
getPrivacy()
public java.util.Date getUpdatedTime()
Event.getUpdatedTime()
,
setUpdatedTime(Date)
public WeightedStringElement getWName()
NamedFacebookType.getName()
,
getName()
public java.lang.Integer getNameWeight()
setNameWeight(Integer)
public void setNameWeight(java.lang.Integer nameWeight)
nameWeight
- the nameWeight to setgetNameWeight()
public java.lang.Integer getDescriptionWeight()
setDescriptionWeight(Integer)
public void setDescriptionWeight(java.lang.Integer descriptionWeight)
descriptionWeight
- the descriptionWeight to setgetDescriptionWeight()
public void setDescription(java.lang.String description)
description
- Event.setDescription(java.lang.String)
,
getDescription()
public void setEndTime(java.util.Date date)
date
- Event.setEndTime(java.util.Date)
,
getEndTime()
public void setName(java.lang.String name)
name
- NamedFacebookType.setName(java.lang.String)
,
getName()
public void setStartTime(java.util.Date date)
date
- Event.setStartTime(java.util.Date)
,
getStartTime()
public void setUpdatedTime(java.util.Date date)
date
- Event.setUpdatedTime(java.util.Date)
,
getUpdatedTime()
public static java.util.List<FacebookEvent> getFacebookEvents(java.util.List<com.restfb.types.Event> events)
events
- public java.lang.String getDescription()
Event.getDescription()
,
setDescription(String)
public java.lang.String getName()
NamedFacebookType.getName()
,
setName(String)
Copyright © 2015 Tampere University of Technology, Pori Department.