Package com.treescrub.spedran.data
Class RunPlayer
- java.lang.Object
-
- com.treescrub.spedran.data.Link
-
- com.treescrub.spedran.data.RunPlayer
-
public class RunPlayer extends Link
Has information about a specific runner. Only makes sense in the context of a run.
This class is immutable and thread-safe.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()booleanisGuest()Gets whether this runner is a guest.StringtoString()-
Methods inherited from class com.treescrub.spedran.data.Link
getRelation, getURI
-
-
-
-
Method Detail
-
isGuest
public boolean isGuest()
Gets whether this runner is a guest.
-
getId
public String getId()
- Returns:
- a
Stringwith the user ID or guest name - See Also:
Guest,User,Spedran.getUser(String)
-
-