1 package uk.ac.ebi.intenz.webapp.dtos;
2
3 import org.apache.struts.action.ActionErrors;
4 import org.apache.struts.action.ActionForm;
5 import org.apache.struts.action.ActionMapping;
6
7 import javax.servlet.http.HttpServletRequest;
8 import java.util.List;
9
10
11
12
13
14
15
16
17
18 public class EnzymeListDTO extends ActionForm {
19
20 private List result;
21
22 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
23 ActionErrors errors = new ActionErrors();
24
25
26 return errors;
27 }
28
29
30
31
32 public List getResult() {
33 return result;
34 }
35
36 public void setResult(List result) {
37 this.result = result;
38 }
39
40 public GhostEnzymeDTO getRowAt(int index) {
41 return (GhostEnzymeDTO) result.get(index);
42 }
43 }