Package com.restfb.types
Class Milestone
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Milestone
- All Implemented Interfaces:
HasCreatedTime
,Serializable
Represents the Milestone Graph API
type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe creation time of the milestone.The description of the milestone.The end time of the milestone.getFrom()
The Page that posted the milestone.The start time of the milestone.getTitle()
The title of the milestoneThe update time of the milestone.void
setCreatedTime
(Date createdTime) The creation time of the milestone.void
setDescription
(String description) The description of the milestone.void
setEndTime
(Date endTime) The end time of the milestone.void
The Page that posted the milestone.void
setStartTime
(Date startTime) The start time of the milestone.void
The title of the milestonevoid
setUpdatedTime
(Date updatedTime) The update time of the milestone.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
-
Milestone
public Milestone()
-
-
Method Details
-
getTitle
The title of the milestone- Returns:
- The title of the milestone
-
setTitle
The title of the milestone -
getFrom
The Page that posted the milestone.- Returns:
- The Page that posted the milestone.
-
setFrom
The Page that posted the milestone. -
getDescription
The description of the milestone.- Returns:
- The description of the milestone
-
setDescription
The description of the milestone. -
getCreatedTime
The creation time of the milestone.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- The creation time of the milestone
-
setCreatedTime
The creation time of the milestone. -
getUpdatedTime
The update time of the milestone.- Returns:
- The update time of the milestone
-
setUpdatedTime
The update time of the milestone. -
getStartTime
The start time of the milestone.- Returns:
- The start time of the milestone
-
setStartTime
The start time of the milestone. -
getEndTime
The end time of the milestone. Page milestones have the same start and end time.- Returns:
- The end time of the milestone. Page milestones have the same start and end time
-
setEndTime
The end time of the milestone. Page milestones have the same start and end time.
-