public class Category extends Resource implements CategoryId
Category
are considered
equal if they contain the same id.Constructor and Description |
---|
Category(FlattrObject data) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCategoryId()
Category id to be used with Flattr.
|
String |
getName()
Category name to be used for humans.
|
int |
hashCode() |
static CategoryId |
withId(String id)
Returns a
CategoryId for the given Category id. |
toFlattrObject, toJSON
public Category(FlattrObject data)
public static CategoryId withId(String id)
CategoryId
for the given Category id.id
- Category idCategoryId
object for this idpublic String getCategoryId()
getCategoryId
in interface CategoryId
Copyright © 2010–2017. All rights reserved.