/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { List$1 } from "./List$1";
import { StockPricePoint } from "./StockPricePoint";
import { markType } from "./type";
import { stringIsNullOrEmpty } from "./string";
/**
 * @hidden
 */
export class StockPriceHistory extends List$1 {
    constructor() {
        super(StockPricePoint.$, 0);
        this._symbol = null;
        this._company = null;
        this.symbol = "";
        this.company = "";
    }
    get title() {
        let a = stringIsNullOrEmpty(this.company) ? "" : " - " + this.company;
        return this.symbol + a;
    }
    get symbol() {
        return this._symbol;
    }
    set symbol(a) {
        this._symbol = a;
    }
    get company() {
        return this._company;
    }
    set company(a) {
        this._company = a;
    }
    toString() {
        return this.symbol;
    }
}
StockPriceHistory.$t = markType(StockPriceHistory, 'StockPriceHistory', List$1.$.specialize(StockPricePoint.$));
