Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 1x 1x 1x 1x 1x | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataClassProperty = exports.PartialDataClassProperty = void 0;
// Package: com.lightningkite.lightningdb
// Generated by Khrysalis - this file will be overwritten.
const khrysalis_runtime_1 = require("@lightningkite/khrysalis-runtime");
//! Declares com.lightningkite.lightningdb.PartialDataClassProperty
class PartialDataClassProperty {
constructor() {
}
hashCode() {
return (0, khrysalis_runtime_1.hashString)(this.name);
}
equals(other) {
var _a, _b;
return ((_b = (_a = ((0, khrysalis_runtime_1.tryCastClass)(other, PartialDataClassProperty))) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : null) === this.name;
}
}
exports.PartialDataClassProperty = PartialDataClassProperty;
//! Declares com.lightningkite.lightningdb.DataClassProperty
class DataClassProperty extends PartialDataClassProperty {
constructor(name, get, set, compare = null) {
super();
this.name = name;
this.get = get;
this.set = set;
this.compare = compare;
}
anyGet(k) {
return this.get(k);
}
anySet(k, v) {
return this.set(k, v);
}
}
exports.DataClassProperty = DataClassProperty;
//# sourceMappingURL=DataClassProperty.js.map |