Files
sailing-analytics/java/com.tractrac.clientmodule/javadoc/com/tractrac/ResultAPI/LiveResultItem.html
T

949 lines
31 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Jun 02 10:36:51 CEST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
LiveResultItem (TracTrac Result API)
</TITLE>
<META NAME="date" CONTENT="2011-06-02">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="LiveResultItem (TracTrac Result API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/tractrac/ResultAPI/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LiveResultItem.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/tractrac/ResultAPI/LiveResult.html" title="class in com.tractrac.ResultAPI"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?com/tractrac/ResultAPI/LiveResultItem.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="LiveResultItem.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.tractrac.ResultAPI</FONT>
<BR>
Class LiveResultItem</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.tractrac.ResultAPI.LiveResultItem</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>LiveResultItem</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Class representing a competitor at any given point in time, including information about rank etc.
<P>
<P>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#LiveResultItem()">LiveResultItem</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getAfterAtFinish()">getAfterAtFinish</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the time after at finish.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getDescription()">getDescription</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the description of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getDistanceBehind()">getDistanceBehind</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the distance to the leader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getDistNextMark()">getDistNextMark</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the distance to the next mark.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getDistToFinish()">getDistToFinish</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the distance to the finish:
On current leg:
Using either distance projected onto straigh line between previous and next mark <i>or</i>
The distance projected onto the wind vector passing through the next mark
On the following legs: The direct distance between the marks
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getHeading()">getHeading</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the heading of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getLatitude()">getLatitude</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the latitude of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getLongitude()">getLongitude</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the longitude of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getName()">getName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getNationality()">getNationality</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the nationality of the competitor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getRank()">getRank</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the rank of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getShortName()">getShortName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the sail-number (short name) of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getSpeed()">getSpeed</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the speed of the boat</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getTeam()">getTeam</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of the competitors team</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.UUID</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#getUuid()">getUuid</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the UUID of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#isHasFinished()">isHasFinished</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check whether the competitor has finished the course</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setAfterAtFinish(long)">setAfterAtFinish</A></B>(long&nbsp;afterAtFinish)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the time after at finish.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String&nbsp;description)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the description of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setDistanceBehind(double)">setDistanceBehind</A></B>(double&nbsp;distanceBehind)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the distance behind the leader</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setDistNextMark(double)">setDistNextMark</A></B>(double&nbsp;distNextMark)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the distance to the next mark</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setDistToFinish(double)">setDistToFinish</A></B>(double&nbsp;distToFinish)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the distance to the finish</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setHasFinished(boolean)">setHasFinished</A></B>(boolean&nbsp;hasFinished)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether the competitor has finished the course</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setHeading(double)">setHeading</A></B>(double&nbsp;heading)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the heading of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setLatitude(double)">setLatitude</A></B>(double&nbsp;latitude)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the latutide of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setLongitude(double)">setLongitude</A></B>(double&nbsp;longitude)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the longitude of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
Set the name of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setNationality(java.lang.String)">setNationality</A></B>(java.lang.String&nbsp;nationality)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the nationality of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setRank(int)">setRank</A></B>(int&nbsp;rank)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the rank of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setShortName(java.lang.String)">setShortName</A></B>(java.lang.String&nbsp;shortName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the short name of the competitor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setSpeed(double)">setSpeed</A></B>(double&nbsp;speed)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the speed of the boat</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setTeam(java.lang.String)">setTeam</A></B>(java.lang.String&nbsp;team)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of the competitors team</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/tractrac/ResultAPI/LiveResultItem.html#setUuid(java.util.UUID)">setUuid</A></B>(java.util.UUID&nbsp;uuid)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the UUID of the competitor</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="LiveResultItem()"><!-- --></A><H3>
LiveResultItem</H3>
<PRE>
public <B>LiveResultItem</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getRank()"><!-- --></A><H3>
getRank</H3>
<PRE>
public int <B>getRank</B>()</PRE>
<DL>
<DD>Get the rank of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Get the rank of the competitor from 1 to n.</DL>
</DD>
</DL>
<HR>
<A NAME="setRank(int)"><!-- --></A><H3>
setRank</H3>
<PRE>
public void <B>setRank</B>(int&nbsp;rank)</PRE>
<DL>
<DD>Set the rank of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rank</CODE> - Set the rank from 1 to n</DL>
</DD>
</DL>
<HR>
<A NAME="getUuid()"><!-- --></A><H3>
getUuid</H3>
<PRE>
public java.util.UUID <B>getUuid</B>()</PRE>
<DL>
<DD>Get the UUID of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the uuid of the competitor</DL>
</DD>
</DL>
<HR>
<A NAME="setUuid(java.util.UUID)"><!-- --></A><H3>
setUuid</H3>
<PRE>
public void <B>setUuid</B>(java.util.UUID&nbsp;uuid)</PRE>
<DL>
<DD>Set the UUID of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uuid</CODE> - the uuid of the competitor to set</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Get the name of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the name of the competitor</DL>
</DD>
</DL>
<HR>
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>'
Set the name of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the competitor to set</DL>
</DD>
</DL>
<HR>
<A NAME="getShortName()"><!-- --></A><H3>
getShortName</H3>
<PRE>
public java.lang.String <B>getShortName</B>()</PRE>
<DL>
<DD>Get the sail-number (short name) of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the short name or sail number of the competitor</DL>
</DD>
</DL>
<HR>
<A NAME="setShortName(java.lang.String)"><!-- --></A><H3>
setShortName</H3>
<PRE>
public void <B>setShortName</B>(java.lang.String&nbsp;shortName)</PRE>
<DL>
<DD>Set the short name of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>shortName</CODE> - the short name or sail number of the competitor to set</DL>
</DD>
</DL>
<HR>
<A NAME="getNationality()"><!-- --></A><H3>
getNationality</H3>
<PRE>
public java.lang.String <B>getNationality</B>()</PRE>
<DL>
<DD>Get the nationality of the competitor. Nationality is a three-letter code using IOC naming standard.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the nationality of the competitor</DL>
</DD>
</DL>
<HR>
<A NAME="setNationality(java.lang.String)"><!-- --></A><H3>
setNationality</H3>
<PRE>
public void <B>setNationality</B>(java.lang.String&nbsp;nationality)</PRE>
<DL>
<DD>Set the nationality of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nationality</CODE> - the nationality of the competitor to set</DL>
</DD>
</DL>
<HR>
<A NAME="getTeam()"><!-- --></A><H3>
getTeam</H3>
<PRE>
public java.lang.String <B>getTeam</B>()</PRE>
<DL>
<DD>Get the name of the competitors team
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the competitor's team</DL>
</DD>
</DL>
<HR>
<A NAME="setTeam(java.lang.String)"><!-- --></A><H3>
setTeam</H3>
<PRE>
public void <B>setTeam</B>(java.lang.String&nbsp;team)</PRE>
<DL>
<DD>Set the name of the competitors team
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>team</CODE> - the competitor's team to set</DL>
</DD>
</DL>
<HR>
<A NAME="getDescription()"><!-- --></A><H3>
getDescription</H3>
<PRE>
public java.lang.String <B>getDescription</B>()</PRE>
<DL>
<DD>Get the description of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the description of the competitor</DL>
</DD>
</DL>
<HR>
<A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
setDescription</H3>
<PRE>
public void <B>setDescription</B>(java.lang.String&nbsp;description)</PRE>
<DL>
<DD>Set the description of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>description</CODE> - the description if the competitor to set</DL>
</DD>
</DL>
<HR>
<A NAME="isHasFinished()"><!-- --></A><H3>
isHasFinished</H3>
<PRE>
public boolean <B>isHasFinished</B>()</PRE>
<DL>
<DD>Check whether the competitor has finished the course
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if competitor has finished the course - false otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="setHasFinished(boolean)"><!-- --></A><H3>
setHasFinished</H3>
<PRE>
public void <B>setHasFinished</B>(boolean&nbsp;hasFinished)</PRE>
<DL>
<DD>Set whether the competitor has finished the course
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hasFinished</CODE> - set whether competitor has finished</DL>
</DD>
</DL>
<HR>
<A NAME="getAfterAtFinish()"><!-- --></A><H3>
getAfterAtFinish</H3>
<PRE>
public long <B>getAfterAtFinish</B>()</PRE>
<DL>
<DD>Get the time after at finish.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the time after at finish in milliseconds. Return Long.MAX_VALUE of competitor has not finished.</DL>
</DD>
</DL>
<HR>
<A NAME="setAfterAtFinish(long)"><!-- --></A><H3>
setAfterAtFinish</H3>
<PRE>
public void <B>setAfterAtFinish</B>(long&nbsp;afterAtFinish)</PRE>
<DL>
<DD>Set the time after at finish.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>afterAtFinish</CODE> - set the time in milliseconds the competitor is after at finish</DL>
</DD>
</DL>
<HR>
<A NAME="getDistanceBehind()"><!-- --></A><H3>
getDistanceBehind</H3>
<PRE>
public double <B>getDistanceBehind</B>()</PRE>
<DL>
<DD>Get the distance to the leader. This distance is depinding on whether wind is used for calculations.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>get the distance after in meters. Does not make sense after both competitors have finished.</DL>
</DD>
</DL>
<HR>
<A NAME="setDistanceBehind(double)"><!-- --></A><H3>
setDistanceBehind</H3>
<PRE>
public void <B>setDistanceBehind</B>(double&nbsp;distanceBehind)</PRE>
<DL>
<DD>Set the distance behind the leader
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>distanceBehind</CODE> - set the distance behind the leader</DL>
</DD>
</DL>
<HR>
<A NAME="getSpeed()"><!-- --></A><H3>
getSpeed</H3>
<PRE>
public double <B>getSpeed</B>()</PRE>
<DL>
<DD>Get the speed of the boat
<P>
<DD><DL>
<DT><B>Returns:</B><DD>get the speed in knot's as measured by the GPS device</DL>
</DD>
</DL>
<HR>
<A NAME="setSpeed(double)"><!-- --></A><H3>
setSpeed</H3>
<PRE>
public void <B>setSpeed</B>(double&nbsp;speed)</PRE>
<DL>
<DD>Set the speed of the boat
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>speed</CODE> - the speed of the competitor in knots</DL>
</DD>
</DL>
<HR>
<A NAME="getDistToFinish()"><!-- --></A><H3>
getDistToFinish</H3>
<PRE>
public double <B>getDistToFinish</B>()</PRE>
<DL>
<DD>Get the distance to the finish:
<ul>
<li>On current leg:
<ul>
<li>Using either distance projected onto straigh line between previous and next mark <i>or</i></li>
<li>The distance projected onto the wind vector passing through the next mark</li>
</ul>
</li>
<li>On the following legs: The direct distance between the marks</li>
</ul>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the distance to the finish, projected straight onto the wind-direction</DL>
</DD>
</DL>
<HR>
<A NAME="setDistToFinish(double)"><!-- --></A><H3>
setDistToFinish</H3>
<PRE>
public void <B>setDistToFinish</B>(double&nbsp;distToFinish)</PRE>
<DL>
<DD>Set the distance to the finish
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>distToFinish</CODE> - set the distance to the finish</DL>
</DD>
</DL>
<HR>
<A NAME="getDistNextMark()"><!-- --></A><H3>
getDistNextMark</H3>
<PRE>
public double <B>getDistNextMark</B>()</PRE>
<DL>
<DD>Get the distance to the next mark.
<ul>
<li>Using either distance projected onto straigh line between previous and next mark <i>or</i></li>
<li>The distance projected onto the wind vector passing through the next mark</li>
</ul>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the distance to the next mark</DL>
</DD>
</DL>
<HR>
<A NAME="setDistNextMark(double)"><!-- --></A><H3>
setDistNextMark</H3>
<PRE>
public void <B>setDistNextMark</B>(double&nbsp;distNextMark)</PRE>
<DL>
<DD>Set the distance to the next mark
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>distNextMark</CODE> - set the distance to the next mark</DL>
</DD>
</DL>
<HR>
<A NAME="getHeading()"><!-- --></A><H3>
getHeading</H3>
<PRE>
public double <B>getHeading</B>()</PRE>
<DL>
<DD>Get the heading of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the heading of the competitor in degrees (true north)</DL>
</DD>
</DL>
<HR>
<A NAME="setHeading(double)"><!-- --></A><H3>
setHeading</H3>
<PRE>
public void <B>setHeading</B>(double&nbsp;heading)</PRE>
<DL>
<DD>Set the heading of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>heading</CODE> - set the heading of the competitor</DL>
</DD>
</DL>
<HR>
<A NAME="getLatitude()"><!-- --></A><H3>
getLatitude</H3>
<PRE>
public double <B>getLatitude</B>()</PRE>
<DL>
<DD>Get the latitude of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the latitude of the competitor in (degrees).(decimal degrees)</DL>
</DD>
</DL>
<HR>
<A NAME="setLatitude(double)"><!-- --></A><H3>
setLatitude</H3>
<PRE>
public void <B>setLatitude</B>(double&nbsp;latitude)</PRE>
<DL>
<DD>Set the latutide of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>latitude</CODE> - set of the competitor in (degrees).(decimal degrees)</DL>
</DD>
</DL>
<HR>
<A NAME="getLongitude()"><!-- --></A><H3>
getLongitude</H3>
<PRE>
public double <B>getLongitude</B>()</PRE>
<DL>
<DD>Get the longitude of the competitor
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the longitude of the competitor in (degrees).(decimal degrees)</DL>
</DD>
</DL>
<HR>
<A NAME="setLongitude(double)"><!-- --></A><H3>
setLongitude</H3>
<PRE>
public void <B>setLongitude</B>(double&nbsp;longitude)</PRE>
<DL>
<DD>Set the longitude of the competitor
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>longitude</CODE> - set the longitude of the competitor in (degrees).(decimal degrees)</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/tractrac/ResultAPI/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LiveResultItem.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/tractrac/ResultAPI/LiveResult.html" title="class in com.tractrac.ResultAPI"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/tractrac/ResultAPI/MarkResult.html" title="class in com.tractrac.ResultAPI"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?com/tractrac/ResultAPI/LiveResultItem.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="LiveResultItem.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>