|
||||||||||
| 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.details.IdBase
com.tractrac.clientmodule.details.IdBaseNamed
com.tractrac.clientmodule.Competitor
public class Competitor
Encapsulates data related to a Competitor of an Event.
An instance of this class has a unique id and a name. Furthermore it may be linked to a Competitor Class.
Custom data may be attached to each Competitor instance.
Use Event.addCompetitor(java.util.UUID, java.lang.String, java.lang.String, java.lang.String, com.tractrac.clientmodule.CompetitorClass)
to create a new Competitor.
Event,
CompetitorClass| Method Summary | |
|---|---|
CompetitorClass |
getCompetitorClass()
Returns the Competitor Class associated with this Competitor, if any. |
java.lang.String |
getNationality()
Returns the nationality associated with this competitor |
java.lang.String |
getShortName()
Returns the short name associated with this competitor |
static AttKey |
newAttKey()
Creates a new (static) key to be used to set/get custom data related to competitors. |
| Methods inherited from class com.tractrac.clientmodule.details.IdBaseNamed |
|---|
getName, toString |
| Methods inherited from class com.tractrac.clientmodule.details.IdBase |
|---|
equals, getId, hashCode |
| Methods inherited from class com.tractrac.clientmodule.details.Attachments |
|---|
getAttachment, setAttachment |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static AttKey newAttKey()
public CompetitorClass getCompetitorClass()
null.public java.lang.String getShortName()
public java.lang.String getNationality()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||