com.tractrac.ResultAPI
Class MarkResult

java.lang.Object
  extended by com.tractrac.ResultAPI.MarkResult

public class MarkResult
extends java.lang.Object

The resultlist for a specific mark for a specific class.


Constructor Summary
MarkResult(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo, com.maptrack.client.data.EventClass eventClass, MarkResult previousMark, com.maptrack.client.data.ControlPoint cp)
          Constructor for the MarkResult.
 
Method Summary
 MarkResultItem get(int n)
          Get the specific MarkResultItem at index n
 java.lang.String getClassName()
          Get the name of the class
 java.util.UUID getClassUUID()
          Get the UUID of the class
 java.lang.String getMarkName()
          Get the UUID of the mark
 java.lang.String getMarkShortName()
          Get the short name of the mark
 java.util.UUID getMarkUUID()
          Get the name of the mark
 java.util.List<MarkResultItem> values()
          Get a complete list of markroundings for one mark for one class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarkResult

public MarkResult(java.util.List<com.maptrack.client.data.CompetitorMarkPassInfo> markPassInfo,
                  com.maptrack.client.data.EventClass eventClass,
                  MarkResult previousMark,
                  com.maptrack.client.data.ControlPoint cp)
Constructor for the MarkResult.

NOTE: Constructor is normally not used by API customers.

Parameters:
markPassInfo - Information about the current mark passings
eventClass - Information about the class
previousMark - Information about the previus mark passings
cp - Information about the controlpoint
Method Detail

values

public java.util.List<MarkResultItem> values()
Get a complete list of markroundings for one mark for one class

Returns:
the list of MarkResultItems sorted by rank

get

public MarkResultItem get(int n)
Get the specific MarkResultItem at index n

Parameters:
n - - the index from 0 to N, which corresponds to rank 1 to N+1
Returns:
a MarkResult for a specific mark

getClassName

public java.lang.String getClassName()
Get the name of the class

Returns:
the name of the class the resultlist is for

getClassUUID

public java.util.UUID getClassUUID()
Get the UUID of the class

Returns:
the uuid of the class the resultlist is for

getMarkUUID

public java.util.UUID getMarkUUID()
Get the name of the mark

Returns:
the uuid of the mark the list is generated for

getMarkName

public java.lang.String getMarkName()
Get the UUID of the mark

Returns:
the name of the mark the list is generated for

getMarkShortName

public java.lang.String getMarkShortName()
Get the short name of the mark

Returns:
the short name of the mark the list is generated for