Package com.restfb.types
Class Checkin
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Checkin
- All Implemented Interfaces:
HasCreatedTime
,HasFrom
,HasMessage
,Serializable
Represents the Check-In Graph API type.
- Since:
- 1.6
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addComment
(Comment comment) boolean
addTag
(NamedFacebookType tag) The ID and name of the application that made the check-in.The comments for the check-in.The time the check-in was created.getFrom()
The ID and name of the user who made the check-in.The message the user added to the check-in.getPlace()
The ID, name, and location of the Facebook Page that represents the location of the check-in.getTags()
Tags for the check-in.boolean
removeComment
(Comment comment) boolean
void
setApplication
(NamedFacebookType application) The ID and name of the application that made the check-in.void
setCreatedTime
(Date createdTime) The time the check-in was created.void
setFrom
(NamedFacebookType from) The ID and name of the user who made the check-in.void
setMessage
(String message) The message the user added to the check-in.void
The ID, name, and location of the Facebook Page that represents the location of the check-in.Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Checkin
public Checkin()
-
-
Method Details
-
getComments
The comments for the check-in.- Returns:
- The comments for the check-in.
-
addComment
-
removeComment
-
getTags
Tags for the check-in. I.e. Users tagged in the check-in- Returns:
- Tags for the check-in.
-
addTag
-
removeTag
-
getMessage
The message the user added to the check-in.- Specified by:
getMessage
in interfaceHasMessage
- Returns:
- The message the user added to the check-in.
-
setMessage
The message the user added to the check-in. -
getFrom
The ID and name of the user who made the check-in. -
setFrom
The ID and name of the user who made the check-in. -
getApplication
The ID and name of the application that made the check-in.- Returns:
- The ID and name of the application that made the check-in.
-
setApplication
The ID and name of the application that made the check-in. -
getPlace
The ID, name, and location of the Facebook Page that represents the location of the check-in.- Returns:
- The ID, name, and location of the Facebook Page that represents the location of the check-in.
-
setPlace
The ID, name, and location of the Facebook Page that represents the location of the check-in. -
getCreatedTime
The time the check-in was created.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- The time the check-in was created.
-
setCreatedTime
The time the check-in was created.
-