~codescore-dev/codescore/version-1.0

« back to all changes in this revision

Viewing changes to src/net/codescore/dbo/auto/_Problem.java

  • Committer: Adam Cornett
  • Date: 2008-03-16 21:50:13 UTC
  • Revision ID: adam.cornett@gmail.com-20080316215013-sr98v9he6ez74hey
Refactoring! changed the top package to net.codescore from net.launchpad.codescore to reflect the new website and to cut back on the lenght of full class names

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package net.launchpad.codescore.dbo.auto;
 
1
package net.codescore.dbo.auto;
2
2
 
3
3
import java.util.List;
4
4
 
5
 
import net.launchpad.codescore.dbo.CDO;
6
 
import net.launchpad.codescore.dbo.Comment;
7
 
import net.launchpad.codescore.dbo.JudgeSolution;
8
 
import net.launchpad.codescore.dbo.ProblemSet;
9
 
import net.launchpad.codescore.dbo.TeamSubmission;
10
 
import net.launchpad.codescore.dbo.TestCase;
 
5
import net.codescore.dbo.CDO;
 
6
import net.codescore.dbo.Comment;
 
7
import net.codescore.dbo.JudgeSolution;
 
8
import net.codescore.dbo.ProblemSet;
 
9
import net.codescore.dbo.TeamSubmission;
 
10
import net.codescore.dbo.TestCase;
11
11
 
12
12
/**
13
13
 * Class _Problem was generated by Cayenne.
23
23
    public static final String SAMPLE_INPUT_PROPERTY = "sampleInput";
24
24
    public static final String SAMPLE_OUTPUT_PROPERTY = "sampleOutput";
25
25
    public static final String UNIX_NAME_PROPERTY = "unixName";
26
 
    public static final String COMMENTS_PROPERTY = "comments";
 
26
    public static final String RUNTIME_RELATIONSHIP0_PROPERTY = "runtimeRelationship0";
27
27
    public static final String SETS_PROPERTY = "sets";
28
28
    public static final String SOLUTIONS_PROPERTY = "solutions";
29
29
    public static final String SUBMISSIONS_PROPERTY = "submissions";
73
73
        return (String)readProperty("unixName");
74
74
    }
75
75
 
76
 
    public void addToComments(Comment obj) {
77
 
        addToManyTarget("comments", obj, true);
 
76
    public void addToRuntimeRelationship0(Comment obj) {
 
77
        addToManyTarget("runtimeRelationship0", obj, true);
78
78
    }
79
 
    public void removeFromComments(Comment obj) {
80
 
        removeToManyTarget("comments", obj, true);
 
79
    public void removeFromRuntimeRelationship0(Comment obj) {
 
80
        removeToManyTarget("runtimeRelationship0", obj, true);
81
81
    }
82
82
    @SuppressWarnings("unchecked")
83
 
    public List<Comment> getComments() {
84
 
        return (List<Comment>)readProperty("comments");
 
83
    public List<Comment> getRuntimeRelationship0() {
 
84
        return (List<Comment>)readProperty("runtimeRelationship0");
85
85
    }
86
86
 
87
87