read-gedcom
Version:
Gedcom file reader
31 lines • 1.12 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SelectionSourceRecord = void 0;
const internal_1 = require("./internal");
const base_1 = require("./base");
const mixin_1 = require("./mixin");
class SelectionSourceRecord extends (0, internal_1.SelectionWithMultimediaMixin)((0, mixin_1.SelectionWithNoteMixin)(base_1.SelectionRecord)) {
getData() {
return this.get("DATA" /* Tag.Data */, null, internal_1.SelectionSourceData);
}
getOriginator() {
return this.get("AUTH" /* Tag.Author */);
}
getDescriptiveTitle() {
return this.get("TITL" /* Tag.Title */);
}
getShortTitle() {
return this.get("ABBR" /* Tag.Abbreviation */);
}
getPublicationFacts() {
return this.get("PUBL" /* Tag.Publication */);
}
getText() {
return this.get("TEXT" /* Tag.Text */);
}
getRepository() {
return this.get("REPO" /* Tag.Repository */, null, internal_1.SelectionRepositoryReference);
}
}
exports.SelectionSourceRecord = SelectionSourceRecord;
//# sourceMappingURL=SelectionSourceRecord.js.map