1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class Rakam {
|
4 | constructor(id, name) {
|
5 | this.id = id;
|
6 | this.name = name;
|
7 | Object.freeze(this);
|
8 | }
|
9 | static get values() { return _C_VAL; }
|
10 | static get NUJU_PATI() { return _C_VAL[0]; }
|
11 | static get KALA_TINANTANG() { return _C_VAL[1]; }
|
12 | static get DEMANG_KANDHURUWAN() { return _C_VAL[2]; }
|
13 | static get SANGGAR_WARINGIN() { return _C_VAL[3]; }
|
14 | static get MANTRI_SINAROJA() { return _C_VAL[4]; }
|
15 | static get MACAN_KATAWAN() { return _C_VAL[5]; }
|
16 | }
|
17 | exports.Rakam = Rakam;
|
18 | const _C_VAL = [
|
19 | new Rakam(0, "Nuju Pati"),
|
20 | new Rakam(1, "Kala Tinantang"),
|
21 | new Rakam(2, "Demang Kandhuruwan"),
|
22 | new Rakam(3, "Sanggar Waringin"),
|
23 | new Rakam(4, "Mantri Sinaroja"),
|
24 | new Rakam(5, "Macan Katawan"),
|
25 | ];
|
26 | Object.freeze(_C_VAL);
|