1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class WatekMadya {
|
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 WONG() { return _C_VAL[0]; }
|
11 | static get GAJAH() { return _C_VAL[1]; }
|
12 | static get WATU() { return _C_VAL[2]; }
|
13 | static get BUTA() { return _C_VAL[3]; }
|
14 | static get SUKU() { return _C_VAL[4]; }
|
15 | }
|
16 | exports.WatekMadya = WatekMadya;
|
17 | const _C_VAL = [
|
18 | new WatekMadya(0, "Wong"),
|
19 | new WatekMadya(1, "Gajah"),
|
20 | new WatekMadya(2, "Watu"),
|
21 | new WatekMadya(3, "Buta"),
|
22 | new WatekMadya(4, "Suku"),
|
23 | ];
|
24 | Object.freeze(_C_VAL);
|