Package com.restfb.types
Class Category
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.Category
-
- All Implemented Interfaces:
Serializable
public class Category extends NamedFacebookType
Represents a category element used by place and page- Since:
- 1.6.15
- Author:
- Norbert Bartels
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addFbPageCategory(Category category)
String
getApiEnum()
List<Category>
getFbPageCategories()
boolean
removeFbPageCategory(Category category)
void
setApiEnum(String apiEnum)
-
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
-
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
-
Category
public Category()
-
-
Method Detail
-
getFbPageCategories
public List<Category> getFbPageCategories()
-
addFbPageCategory
public boolean addFbPageCategory(Category category)
-
removeFbPageCategory
public boolean removeFbPageCategory(Category category)
-
getApiEnum
public String getApiEnum()
-
setApiEnum
public void setApiEnum(String apiEnum)
-
-