|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tractrac.clientmodule.details.Attachments
com.tractrac.clientmodule.RaceCompetitor
public class RaceCompetitor
Encapsulates data related to a specific Competitor of a specific Race.
An instance of this class is linked to a Competitor and a Race. Furthermore, it may be linked to a Route.
Custom data may be attached to each Race Competitor instance.
Use Race.getRaceCompetitor(com.tractrac.clientmodule.Competitor)
to get the Race Competitor for a specific Competitor or
Race.getRaceCompetitorList() to get a list of them all.
Race,
Competitor,
Route| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
Competitor |
getCompetitor()
|
Race |
getRace()
|
Route |
getRoute()
|
int |
hashCode()
|
static AttKey |
newAttKey()
Creates a new (static) key to be used to set/get custom data related to race competitors. |
void |
setRoute(Route route)
|
| Methods inherited from class com.tractrac.clientmodule.details.Attachments |
|---|
getAttachment, setAttachment |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AttKey newAttKey()
public Race getRace()
public Competitor getCompetitor()
public void setRoute(Route route)
public Route getRoute()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||