18
18
<FONT color="green">015</FONT> public abstract class _ProblemStatus extends CDO {<a name="line.15"></a>
19
19
<FONT color="green">016</FONT> <a name="line.16"></a>
20
20
<FONT color="green">017</FONT> public static final String NAME_PROPERTY = "name";<a name="line.17"></a>
21
<FONT color="green">018</FONT> public static final String RUNTIME_RELATIONSHIP0_PROPERTY = "runtimeRelationship0";<a name="line.18"></a>
22
<FONT color="green">019</FONT> public static final String SOLUTIONS_PROPERTY = "solutions";<a name="line.19"></a>
21
<FONT color="green">018</FONT> public static final String SOLUTIONS_PROPERTY = "solutions";<a name="line.18"></a>
22
<FONT color="green">019</FONT> public static final String SUBMISSIONS_PROPERTY = "submissions";<a name="line.19"></a>
23
23
<FONT color="green">020</FONT> <a name="line.20"></a>
24
<FONT color="green">021</FONT> public static final String STAT_ID_PK_COLUMN = "StatID";<a name="line.21"></a>
24
<FONT color="green">021</FONT> public static final String STATID_PK_COLUMN = "statid";<a name="line.21"></a>
25
25
<FONT color="green">022</FONT> <a name="line.22"></a>
26
26
<FONT color="green">023</FONT> public void setName(String name) {<a name="line.23"></a>
27
27
<FONT color="green">024</FONT> writeProperty("name", name);<a name="line.24"></a>
30
30
<FONT color="green">027</FONT> return (String)readProperty("name");<a name="line.27"></a>
31
31
<FONT color="green">028</FONT> }<a name="line.28"></a>
32
32
<FONT color="green">029</FONT> <a name="line.29"></a>
33
<FONT color="green">030</FONT> public void addToRuntimeRelationship0(TeamSubmission obj) {<a name="line.30"></a>
34
<FONT color="green">031</FONT> addToManyTarget("runtimeRelationship0", obj, true);<a name="line.31"></a>
33
<FONT color="green">030</FONT> public void addToSolutions(JudgeSolution obj) {<a name="line.30"></a>
34
<FONT color="green">031</FONT> addToManyTarget("solutions", obj, true);<a name="line.31"></a>
35
35
<FONT color="green">032</FONT> }<a name="line.32"></a>
36
<FONT color="green">033</FONT> public void removeFromRuntimeRelationship0(TeamSubmission obj) {<a name="line.33"></a>
37
<FONT color="green">034</FONT> removeToManyTarget("runtimeRelationship0", obj, true);<a name="line.34"></a>
36
<FONT color="green">033</FONT> public void removeFromSolutions(JudgeSolution obj) {<a name="line.33"></a>
37
<FONT color="green">034</FONT> removeToManyTarget("solutions", obj, true);<a name="line.34"></a>
38
38
<FONT color="green">035</FONT> }<a name="line.35"></a>
39
39
<FONT color="green">036</FONT> @SuppressWarnings("unchecked")<a name="line.36"></a>
40
<FONT color="green">037</FONT> public List<TeamSubmission> getRuntimeRelationship0() {<a name="line.37"></a>
41
<FONT color="green">038</FONT> return (List<TeamSubmission>)readProperty("runtimeRelationship0");<a name="line.38"></a>
40
<FONT color="green">037</FONT> public List<JudgeSolution> getSolutions() {<a name="line.37"></a>
41
<FONT color="green">038</FONT> return (List<JudgeSolution>)readProperty("solutions");<a name="line.38"></a>
42
42
<FONT color="green">039</FONT> }<a name="line.39"></a>
43
43
<FONT color="green">040</FONT> <a name="line.40"></a>
44
44
<FONT color="green">041</FONT> <a name="line.41"></a>
45
<FONT color="green">042</FONT> public void addToSolutions(JudgeSolution obj) {<a name="line.42"></a>
46
<FONT color="green">043</FONT> addToManyTarget("solutions", obj, true);<a name="line.43"></a>
45
<FONT color="green">042</FONT> public void addToSubmissions(TeamSubmission obj) {<a name="line.42"></a>
46
<FONT color="green">043</FONT> addToManyTarget("submissions", obj, true);<a name="line.43"></a>
47
47
<FONT color="green">044</FONT> }<a name="line.44"></a>
48
<FONT color="green">045</FONT> public void removeFromSolutions(JudgeSolution obj) {<a name="line.45"></a>
49
<FONT color="green">046</FONT> removeToManyTarget("solutions", obj, true);<a name="line.46"></a>
48
<FONT color="green">045</FONT> public void removeFromSubmissions(TeamSubmission obj) {<a name="line.45"></a>
49
<FONT color="green">046</FONT> removeToManyTarget("submissions", obj, true);<a name="line.46"></a>
50
50
<FONT color="green">047</FONT> }<a name="line.47"></a>
51
51
<FONT color="green">048</FONT> @SuppressWarnings("unchecked")<a name="line.48"></a>
52
<FONT color="green">049</FONT> public List<JudgeSolution> getSolutions() {<a name="line.49"></a>
53
<FONT color="green">050</FONT> return (List<JudgeSolution>)readProperty("solutions");<a name="line.50"></a>
52
<FONT color="green">049</FONT> public List<TeamSubmission> getSubmissions() {<a name="line.49"></a>
53
<FONT color="green">050</FONT> return (List<TeamSubmission>)readProperty("submissions");<a name="line.50"></a>
54
54
<FONT color="green">051</FONT> }<a name="line.51"></a>
55
55
<FONT color="green">052</FONT> <a name="line.52"></a>
56
56
<FONT color="green">053</FONT> <a name="line.53"></a>