com.tractrac.clientmodule
Class CompetitorClass

java.lang.Object
  extended by com.tractrac.clientmodule.details.Attachments
      extended by com.tractrac.clientmodule.details.IdBase
          extended by com.tractrac.clientmodule.details.IdBaseNamed
              extended by com.tractrac.clientmodule.CompetitorClass

public class CompetitorClass
extends IdBaseNamed

Encapsulates data related to a Competitor Class in a TracTrac Event.

All Competitors of an Event are typically divided into groups or classes. An instance of a Competitor Class can be used to represent data related to such a group/class.

An instance of this class has a unique id and a name. Custom data may be attached to each Competitor Class instance.

Use Event.addCompetitorClass(java.util.UUID, java.lang.String) to create a new Competitor Class.

Version:
2.0
Author:
TracTrac
See Also:
Event, Competitor

Method Summary
static AttKey newAttKey()
          Creates a new (static) key to be used to set/get custom data related to competitor classes.
 
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

newAttKey

public static AttKey newAttKey()
Creates a new (static) key to be used to set/get custom data related to competitor classes.

Returns:
a new key.