org.shredzone.flattr4j.model
Class Flattr
java.lang.Object
org.shredzone.flattr4j.model.Resource
org.shredzone.flattr4j.model.Flattr
- All Implemented Interfaces:
- Serializable, ThingId, UserId
public class Flattr
- extends Resource
- implements ThingId, UserId
A Flattr that was made to a thing.
This class is not threadsafe.
- Since:
- 2.0
- Author:
- Richard "Shred" Körber
- See Also:
- Serialized Form
Fields inherited from class org.shredzone.flattr4j.model.Resource |
data |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Flattr
public Flattr(FlattrObject data)
getThing
public Thing getThing()
getCreated
public Date getCreated()
getThingId
public String getThingId()
- Description copied from interface:
ThingId
- Returns the Thing's ID.
- Specified by:
getThingId
in interface ThingId
- Returns:
- Thing id
getUserId
public String getUserId()
- UserID of the user who flattred the thing.
- Specified by:
getUserId
in interface UserId
- Returns:
- User id
Copyright © 2010-2012. All Rights Reserved.