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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddComment(Comment comment) booleanaddTag(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.booleanremoveComment(Comment comment) booleanvoidsetApplication(NamedFacebookType application) The ID and name of the application that made the check-in.voidsetCreatedTime(Date createdTime) The time the check-in was created.voidsetFrom(NamedFacebookType from) The ID and name of the user who made the check-in.voidsetMessage(String message) The message the user added to the check-in.voidThe 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, setTypeMethods 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:
getMessagein 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:
getCreatedTimein interfaceHasCreatedTime- Returns:
- The time the check-in was created.
-
setCreatedTime
The time the check-in was created.
-