JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / jalview / datamodel / ProvenanceEntry.js
1 Clazz.declarePackage ("jalview.datamodel");\r
2 c$ = Clazz.decorateAsClass (function () {\r
3 this.user = null;\r
4 this.action = null;\r
5 this.id = null;\r
6 this.date = null;\r
7 Clazz.instantialize (this, arguments);\r
8 }, jalview.datamodel, "ProvenanceEntry");\r
9 Clazz.makeConstructor (c$, \r
10 function (u, a, d, i) {\r
11 this.user = u;\r
12 this.action = a;\r
13 this.date = d;\r
14 this.id = i;\r
15 }, "~S,~S,java.util.Date,~S");\r
16 Clazz.defineMethod (c$, "getUser", \r
17 function () {\r
18 return this.user;\r
19 });\r
20 Clazz.defineMethod (c$, "getAction", \r
21 function () {\r
22 return this.action;\r
23 });\r
24 Clazz.defineMethod (c$, "getDate", \r
25 function () {\r
26 return this.date;\r
27 });\r
28 Clazz.defineMethod (c$, "getID", \r
29 function () {\r
30 return this.id;\r
31 });\r