JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / bin / jalview / datamodel / UniprotEntry.js
1 Clazz.declarePackage ("jalview.datamodel");\r
2 c$ = Clazz.decorateAsClass (function () {\r
3 this.sequence = null;\r
4 this.name = null;\r
5 this.accession = null;\r
6 this.feature = null;\r
7 this.dbrefs = null;\r
8 this.protName = null;\r
9 Clazz.instantialize (this, arguments);\r
10 }, jalview.datamodel, "UniprotEntry");\r
11 Clazz.defineMethod (c$, "setAccession", \r
12 function (items) {\r
13 this.accession = items;\r
14 }, "java.util.Vector");\r
15 Clazz.defineMethod (c$, "setFeature", \r
16 function (items) {\r
17 this.feature = items;\r
18 }, "java.util.Vector");\r
19 Clazz.defineMethod (c$, "getFeature", \r
20 function () {\r
21 return this.feature;\r
22 });\r
23 Clazz.defineMethod (c$, "getAccession", \r
24 function () {\r
25 return this.accession;\r
26 });\r
27 Clazz.defineMethod (c$, "setProtein", \r
28 function (names) {\r
29 this.protName = names;\r
30 }, "jalview.datamodel.UniprotProteinName");\r
31 Clazz.defineMethod (c$, "getProtein", \r
32 function () {\r
33 return this.protName;\r
34 });\r
35 Clazz.defineMethod (c$, "setName", \r
36 function (na) {\r
37 this.name = na;\r
38 }, "java.util.Vector");\r
39 Clazz.defineMethod (c$, "getName", \r
40 function () {\r
41 return this.name;\r
42 });\r
43 Clazz.defineMethod (c$, "getUniprotSequence", \r
44 function () {\r
45 return this.sequence;\r
46 });\r
47 Clazz.defineMethod (c$, "setUniprotSequence", \r
48 function (seq) {\r
49 this.sequence = seq;\r
50 }, "jalview.datamodel.UniprotSequence");\r
51 Clazz.defineMethod (c$, "getDbReference", \r
52 function () {\r
53 return this.dbrefs;\r
54 });\r
55 Clazz.defineMethod (c$, "setDbReference", \r
56 function (dbref) {\r
57 this.dbrefs = dbref;\r
58 }, "java.util.Vector");\r