read-gedcom
Version:
Gedcom file reader
29 lines • 848 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SelectionAddress = void 0;
const internal_1 = require("./internal");
class SelectionAddress extends internal_1.SelectionAny {
getAddressLine1() {
return this.get("ADR1" /* Tag.Address1 */);
}
getAddressLine2() {
return this.get("ADR2" /* Tag.Address2 */);
}
getAddressLine3() {
return this.get("ADR3" /* Tag.Address3 */);
}
getCity() {
return this.get("CITY" /* Tag.City */);
}
getState() {
return this.get("STAE" /* Tag.State */);
}
getPostalCode() {
return this.get("POST" /* Tag.PostalCode */);
}
getCountry() {
return this.get("CTRY" /* Tag.Country */);
}
}
exports.SelectionAddress = SelectionAddress;
//# sourceMappingURL=SelectionAddress.js.map