Clean up the code
[proteocache.git] / engine / compbio / engine / JpredJob.java
1 package compbio.engine;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6 import compbio.data.sequence.FastaSequence;
7
8 public class JpredJob extends Job {
9         private String protein;
10         private String log;
11         private List<FastaSequence> predictions;
12         private List<FastaSequence> alignment;
13
14         public JpredJob() {
15                 super();
16         }
17
18         public JpredJob(String jobid, String date1, String date2) {
19                 super(jobid, date1, date2);
20                 predictions = new ArrayList<FastaSequence>();
21                 alignment = new ArrayList<FastaSequence>();
22                 log = "";
23         }
24
25         public JpredJob(String jobid, String date1, String date2, List<FastaSequence> alignment, List<FastaSequence> predictions) {
26                 super(jobid, date1, date2);
27                 this.alignment = alignment;
28                 this.predictions = predictions;
29         }
30
31         public void setProtein(String protein) {
32                 this.protein = protein;
33         }
34
35         public String getProtein() {
36                 return protein;
37         }
38
39         public void setLog(String log) {
40                 this.log = log;
41         }
42
43         public String getLog() {
44                 return log;
45         }
46
47         public void setAlignment(List<FastaSequence> al) {
48                 this.alignment = al;
49         }
50
51         public List<FastaSequence> getAlignment() {
52                 return alignment;
53         }
54
55         public void setPredictions(List<FastaSequence> pr) {
56                 this.predictions = pr;
57         }
58
59         public List<FastaSequence> getPredictions() {
60                 return predictions;
61         }
62 }