1234567891011121314151617181920212223242526272829303132 |
- "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">' + '<inclusive xsi:type="xsd:boolean">' + this._inclusive + '</inclusive>' + this._start.toXML('start') + '</' + nodeName + '>';
- return unboundedEndRangeParmValueItem;
- };
- return UnboundedEndRangeParmValueItem;
- });
|