Package com.restfb.types
Class PageLifeEvent
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.PageLifeEvent
-
- All Implemented Interfaces:
HasCreatedTime
,Serializable
public class PageLifeEvent extends FacebookType implements HasCreatedTime
Represents the Life Event Graph API type.- Since:
- 2.0.0
- Author:
- Quang Pham Le Duy
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description PageLifeEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedTime()
The time when this milestone was publishedString
getDescription()
Description of the milestone.Date
getEndTime()
The time when this milestone came to an end.Page
getFromPage()
The information of the Page that owns the milestone.Boolean
getIsHidden()
Whether the milestone is hidden or not.Date
getStartTime()
The time when this milestone was started.String
getTitle()
The title of the milestone.Date
getUpdatedTime()
The time when this milestone was updated.void
setCreatedTime(Date createdTime)
The time when this milestone was publishedvoid
setDescription(String description)
Description of the milestone.void
setEndTime(Date endTime)
The time when this milestone came to an end.void
setFromPage(Page fromPage)
The information of the Page that owns the milestone.void
setIsHidden(Boolean isHidden)
Whether the milestone is hidden or not.void
setStartTime(Date startTime)
The time when this milestone was started.void
setTitle(String title)
The title of the milestone.void
setUpdatedTime(Date updatedTime)
The time when this milestone was updated.-
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 Detail
-
PageLifeEvent
public PageLifeEvent()
-
-
Method Detail
-
getCreatedTime
public Date getCreatedTime()
The time when this milestone was published- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- The time when this milestone was published
-
setCreatedTime
public void setCreatedTime(Date createdTime)
The time when this milestone was published
-
getDescription
public String getDescription()
Description of the milestone.- Returns:
- Description of the milestone.
-
setDescription
public void setDescription(String description)
Description of the milestone.
-
getEndTime
public Date getEndTime()
The time when this milestone came to an end.- Returns:
- The time when this milestone came to an end.
-
setEndTime
public void setEndTime(Date endTime)
The time when this milestone came to an end.
-
getFromPage
public Page getFromPage()
The information of the Page that owns the milestone.- Returns:
- The information of the Page that owns the milestone.
-
setFromPage
public void setFromPage(Page fromPage)
The information of the Page that owns the milestone.
-
getIsHidden
public Boolean getIsHidden()
Whether the milestone is hidden or not.- Returns:
- true if the post is hidden, otherwise return false.
-
setIsHidden
public void setIsHidden(Boolean isHidden)
Whether the milestone is hidden or not.
-
getStartTime
public Date getStartTime()
The time when this milestone was started.- Returns:
- The time when this milestone was started.
-
setStartTime
public void setStartTime(Date startTime)
The time when this milestone was started.
-
getUpdatedTime
public Date getUpdatedTime()
The time when this milestone was updated.- Returns:
- The time when this milestone was updated.
-
setUpdatedTime
public void setUpdatedTime(Date updatedTime)
The time when this milestone was updated.
-
-