UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

42 lines (41 loc) 1.24 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RVOracleSIDDataSource = void 0; const RVOracleDataSource_1 = require("./RVOracleDataSource"); /** Oracle data source, it adds the SID property to the base properties inherited from the abstract class RVOracleDataSource. */ class RVOracleSIDDataSource extends RVOracleDataSource_1.RVOracleDataSource { /** @hidden */ constructor(json) { super(json); this._sID = null; if (json) { var props = json.Properties; this._sID = props['SID']; } } /** @hidden */ toJson() { var json = super.toJson(); var props = json.Properties; props['SID'] = this._sID; return json; } //** SID to use when connecting to Oracle server. */ get sID() { return this._sID; } set sID(value) { this._sID = value; } /** @hidden */ getType() { return "RVOracleSIDDataSource"; } /** @hidden */ _getWrapper() { let wrapper = super._getWrapper(); wrapper.sID(this.sID); return wrapper; } } exports.RVOracleSIDDataSource = RVOracleSIDDataSource;