|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tractrac.ResultAPI.MarkResult
public class MarkResult
The resultlist for a specific mark for a specific class.
| Field Summary | |
|---|---|
static int |
LEGTYPE_DOWNWIND
|
static int |
LEGTYPE_REACHING
|
static int |
LEGTYPE_UNKNOWN
|
static int |
LEGTYPE_UPWIND
|
| 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,
double legDirection)
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 |
int |
getLegType()
Get the type of leg: LEGTYPE_UPWIND, LEGTYPE_DOWNWIND, LEGTYPE_REACHING or LEGTYPE_UNKNOWN. |
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 |
| Field Detail |
|---|
public static final int LEGTYPE_UNKNOWN
public static final int LEGTYPE_UPWIND
public static final int LEGTYPE_DOWNWIND
public static final int LEGTYPE_REACHING
| Constructor Detail |
|---|
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,
double legDirection)
markPassInfo - Information about the current mark passingseventClass - Information about the classpreviousMark - Information about the previus mark passingscp - Information about the controlpoint| Method Detail |
|---|
public java.util.List<MarkResultItem> values()
public MarkResultItem get(int n)
n - - the index from 0 to N, which corresponds to rank 1 to N+1
public java.lang.String getClassName()
public java.util.UUID getClassUUID()
public java.util.UUID getMarkUUID()
public java.lang.String getMarkName()
public java.lang.String getMarkShortName()
public int getLegType()
Note that legtype isn't entered as part of the course defination, but calculated using the following logic:
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||