Package com.restfb.types
Class Reactions
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.Reactions
-
- All Implemented Interfaces:
Serializable
public class Reactions extends AbstractFacebookType
Represents the Reactions Type- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Reactions.ReactionItem
the reaction type
-
Constructor Summary
Constructors Constructor Description Reactions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addData(Reactions.ReactionItem reaction)
List<Reactions.ReactionItem>
getData()
The reaction list.Long
getTotalCount()
The number of reactions.String
getViewerReaction()
boolean
removeData(Reactions.ReactionItem reaction)
void
setTotalCount(Long totalCount)
The number of reactions.void
setViewerReaction(String viewerReaction)
returns the user reaction to the object-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Reactions
public Reactions()
-
-
Method Detail
-
getData
public List<Reactions.ReactionItem> getData()
The reaction list.- Returns:
- The reaction list.
-
addData
public boolean addData(Reactions.ReactionItem reaction)
-
removeData
public boolean removeData(Reactions.ReactionItem reaction)
-
getTotalCount
public Long getTotalCount()
The number of reactions.- Returns:
- The number of reactions.
-
setTotalCount
public void setTotalCount(Long totalCount)
The number of reactions.
-
getViewerReaction
public String getViewerReaction()
- Returns:
- the user reaction to the object
-
setViewerReaction
public void setViewerReaction(String viewerReaction)
returns the user reaction to the object
-
-