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