Removing uneeded file.
[and.git] / PC^2 / pc2board / doc / pc2ex / pc2 / ex / ContestInfo.html
blob981655bbebad0a231dae49756e2e14e89c1196a0
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc on Wed Jul 09 10:18:16 PDT 2003 -->
6 <TITLE>
7 PC^2: Class ContestInfo
8 </TITLE>
9 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
10 </HEAD>
11 <BODY BGCOLOR="white">
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME="navbar_top"><!-- --></A>
15 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16 <TR>
17 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18 <A NAME="navbar_top_firstrow"><!-- --></A>
19 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20 <TR ALIGN="center" VALIGN="top">
21 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
22 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
23 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
24 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
25 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
26 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
27 </TR>
28 </TABLE>
29 </TD>
30 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
31 Questions? <A HREf=mailto:pc2@ecs.csus.edu>Send mail to PC<sup>2</sup></a></EM>
32 </TD>
33 </TR>
35 <TR>
36 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
37 &nbsp;<A HREF="../../pc2/ex/ClientScoreData.html"><B>PREV CLASS</B></A>&nbsp;
38 &nbsp;<A HREF="../../pc2/ex/GetRunsClient.html"><B>NEXT CLASS</B></A></FONT></TD>
39 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
40 <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
41 &nbsp;<A HREF="ContestInfo.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
42 </TR>
43 <TR>
44 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
45 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
46 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
47 DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
48 </TR>
49 </TABLE>
50 <!-- =========== END OF NAVBAR =========== -->
52 <HR>
53 <!-- ======== START OF CLASS DATA ======== -->
54 <H2>
55 <FONT SIZE="-1">
56 pc2.ex</FONT>
57 <BR>
58 Class ContestInfo</H2>
59 <PRE>
60 java.lang.Object
62 +--<B>pc2.ex.ContestInfo</B>
63 </PRE>
64 <HR>
65 <DL>
66 <DT>public class <B>ContestInfo</B><DT>extends java.lang.Object</DL>
68 <P>
69 General Contest info, used by PC<sup>2</sup> Clients
70 <P>
71 This class should not be used directly, instead use
72 on of the abstract classes or <A HREF="../../pc2/ex/BaseClient.html"><CODE>BaseClient</CODE></A> to
73 retrieve values/settings.
74 <P>
75 <HR>
77 <P>
78 <!-- ======== INNER CLASS SUMMARY ======== -->
81 <!-- =========== FIELD SUMMARY =========== -->
83 <A NAME="field_summary"><!-- --></A>
84 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
85 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
86 <TD COLSPAN=2><FONT SIZE="+2">
87 <B>Field Summary</B></FONT></TD>
88 </TR>
89 <TR BGCOLOR="white" CLASS="TableRowColor">
90 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
91 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
92 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_CONTEST_LENGTH">PROP_CONTEST_LENGTH</A></B></CODE>
94 <BR>
95 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Contest Length in minutes</TD>
96 </TR>
97 <TR BGCOLOR="white" CLASS="TableRowColor">
98 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
99 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
100 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_CONTEST_SHORT_NAME">PROP_CONTEST_SHORT_NAME</A></B></CODE>
102 <BR>
103 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Name of the Contest</TD>
104 </TR>
105 <TR BGCOLOR="white" CLASS="TableRowColor">
106 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
107 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
108 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_SHOW_TEAM_ID">PROP_SHOW_TEAM_ID</A></B></CODE>
110 <BR>
111 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Judge show team number while viewing runs and clars</TD>
112 </TR>
113 <TR BGCOLOR="white" CLASS="TableRowColor">
114 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
116 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_SUBMISSION_PENALTY_POINTS">PROP_SUBMISSION_PENALTY_POINTS</A></B></CODE>
118 <BR>
119 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For scoring, how many points an incorrect solution should be given</TD>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_SUPPRESS_VIEWJUDGETIME">PROP_SUPPRESS_VIEWJUDGETIME</A></B></CODE>
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of minutes when teams are no longer notified</TD>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131 <CODE>protected static&nbsp;java.lang.String</CODE></FONT></TD>
132 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_VALIDATOR_COMMENT">PROP_VALIDATOR_COMMENT</A></B></CODE>
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Judge validator comment (if validator used)</TD>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139 <CODE>protected static&nbsp;java.lang.String</CODE></FONT></TD>
140 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_VALIDATOR_RESULT">PROP_VALIDATOR_RESULT</A></B></CODE>
142 <BR>
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Judge validator result (if validator used)</TD>
144 </TR>
145 <TR BGCOLOR="white" CLASS="TableRowColor">
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147 <CODE>protected static&nbsp;java.lang.String</CODE></FONT></TD>
148 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_VALIDATOR_SHOW_RESULTS">PROP_VALIDATOR_SHOW_RESULTS</A></B></CODE>
150 <BR>
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Judge whether the validator results should be shown to the judge</TD>
152 </TR>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155 <CODE>protected static&nbsp;java.lang.String</CODE></FONT></TD>
156 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#PROP_VALIDATOR_USED">PROP_VALIDATOR_USED</A></B></CODE>
158 <BR>
159 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Judge true/false whether validator was used</TD>
160 </TR>
161 </TABLE>
162 &nbsp;
163 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
165 <A NAME="constructor_summary"><!-- --></A>
166 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
167 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
168 <TD COLSPAN=2><FONT SIZE="+2">
169 <B>Constructor Summary</B></FONT></TD>
170 </TR>
171 <TR BGCOLOR="white" CLASS="TableRowColor">
172 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#ContestInfo()">ContestInfo</A></B>()</CODE>
174 <BR>
175 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ContestInfo constructor</TD>
176 </TR>
177 </TABLE>
178 &nbsp;
179 <!-- ========== METHOD SUMMARY =========== -->
181 <A NAME="method_summary"><!-- --></A>
182 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
183 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
184 <TD COLSPAN=2><FONT SIZE="+2">
185 <B>Method Summary</B></FONT></TD>
186 </TR>
187 <TR BGCOLOR="white" CLASS="TableRowColor">
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
190 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getAccountName(java.lang.Long, int, java.lang.Long)">getAccountName</A></B>(java.lang.Long&nbsp;siteId,
191 int&nbsp;accountType,
192 java.lang.Long&nbsp;accountId)</CODE>
194 <BR>
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get account display name, returns null if undefined
196 </TD>
197 </TR>
198 <TR BGCOLOR="white" CLASS="TableRowColor">
199 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
201 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getACMRegionName(int)">getACMRegionName</A></B>(int&nbsp;regionId)</CODE>
203 <BR>
204 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return ACM region name for input ACM region id</TD>
205 </TR>
206 <TR BGCOLOR="white" CLASS="TableRowColor">
207 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208 <CODE>&nbsp;java.lang.Integer[]</CODE></FONT></TD>
209 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getAllACMRegionIds()">getAllACMRegionIds</A></B>()</CODE>
211 <BR>
212 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
213 </TR>
214 <TR BGCOLOR="white" CLASS="TableRowColor">
215 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216 <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
217 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getAllACMRegionNames()">getAllACMRegionNames</A></B>()</CODE>
219 <BR>
220 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
221 </TR>
222 <TR BGCOLOR="white" CLASS="TableRowColor">
223 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
225 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getClientName(int, java.lang.Long, java.lang.Long)">getClientName</A></B>(int&nbsp;clientType,
226 java.lang.Long&nbsp;siteId,
227 java.lang.Long&nbsp;accountId)</CODE>
229 <BR>
230 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get client (team) name, returns null if undefined</TD>
231 </TR>
232 <TR BGCOLOR="white" CLASS="TableRowColor">
233 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
234 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
235 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getInternalData(java.lang.Object, int)">getInternalData</A></B>(java.lang.Object&nbsp;obj1,
236 int&nbsp;settingsValue)</CODE>
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;getInternalData
242 This method will be deprecated</TD>
243 </TR>
244 <TR BGCOLOR="white" CLASS="TableRowColor">
245 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
247 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getJudgementName(int)">getJudgementName</A></B>(int&nbsp;judgementNumber)</CODE>
249 <BR>
250 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return judgement name for input index
251 </TD>
252 </TR>
253 <TR BGCOLOR="white" CLASS="TableRowColor">
254 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
256 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getLanguageTitle(java.lang.Long)">getLanguageTitle</A></B>(java.lang.Long&nbsp;languageId)</CODE>
258 <BR>
259 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get language title/name returns "" if not defined.</TD>
260 </TR>
261 <TR BGCOLOR="white" CLASS="TableRowColor">
262 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263 <CODE>&nbsp;int</CODE></FONT></TD>
264 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getNumAccounts(int)">getNumAccounts</A></B>(int&nbsp;accountType)</CODE>
266 <BR>
267 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of Accounts for a given account type
269 </TD>
270 </TR>
271 <TR BGCOLOR="white" CLASS="TableRowColor">
272 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273 <CODE>&nbsp;int</CODE></FONT></TD>
274 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getNumACMRegions()">getNumACMRegions</A></B>()</CODE>
276 <BR>
277 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns Number of ACM regions</TD>
278 </TR>
279 <TR BGCOLOR="white" CLASS="TableRowColor">
280 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
281 <CODE>&nbsp;int</CODE></FONT></TD>
282 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getNumJudgementNames()">getNumJudgementNames</A></B>()</CODE>
284 <BR>
285 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return number of judgement names</TD>
286 </TR>
287 <TR BGCOLOR="white" CLASS="TableRowColor">
288 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
289 <CODE>&nbsp;int</CODE></FONT></TD>
290 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getNumLanguages()">getNumLanguages</A></B>()</CODE>
292 <BR>
293 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns Number of Languages</TD>
294 </TR>
295 <TR BGCOLOR="white" CLASS="TableRowColor">
296 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
297 <CODE>&nbsp;int</CODE></FONT></TD>
298 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getNumProblems()">getNumProblems</A></B>()</CODE>
300 <BR>
301 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns Number of Problems</TD>
302 </TR>
303 <TR BGCOLOR="white" CLASS="TableRowColor">
304 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
305 <CODE>&nbsp;int</CODE></FONT></TD>
306 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getNumTeamAccounts()">getNumTeamAccounts</A></B>()</CODE>
308 <BR>
309 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns number Team accounts</TD>
310 </TR>
311 <TR BGCOLOR="white" CLASS="TableRowColor">
312 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
313 <CODE>&nbsp;java.io.File</CODE></FONT></TD>
314 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProblemAnswerFile(java.lang.Long, int)">getProblemAnswerFile</A></B>(java.lang.Long&nbsp;problemId,
315 int&nbsp;dataSetNumber)</CODE>
317 <BR>
318 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns the data file for a given problem (or null if not defined)</TD>
319 </TR>
320 <TR BGCOLOR="white" CLASS="TableRowColor">
321 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
322 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
323 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProblemAnswerFileName(java.lang.Long)">getProblemAnswerFileName</A></B>(java.lang.Long&nbsp;problemId)</CODE>
325 <BR>
326 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get problem data file name returns null if not problemId not defined</TD>
327 </TR>
328 <TR BGCOLOR="white" CLASS="TableRowColor">
329 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
330 <CODE>&nbsp;java.io.File</CODE></FONT></TD>
331 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProblemDataFile(java.lang.Long, int)">getProblemDataFile</A></B>(java.lang.Long&nbsp;problemId,
332 int&nbsp;dataSetNumber)</CODE>
334 <BR>
335 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns the data file for a given problem (or null if not defined)</TD>
336 </TR>
337 <TR BGCOLOR="white" CLASS="TableRowColor">
338 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
340 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProblemDataFileName(java.lang.Long)">getProblemDataFileName</A></B>(java.lang.Long&nbsp;problemId)</CODE>
342 <BR>
343 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get problem data file name returns null if not problemId not defined</TD>
344 </TR>
345 <TR BGCOLOR="white" CLASS="TableRowColor">
346 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
347 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
348 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProblemTitle(java.lang.Long)">getProblemTitle</A></B>(java.lang.Long&nbsp;problemId)</CODE>
350 <BR>
351 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get problem title/name returns "" if not problemId not defined</TD>
352 </TR>
353 <TR BGCOLOR="white" CLASS="TableRowColor">
354 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
355 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
356 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String&nbsp;key)</CODE>
358 <BR>
359 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
360 </TR>
361 <TR BGCOLOR="white" CLASS="TableRowColor">
362 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
363 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
364 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getProperty(java.lang.String, java.lang.String)">getProperty</A></B>(java.lang.String&nbsp;key,
365 java.lang.String&nbsp;defaultValue)</CODE>
367 <BR>
368 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
369 </TR>
370 <TR BGCOLOR="white" CLASS="TableRowColor">
371 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
372 <CODE>&nbsp;java.lang.Boolean</CODE></FONT></TD>
373 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getPropertyBoolean(java.lang.String)">getPropertyBoolean</A></B>(java.lang.String&nbsp;key)</CODE>
375 <BR>
376 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
377 </TR>
378 <TR BGCOLOR="white" CLASS="TableRowColor">
379 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
380 <CODE>&nbsp;java.lang.Boolean[]</CODE></FONT></TD>
381 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getPropertyBooleanArray(java.lang.String)">getPropertyBooleanArray</A></B>(java.lang.String&nbsp;keyPrefix)</CODE>
383 <BR>
384 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
385 </TR>
386 <TR BGCOLOR="white" CLASS="TableRowColor">
387 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388 <CODE>&nbsp;java.lang.Integer[]</CODE></FONT></TD>
389 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getPropertyIntegerArray(java.lang.String)">getPropertyIntegerArray</A></B>(java.lang.String&nbsp;keyPrefix)</CODE>
391 <BR>
392 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
393 </TR>
394 <TR BGCOLOR="white" CLASS="TableRowColor">
395 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396 <CODE>&nbsp;java.lang.Long</CODE></FONT></TD>
397 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getPropertyLong(java.lang.String)">getPropertyLong</A></B>(java.lang.String&nbsp;key)</CODE>
399 <BR>
400 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
401 </TR>
402 <TR BGCOLOR="white" CLASS="TableRowColor">
403 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404 <CODE>&nbsp;java.lang.Long[]</CODE></FONT></TD>
405 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getPropertyLongArray(java.lang.String)">getPropertyLongArray</A></B>(java.lang.String&nbsp;keyPrefix)</CODE>
407 <BR>
408 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
409 </TR>
410 <TR BGCOLOR="white" CLASS="TableRowColor">
411 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412 <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
413 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getPropertyStringArray(java.lang.String)">getPropertyStringArray</A></B>(java.lang.String&nbsp;keyPrefix)</CODE>
415 <BR>
416 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
417 </TR>
418 <TR BGCOLOR="white" CLASS="TableRowColor">
419 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
420 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
421 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getSiteTitle(java.lang.Long)">getSiteTitle</A></B>(java.lang.Long&nbsp;siteId)</CODE>
423 <BR>
424 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return judgement name for input index
425 </TD>
426 </TR>
427 <TR BGCOLOR="white" CLASS="TableRowColor">
428 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
429 <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
430 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getTeamAccountKeys()">getTeamAccountKeys</A></B>()</CODE>
432 <BR>
433 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns list of Team accounts keys</TD>
434 </TR>
435 <TR BGCOLOR="white" CLASS="TableRowColor">
436 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
437 <CODE>&nbsp;int</CODE></FONT></TD>
438 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getTeamACMId(java.lang.Long, java.lang.Long)">getTeamACMId</A></B>(java.lang.Long&nbsp;siteId,
439 java.lang.Long&nbsp;accountId)</CODE>
441 <BR>
442 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get ACM id, returns 0 if undefined</TD>
443 </TR>
444 <TR BGCOLOR="white" CLASS="TableRowColor">
445 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
446 <CODE>&nbsp;int</CODE></FONT></TD>
447 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getTeamACMRegionId(java.lang.Long, java.lang.Long)">getTeamACMRegionId</A></B>(java.lang.Long&nbsp;siteId,
448 java.lang.Long&nbsp;accountId)</CODE>
450 <BR>
451 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get ACM region id, returns 0 if undefined</TD>
452 </TR>
453 <TR BGCOLOR="white" CLASS="TableRowColor">
454 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
455 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
456 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#getTeamName(java.lang.Long, java.lang.Long)">getTeamName</A></B>(java.lang.Long&nbsp;siteId,
457 java.lang.Long&nbsp;accountId)</CODE>
459 <BR>
460 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get team name, returns null if undefined</TD>
461 </TR>
462 <TR BGCOLOR="white" CLASS="TableRowColor">
463 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
464 <CODE>&nbsp;boolean</CODE></FONT></TD>
465 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#isInitialized()">isInitialized</A></B>()</CODE>
467 <BR>
468 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns true logged in and there is contest info</TD>
469 </TR>
470 <TR BGCOLOR="white" CLASS="TableRowColor">
471 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
472 <CODE>&nbsp;boolean</CODE></FONT></TD>
473 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#isTeamActive(java.lang.Long, java.lang.Long)">isTeamActive</A></B>(java.lang.Long&nbsp;siteId,
474 java.lang.Long&nbsp;accountId)</CODE>
476 <BR>
477 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get status of team account</TD>
478 </TR>
479 <TR BGCOLOR="white" CLASS="TableRowColor">
480 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
481 <CODE>&nbsp;boolean</CODE></FONT></TD>
482 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#setData(java.lang.Object)">setData</A></B>(java.lang.Object&nbsp;obj1)</CODE>
484 <BR>
485 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set initializing data for ContestInfo</TD>
486 </TR>
487 <TR BGCOLOR="white" CLASS="TableRowColor">
488 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
489 <CODE>&nbsp;boolean</CODE></FONT></TD>
490 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#setData(java.lang.Object, int)">setData</A></B>(java.lang.Object&nbsp;obj1,
491 int&nbsp;scope)</CODE>
493 <BR>
494 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set initializing data for contest information</TD>
495 </TR>
496 <TR BGCOLOR="white" CLASS="TableRowColor">
497 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
498 <CODE>&nbsp;boolean</CODE></FONT></TD>
499 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#writeProblemAnswerFile(java.lang.Long, int, java.lang.String)">writeProblemAnswerFile</A></B>(java.lang.Long&nbsp;problemId,
500 int&nbsp;dataSetNumber,
501 java.lang.String&nbsp;fileName)</CODE>
503 <BR>
504 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writes an answer file to the fileName specified</TD>
505 </TR>
506 <TR BGCOLOR="white" CLASS="TableRowColor">
507 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
508 <CODE>&nbsp;boolean</CODE></FONT></TD>
509 <TD><CODE><B><A HREF="../../pc2/ex/ContestInfo.html#writeProblemDataFile(java.lang.Long, int, java.lang.String)">writeProblemDataFile</A></B>(java.lang.Long&nbsp;problemId,
510 int&nbsp;dataSetNumber,
511 java.lang.String&nbsp;fileName)</CODE>
513 <BR>
514 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writes an data file to the fileName specified</TD>
515 </TR>
516 </TABLE>
517 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
518 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
519 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
520 <TD><B>Methods inherited from class java.lang.Object</B></TD>
521 </TR>
522 <TR BGCOLOR="white" CLASS="TableRowColor">
523 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
524 </TR>
525 </TABLE>
526 &nbsp;
529 <!-- ============ FIELD DETAIL =========== -->
531 <A NAME="field_detail"><!-- --></A>
532 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
533 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
534 <TD COLSPAN=1><FONT SIZE="+2">
535 <B>Field Detail</B></FONT></TD>
536 </TR>
537 </TABLE>
539 <A NAME="PROP_CONTEST_LENGTH"><!-- --></A><H3>
540 PROP_CONTEST_LENGTH</H3>
541 <PRE>
542 public static java.lang.String <B>PROP_CONTEST_LENGTH</B></PRE>
543 <DL>
544 <DD>The Contest Length in minutes</DL>
545 <HR>
547 <A NAME="PROP_SUPPRESS_VIEWJUDGETIME"><!-- --></A><H3>
548 PROP_SUPPRESS_VIEWJUDGETIME</H3>
549 <PRE>
550 public static java.lang.String <B>PROP_SUPPRESS_VIEWJUDGETIME</B></PRE>
551 <DL>
552 <DD>Number of minutes when teams are no longer notified</DL>
553 <HR>
555 <A NAME="PROP_CONTEST_SHORT_NAME"><!-- --></A><H3>
556 PROP_CONTEST_SHORT_NAME</H3>
557 <PRE>
558 public static java.lang.String <B>PROP_CONTEST_SHORT_NAME</B></PRE>
559 <DL>
560 <DD>The Name of the Contest</DL>
561 <HR>
563 <A NAME="PROP_SHOW_TEAM_ID"><!-- --></A><H3>
564 PROP_SHOW_TEAM_ID</H3>
565 <PRE>
566 public static java.lang.String <B>PROP_SHOW_TEAM_ID</B></PRE>
567 <DL>
568 <DD>On Judge show team number while viewing runs and clars</DL>
569 <HR>
571 <A NAME="PROP_VALIDATOR_USED"><!-- --></A><H3>
572 PROP_VALIDATOR_USED</H3>
573 <PRE>
574 protected static java.lang.String <B>PROP_VALIDATOR_USED</B></PRE>
575 <DL>
576 <DD>On Judge true/false whether validator was used</DL>
577 <HR>
579 <A NAME="PROP_VALIDATOR_RESULT"><!-- --></A><H3>
580 PROP_VALIDATOR_RESULT</H3>
581 <PRE>
582 protected static java.lang.String <B>PROP_VALIDATOR_RESULT</B></PRE>
583 <DL>
584 <DD>On Judge validator result (if validator used)</DL>
585 <HR>
587 <A NAME="PROP_VALIDATOR_COMMENT"><!-- --></A><H3>
588 PROP_VALIDATOR_COMMENT</H3>
589 <PRE>
590 protected static java.lang.String <B>PROP_VALIDATOR_COMMENT</B></PRE>
591 <DL>
592 <DD>On Judge validator comment (if validator used)</DL>
593 <HR>
595 <A NAME="PROP_VALIDATOR_SHOW_RESULTS"><!-- --></A><H3>
596 PROP_VALIDATOR_SHOW_RESULTS</H3>
597 <PRE>
598 protected static java.lang.String <B>PROP_VALIDATOR_SHOW_RESULTS</B></PRE>
599 <DL>
600 <DD>On Judge whether the validator results should be shown to the judge</DL>
601 <HR>
603 <A NAME="PROP_SUBMISSION_PENALTY_POINTS"><!-- --></A><H3>
604 PROP_SUBMISSION_PENALTY_POINTS</H3>
605 <PRE>
606 public static java.lang.String <B>PROP_SUBMISSION_PENALTY_POINTS</B></PRE>
607 <DL>
608 <DD>For scoring, how many points an incorrect solution should be given</DL>
610 <!-- ========= CONSTRUCTOR DETAIL ======== -->
612 <A NAME="constructor_detail"><!-- --></A>
613 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
614 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
615 <TD COLSPAN=1><FONT SIZE="+2">
616 <B>Constructor Detail</B></FONT></TD>
617 </TR>
618 </TABLE>
620 <A NAME="ContestInfo()"><!-- --></A><H3>
621 ContestInfo</H3>
622 <PRE>
623 public <B>ContestInfo</B>()</PRE>
624 <DL>
625 <DD>ContestInfo constructor</DL>
627 <!-- ============ METHOD DETAIL ========== -->
629 <A NAME="method_detail"><!-- --></A>
630 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
631 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
632 <TD COLSPAN=1><FONT SIZE="+2">
633 <B>Method Detail</B></FONT></TD>
634 </TR>
635 </TABLE>
637 <A NAME="getAccountName(java.lang.Long, int, java.lang.Long)"><!-- --></A><H3>
638 getAccountName</H3>
639 <PRE>
640 public java.lang.String <B>getAccountName</B>(java.lang.Long&nbsp;siteId,
641 int&nbsp;accountType,
642 java.lang.Long&nbsp;accountId)</PRE>
643 <DL>
644 <DD>Get account display name, returns null if undefined
646 Use <A HREF="../../pc2/ex/ContestInfo.html#getTeamName(java.lang.Long, java.lang.Long)"><CODE>getTeamName</CODE></A> to get a team's name.<DD><DL>
647 <DT><B>Parameters:</B><DD><CODE>siteId</CODE> - Long<DD><CODE>accountType</CODE> - int - PC<sup>2</sup> client type, see <A HREF="../../pc2/ex/ContestInfo.html#getNumAccounts(int)"><CODE>getNumAccounts(int)</CODE></A><DD><CODE>accountId</CODE> - Long - account number</DL>
648 </DD>
649 </DL>
650 <HR>
652 <A NAME="getACMRegionName(int)"><!-- --></A><H3>
653 getACMRegionName</H3>
654 <PRE>
655 public final java.lang.String <B>getACMRegionName</B>(int&nbsp;regionId)</PRE>
656 <DL>
657 <DD>return ACM region name for input ACM region id</DL>
658 <HR>
660 <A NAME="getAllACMRegionIds()"><!-- --></A><H3>
661 getAllACMRegionIds</H3>
662 <PRE>
663 public java.lang.Integer[] <B>getAllACMRegionIds</B>()</PRE>
664 <DL>
665 <DD>Insert the method's description here.
666 Creation date: (9/3/2002 2:14:57 PM)<DD><DL>
667 <DT><B>Returns:</B><DD>java.lang.Integer[]</DL>
668 </DD>
669 </DL>
670 <HR>
672 <A NAME="getAllACMRegionNames()"><!-- --></A><H3>
673 getAllACMRegionNames</H3>
674 <PRE>
675 public java.lang.String[] <B>getAllACMRegionNames</B>()</PRE>
676 <DL>
677 <DD>Insert the method's description here.
678 Creation date: (9/3/2002 2:15:14 PM)<DD><DL>
679 <DT><B>Returns:</B><DD>java.lang.String[]</DL>
680 </DD>
681 </DL>
682 <HR>
684 <A NAME="getClientName(int, java.lang.Long, java.lang.Long)"><!-- --></A><H3>
685 getClientName</H3>
686 <PRE>
687 public java.lang.String <B>getClientName</B>(int&nbsp;clientType,
688 java.lang.Long&nbsp;siteId,
689 java.lang.Long&nbsp;accountId)</PRE>
690 <DL>
691 <DD>Get client (team) name, returns null if undefined<DD><DL>
692 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumTeamAccounts()"><CODE>getNumTeamAccounts()</CODE></A></DL>
693 </DD>
694 </DL>
695 <HR>
697 <A NAME="getInternalData(java.lang.Object, int)"><!-- --></A><H3>
698 getInternalData</H3>
699 <PRE>
700 public final java.lang.Object <B>getInternalData</B>(java.lang.Object&nbsp;obj1,
701 int&nbsp;settingsValue)
702 throws java.lang.Exception</PRE>
703 <DL>
704 <DD>getInternalData
707 This method will be deprecated</DL>
708 <HR>
710 <A NAME="getJudgementName(int)"><!-- --></A><H3>
711 getJudgementName</H3>
712 <PRE>
713 public final java.lang.String <B>getJudgementName</B>(int&nbsp;judgementNumber)</PRE>
714 <DL>
715 <DD>return judgement name for input index
716 <P></DL>
717 <HR>
719 <A NAME="getLanguageTitle(java.lang.Long)"><!-- --></A><H3>
720 getLanguageTitle</H3>
721 <PRE>
722 public java.lang.String <B>getLanguageTitle</B>(java.lang.Long&nbsp;languageId)</PRE>
723 <DL>
724 <DD>Get language title/name returns "" if not defined.<DD><DL>
725 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumLanguages()"><CODE>getNumLanguages()</CODE></A></DL>
726 </DD>
727 </DL>
728 <HR>
730 <A NAME="getNumAccounts(int)"><!-- --></A><H3>
731 getNumAccounts</H3>
732 <PRE>
733 public final int <B>getNumAccounts</B>(int&nbsp;accountType)</PRE>
734 <DL>
735 <DD>Number of Accounts for a given account type
737 <P> Account types are:
739 PC2ClientType.scoreboard,
740 PC2ClientType.judge,
741 PC2ClientType.team,
742 PC2ClientType.custom.</DL>
743 <HR>
745 <A NAME="getNumACMRegions()"><!-- --></A><H3>
746 getNumACMRegions</H3>
747 <PRE>
748 public final int <B>getNumACMRegions</B>()</PRE>
749 <DL>
750 <DD>returns Number of ACM regions</DL>
751 <HR>
753 <A NAME="getNumJudgementNames()"><!-- --></A><H3>
754 getNumJudgementNames</H3>
755 <PRE>
756 public final int <B>getNumJudgementNames</B>()</PRE>
757 <DL>
758 <DD>return number of judgement names</DL>
759 <HR>
761 <A NAME="getNumLanguages()"><!-- --></A><H3>
762 getNumLanguages</H3>
763 <PRE>
764 public final int <B>getNumLanguages</B>()</PRE>
765 <DL>
766 <DD>returns Number of Languages</DL>
767 <HR>
769 <A NAME="getNumProblems()"><!-- --></A><H3>
770 getNumProblems</H3>
771 <PRE>
772 public final int <B>getNumProblems</B>()</PRE>
773 <DL>
774 <DD>returns Number of Problems</DL>
775 <HR>
777 <A NAME="getNumTeamAccounts()"><!-- --></A><H3>
778 getNumTeamAccounts</H3>
779 <PRE>
780 public final int <B>getNumTeamAccounts</B>()</PRE>
781 <DL>
782 <DD>returns number Team accounts</DL>
783 <HR>
785 <A NAME="getProblemAnswerFile(java.lang.Long, int)"><!-- --></A><H3>
786 getProblemAnswerFile</H3>
787 <PRE>
788 public final java.io.File <B>getProblemAnswerFile</B>(java.lang.Long&nbsp;problemId,
789 int&nbsp;dataSetNumber)
790 throws java.lang.Exception</PRE>
791 <DL>
792 <DD>returns the data file for a given problem (or null if not defined)</DL>
793 <HR>
795 <A NAME="getProblemAnswerFileName(java.lang.Long)"><!-- --></A><H3>
796 getProblemAnswerFileName</H3>
797 <PRE>
798 public final java.lang.String <B>getProblemAnswerFileName</B>(java.lang.Long&nbsp;problemId)</PRE>
799 <DL>
800 <DD>Get problem data file name returns null if not problemId not defined<DD><DL>
801 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumProblems()"><CODE>getNumProblems()</CODE></A></DL>
802 </DD>
803 </DL>
804 <HR>
806 <A NAME="getProblemDataFile(java.lang.Long, int)"><!-- --></A><H3>
807 getProblemDataFile</H3>
808 <PRE>
809 public final java.io.File <B>getProblemDataFile</B>(java.lang.Long&nbsp;problemId,
810 int&nbsp;dataSetNumber)
811 throws java.lang.Exception</PRE>
812 <DL>
813 <DD>returns the data file for a given problem (or null if not defined)</DL>
814 <HR>
816 <A NAME="getProblemDataFileName(java.lang.Long)"><!-- --></A><H3>
817 getProblemDataFileName</H3>
818 <PRE>
819 public final java.lang.String <B>getProblemDataFileName</B>(java.lang.Long&nbsp;problemId)</PRE>
820 <DL>
821 <DD>Get problem data file name returns null if not problemId not defined<DD><DL>
822 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumProblems()"><CODE>getNumProblems()</CODE></A></DL>
823 </DD>
824 </DL>
825 <HR>
827 <A NAME="getProblemTitle(java.lang.Long)"><!-- --></A><H3>
828 getProblemTitle</H3>
829 <PRE>
830 public final java.lang.String <B>getProblemTitle</B>(java.lang.Long&nbsp;problemId)</PRE>
831 <DL>
832 <DD>Get problem title/name returns "" if not problemId not defined<DD><DL>
833 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumProblems()"><CODE>getNumProblems()</CODE></A></DL>
834 </DD>
835 </DL>
836 <HR>
838 <A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
839 getProperty</H3>
840 <PRE>
841 public java.lang.String <B>getProperty</B>(java.lang.String&nbsp;key)</PRE>
842 <DL>
843 </DL>
844 <HR>
846 <A NAME="getProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
847 getProperty</H3>
848 <PRE>
849 public java.lang.String <B>getProperty</B>(java.lang.String&nbsp;key,
850 java.lang.String&nbsp;defaultValue)</PRE>
851 <DL>
852 </DL>
853 <HR>
855 <A NAME="getPropertyBoolean(java.lang.String)"><!-- --></A><H3>
856 getPropertyBoolean</H3>
857 <PRE>
858 public java.lang.Boolean <B>getPropertyBoolean</B>(java.lang.String&nbsp;key)</PRE>
859 <DL>
860 </DL>
861 <HR>
863 <A NAME="getPropertyBooleanArray(java.lang.String)"><!-- --></A><H3>
864 getPropertyBooleanArray</H3>
865 <PRE>
866 public java.lang.Boolean[] <B>getPropertyBooleanArray</B>(java.lang.String&nbsp;keyPrefix)</PRE>
867 <DL>
868 </DL>
869 <HR>
871 <A NAME="getPropertyIntegerArray(java.lang.String)"><!-- --></A><H3>
872 getPropertyIntegerArray</H3>
873 <PRE>
874 public java.lang.Integer[] <B>getPropertyIntegerArray</B>(java.lang.String&nbsp;keyPrefix)</PRE>
875 <DL>
876 </DL>
877 <HR>
879 <A NAME="getPropertyLong(java.lang.String)"><!-- --></A><H3>
880 getPropertyLong</H3>
881 <PRE>
882 public java.lang.Long <B>getPropertyLong</B>(java.lang.String&nbsp;key)</PRE>
883 <DL>
884 </DL>
885 <HR>
887 <A NAME="getPropertyLongArray(java.lang.String)"><!-- --></A><H3>
888 getPropertyLongArray</H3>
889 <PRE>
890 public java.lang.Long[] <B>getPropertyLongArray</B>(java.lang.String&nbsp;keyPrefix)</PRE>
891 <DL>
892 </DL>
893 <HR>
895 <A NAME="getPropertyStringArray(java.lang.String)"><!-- --></A><H3>
896 getPropertyStringArray</H3>
897 <PRE>
898 public java.lang.String[] <B>getPropertyStringArray</B>(java.lang.String&nbsp;keyPrefix)</PRE>
899 <DL>
900 </DL>
901 <HR>
903 <A NAME="getSiteTitle(java.lang.Long)"><!-- --></A><H3>
904 getSiteTitle</H3>
905 <PRE>
906 public final java.lang.String <B>getSiteTitle</B>(java.lang.Long&nbsp;siteId)</PRE>
907 <DL>
908 <DD>return judgement name for input index
909 <P></DL>
910 <HR>
912 <A NAME="getTeamAccountKeys()"><!-- --></A><H3>
913 getTeamAccountKeys</H3>
914 <PRE>
915 public final java.lang.String[] <B>getTeamAccountKeys</B>()</PRE>
916 <DL>
917 <DD>returns list of Team accounts keys</DL>
918 <HR>
920 <A NAME="getTeamACMId(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
921 getTeamACMId</H3>
922 <PRE>
923 public int <B>getTeamACMId</B>(java.lang.Long&nbsp;siteId,
924 java.lang.Long&nbsp;accountId)</PRE>
925 <DL>
926 <DD>Get ACM id, returns 0 if undefined<DD><DL>
927 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumACMRegions()"><CODE>getNumACMRegions()</CODE></A></DL>
928 </DD>
929 </DL>
930 <HR>
932 <A NAME="getTeamACMRegionId(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
933 getTeamACMRegionId</H3>
934 <PRE>
935 public int <B>getTeamACMRegionId</B>(java.lang.Long&nbsp;siteId,
936 java.lang.Long&nbsp;accountId)</PRE>
937 <DL>
938 <DD>Get ACM region id, returns 0 if undefined<DD><DL>
939 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumACMRegions()"><CODE>getNumACMRegions()</CODE></A></DL>
940 </DD>
941 </DL>
942 <HR>
944 <A NAME="getTeamName(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
945 getTeamName</H3>
946 <PRE>
947 public java.lang.String <B>getTeamName</B>(java.lang.Long&nbsp;siteId,
948 java.lang.Long&nbsp;accountId)</PRE>
949 <DL>
950 <DD>Get team name, returns null if undefined<DD><DL>
951 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumTeamAccounts()"><CODE>getNumTeamAccounts()</CODE></A></DL>
952 </DD>
953 </DL>
954 <HR>
956 <A NAME="isInitialized()"><!-- --></A><H3>
957 isInitialized</H3>
958 <PRE>
959 public boolean <B>isInitialized</B>()</PRE>
960 <DL>
961 <DD>returns true logged in and there is contest info<DD><DL>
962 <DT><B>Returns:</B><DD>boolean</DL>
963 </DD>
964 </DL>
965 <HR>
967 <A NAME="isTeamActive(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
968 isTeamActive</H3>
969 <PRE>
970 public boolean <B>isTeamActive</B>(java.lang.Long&nbsp;siteId,
971 java.lang.Long&nbsp;accountId)</PRE>
972 <DL>
973 <DD>Get status of team account<DD><DL>
974 <DT><B>See Also: </B><DD><A HREF="../../pc2/ex/ContestInfo.html#getNumTeamAccounts()"><CODE>getNumTeamAccounts()</CODE></A></DL>
975 </DD>
976 </DL>
977 <HR>
979 <A NAME="setData(java.lang.Object)"><!-- --></A><H3>
980 setData</H3>
981 <PRE>
982 public boolean <B>setData</B>(java.lang.Object&nbsp;obj1)</PRE>
983 <DL>
984 <DD>Set initializing data for ContestInfo</DL>
985 <HR>
987 <A NAME="setData(java.lang.Object, int)"><!-- --></A><H3>
988 setData</H3>
989 <PRE>
990 public boolean <B>setData</B>(java.lang.Object&nbsp;obj1,
991 int&nbsp;scope)</PRE>
992 <DL>
993 <DD>Set initializing data for contest information</DL>
994 <HR>
996 <A NAME="writeProblemAnswerFile(java.lang.Long, int, java.lang.String)"><!-- --></A><H3>
997 writeProblemAnswerFile</H3>
998 <PRE>
999 public final boolean <B>writeProblemAnswerFile</B>(java.lang.Long&nbsp;problemId,
1000 int&nbsp;dataSetNumber,
1001 java.lang.String&nbsp;fileName)
1002 throws java.lang.Exception</PRE>
1003 <DL>
1004 <DD>writes an answer file to the fileName specified</DL>
1005 <HR>
1007 <A NAME="writeProblemDataFile(java.lang.Long, int, java.lang.String)"><!-- --></A><H3>
1008 writeProblemDataFile</H3>
1009 <PRE>
1010 public final boolean <B>writeProblemDataFile</B>(java.lang.Long&nbsp;problemId,
1011 int&nbsp;dataSetNumber,
1012 java.lang.String&nbsp;fileName)
1013 throws java.lang.Exception</PRE>
1014 <DL>
1015 <DD>writes an data file to the fileName specified</DL>
1016 <!-- ========= END OF CLASS DATA ========= -->
1017 <HR>
1019 <!-- ========== START OF NAVBAR ========== -->
1020 <A NAME="navbar_bottom"><!-- --></A>
1021 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
1022 <TR>
1023 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1024 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1025 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
1026 <TR ALIGN="center" VALIGN="top">
1027 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1028 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1029 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1030 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1031 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1032 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1033 </TR>
1034 </TABLE>
1035 </TD>
1036 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1037 Questions? <A HREf=mailto:pc2@ecs.csus.edu>Send mail to PC<sup>2</sup></a></EM>
1038 </TD>
1039 </TR>
1041 <TR>
1042 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1043 &nbsp;<A HREF="../../pc2/ex/ClientScoreData.html"><B>PREV CLASS</B></A>&nbsp;
1044 &nbsp;<A HREF="../../pc2/ex/GetRunsClient.html"><B>NEXT CLASS</B></A></FONT></TD>
1045 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1046 <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
1047 &nbsp;<A HREF="ContestInfo.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
1048 </TR>
1049 <TR>
1050 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1051 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1052 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1053 DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1054 </TR>
1055 </TABLE>
1056 <!-- =========== END OF NAVBAR =========== -->
1058 <HR>
1060 </BODY>
1061 </HTML>