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
public class Milestone extends FacebookType implements HasCreatedTime
Represents the Milestone Graph API type.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description Milestone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedTime()
The creation time of the milestone.String
getDescription()
The description of the milestone.Date
getEndTime()
The end time of the milestone.Page
getFrom()
The Page that posted the milestone.Date
getStartTime()
The start time of the milestone.String
getTitle()
The title of the milestoneDate
getUpdatedTime()
The 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
setFrom(Page from)
The Page that posted the milestone.void
setStartTime(Date startTime)
The start time of the milestone.void
setTitle(String title)
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 Detail
-
Milestone
public Milestone()
-
-
Method Detail
-
getFrom
public Page getFrom()
The Page that posted the milestone.- Returns:
- The Page that posted the milestone.
-
getDescription
public String getDescription()
The description of the milestone.- Returns:
- The description of the milestone
-
setDescription
public void setDescription(String description)
The description of the milestone.
-
getCreatedTime
public Date getCreatedTime()
The creation time of the milestone.- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- The creation time of the milestone
-
setCreatedTime
public void setCreatedTime(Date createdTime)
The creation time of the milestone.
-
getUpdatedTime
public Date getUpdatedTime()
The update time of the milestone.- Returns:
- The update time of the milestone
-
setUpdatedTime
public void setUpdatedTime(Date updatedTime)
The update time of the milestone.
-
getStartTime
public Date getStartTime()
The start time of the milestone.- Returns:
- The start time of the milestone
-
setStartTime
public void setStartTime(Date startTime)
The start time of the milestone.
-
getEndTime
public Date 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
public void setEndTime(Date endTime)
The end time of the milestone. Page milestones have the same start and end time.
-
-