"use strict"; /** * Licensed Materials - Property of IBM * IBM Cognos Products: Cognos Analytics * Copyright IBM Corp. 2015, 2017 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ define(['bi/admin/common/utils/parameters/SimpleParmValueItem'], function (SimpleParmValueItem) { function UnboundedEndRangeParmValueItem() { //NOSONAR this._inclusive = true; this._start = new SimpleParmValueItem(); } UnboundedEndRangeParmValueItem.prototype.fromJSON = function (json) { if (json.inclusive) { this._inclusive = json.inclusive; } if (json.start) { this._start.fromJSON(json.start); } }; UnboundedEndRangeParmValueItem.prototype.toXML = function (nodeName) { var unboundedEndRangeParmValueItem = '<' + nodeName + ' xsi:type="bus:unboundedEndRangeParmValueItem">' + '' + this._inclusive + '' + this._start.toXML('start') + ''; return unboundedEndRangeParmValueItem; }; return UnboundedEndRangeParmValueItem; });