db4a7fe5c262606406cedb34bbed3762d5e29fb0
[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                 this.protein = protein;
21                 predictions = new ArrayList<FastaSequence>();
22                 alignment  = new ArrayList<FastaSequence>();
23                 log = "";
24         }
25
26         public JpredJob(String jobid, String date1, String date2, List<FastaSequence> alignment, List<FastaSequence> predictions) {
27                 super(jobid, date1, date2);
28                 this.protein = protein;
29                 this.alignment = alignment;
30                 this.predictions = predictions; 
31         }
32
33         public void setProtein(String protein) {
34                 this.protein = protein;
35         }
36
37         public String getProtein() {
38                 return protein;
39         }
40
41         public void setLog(String log) {
42                 this.log = log;
43         }
44
45         public String getLog() {
46                 return log;
47         }
48
49         public void setAlignment(List<FastaSequence> al) {
50                 this.alignment = al;
51         }
52
53         public List<FastaSequence> getAlignment() {
54                 return alignment;
55         }
56
57         public void setPredictions(List<FastaSequence> pr) {
58                 this.predictions = pr;
59         }
60
61         public List<FastaSequence> getPredictions() {
62                 return predictions;
63         }
64 }