Package com.restfb.types
Class Event.Owner
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.Event.Owner
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Event
public static class Event.Owner extends AbstractFacebookType
Represents the Event Owner Graph API type.- Since:
- 1.6.13
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Owner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addCategory(Event.Category category)
String
getCategory()
The category for this owner.List<Event.Category>
getCategoryList()
List of other categories for this owner.String
getId()
The unique identifier for this owner.String
getName()
The name of this owner.boolean
removeCategory(Event.Category category)
void
setCategory(String category)
The category for this owner.void
setId(String id)
The unique identifier for this owner.void
setName(String name)
The name of this owner.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Owner
public Owner()
-
-
Method Detail
-
addCategory
public boolean addCategory(Event.Category category)
-
removeCategory
public boolean removeCategory(Event.Category category)
-
getCategoryList
public List<Event.Category> getCategoryList()
List of other categories for this owner.- Returns:
- List of other categories for this owner.
-
getId
public String getId()
The unique identifier for this owner.- Returns:
- The unique identifier for this owner.
-
getCategory
public String getCategory()
The category for this owner.- Returns:
- The category for this owner.
-
setCategory
public void setCategory(String category)
The category for this owner.
-
-