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