View Javadoc

1   package uk.ac.ebi.intenz.webapp.dtos;
2   
3   import org.apache.struts.action.ActionForm;
4   
5   /**
6    * This ActionForm stores all enzyme properties in a <code>Map</code> since the number of properties needs to
7    * be dynamically adjustable.
8    * <p/>
9    * The enzyme properties will be stored as follows:
10   * <p/>
11   * <table border="1" style="border-collapse:collapse;" cellpadding="5">
12   * <tr>
13   * <td align="center" style="border-width:1px;"><b><code>KEY</code></b></td>
14   * <td align="center" style="border-width:1px;"><b><code>VALUE TYPE</code></b></td>
15   * <td align="center" style="border-width:1px;"><b><code>Description</code></b></td>
16   * </tr>
17   * <tr>
18   * <td align="center" style="border-width:1px;"><code>ID</code></td>
19   * <td align="center" style="border-width:1px;"><code>String</code></td>
20   * <td style="border-width:1px;"><code>The enzyme's EC number.</code></td>
21   * </tr>
22   * <tr>
23   * <td align="center" style="border-width:1px;"><code>DEs</code></td>
24   * <td align="center" style="border-width:1px;"><code>String[][]</code></td>
25   * <td style="border-width:1px;"><code>String[][]</code> containing [index]{name, source}.<br/>
26   * See also {@link uk.ac.ebi.intenz.domain.enzyme.EnzymeName}.</code></td>
27   * </tr>
28   * <tr>
29   * <td align="center" style="border-width:1px;"><code>CAs</code></td>
30   * <td align="center" style="border-width:1px;"><code>String[][]</code></td>
31   * <td style="border-width:1px;"><code>String[][]</code> containing [index]{textualRepresentation, source}.<br/>
32   * See also {@link uk.ac.ebi.intenz.domain.enzyme.Reaction}.</code></td>
33   * </tr>
34   * <tr>
35   * <td align="center" style="border-width:1px;"><code>systematicName</code></td>
36   * <td align="center" style="border-width:1px;"><code>String</code></td>
37   * <td style="border-width:1px;"><code>The enzyme's systematic name.</code></td>
38   * </tr>
39   * <tr>
40   * <td align="center" style="border-width:1px;"><code>ANs</code></td>
41   * <td align="center" style="border-width:1px;"><code>String[][]</code></td>
42   * <td style="border-width:1px;"><code>String[][]</code> containing [index]{name, qualifier, source, orderIn}.<br/>
43   * See also {@link uk.ac.ebi.intenz.domain.enzyme.EnzymeName}.</code></td>
44   * </tr>
45   * <tr>
46   * <td align="center" style="border-width:1px;"><code>CFs</code></td>
47   * <td align="center" style="border-width:1px;"><code>String[]</code></td>
48   * <td style="border-width:1px;"><code>String[]</code> of CFs (Strings containing the 'cofactorValue').<br/>
49   * See also {@link uk.ac.ebi.intenz.domain.enzyme.Cofactor}.</code></td>
50   * </tr>
51   * <tr>
52   * <td align="center" style="border-width:1px;"><code>links</code></td>
53   * <td align="center" style="border-width:1px;"><code>String[][]</code></td>
54   * <td style="border-width:1px;"><code>String[][]</code> containing [index]{source, specificUrl, accession, name}.<br/>
55   * See also {@link uk.ac.ebi.intenz.domain.enzyme.EnzymeLink}.</code></td>
56   * </tr>
57   * <tr>
58   * <td align="center" style="border-width:1px;"><code>CCs</code></td>
59   * <td align="center" style="border-width:1px;"><code>String[][]</code></td>
60   * <td style="border-width:1px;"><code>String[][]</code> containing [index]{commentText, source}.<br/>
61   * See also {@link uk.ac.ebi.intenz.domain.enzyme.EnzymeComment}.</code></td>
62   * </tr>
63   * <tr>
64   * <td align="center" style="border-width:1px;"><code>references</code></td>
65   * <td align="center" style="border-width:1px;"><code>String[][]</code></td>
66   * <td style="border-width:1px;"><code>String[][]</code> containing [index]{pubId, authors, title, year,
67   * pubName, firstPage, lastPage, edition, editor, volume, publisher, publisherPlace, pubMedId, medlineId, patentNumber}.<br/>
68   * See also {@link uk.ac.ebi.intenz.domain.reference}.</code></td>
69   * </tr>
70   * <tr>
71   * <td align="center" style="border-width:1px;"><code>note</code></td>
72   * <td align="center" style="border-width:1px;"><code>String</code></td>
73   * <td style="border-width:1px;"><code>A note which might have been added by a curator.</code></td>
74   * </tr>
75   * <tr>
76   * <td align="center" style="border-width:1px;"><code>historyLine</code></td>
77   * <td align="center" style="border-width:1px;"><code>String</code></td>
78   * <td style="border-width:1px;"><code>The enzyme's history line.</code></td>
79   * </tr>
80   * <tr>
81   * <td align="center" style="border-width:1px;"><code>status</code></td>
82   * <td align="center" style="border-width:1px;"><code>String</code></td>
83   * <td style="border-width:1px;"><code>The enzyme's status (code).</code></td>
84   * </tr>
85   * <tr>
86   * <td align="center" style="border-width:1px;"><code>source</code></td>
87   * <td align="center" style="border-width:1px;"><code>String</code></td>
88   * <td style="border-width:1px;"><code>The enzyme's source (code).</code></td>
89   * </tr>
90   * </table>
91   *
92   * @author Michael Darsow
93   * @version $Revision: 1.2 $ $Date: 2008/01/28 12:33:07 $
94   */
95  public class SibEnzymeDTO extends ActionForm {
96  
97    private String id;
98    private String ec;
99    private String entry;
100   private String statusCode;
101 
102   
103   // ------------------------------- GETTER & SETTER --------------------------------
104 
105   public String getId() {
106     return id;
107   }
108 
109   public void setId(String id) {
110     this.id = id;
111   }
112 
113   public String getEc() {
114     return ec;
115   }
116 
117   public void setEc(String ec) {
118     this.ec = ec;
119   }
120 
121   public String getEntry() {
122     return entry;
123   }
124 
125   public void setEntry(String entry) {
126     this.entry = entry;
127   }
128 
129   public String getStatusCode() {
130     return statusCode;
131   }
132 
133   public void setStatusCode(String statusCode) {
134     this.statusCode = statusCode;
135   }
136 
137 }