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 UnboundedStartRangeParmValueItem() {
- //NOSONAR
- this._inclusive = true;
- this._end = new SimpleParmValueItem();
- }
- UnboundedStartRangeParmValueItem.prototype.fromJSON = function (json) {
- if (json.inclusive) {
- this._inclusive = json.inclusive;
- }
- if (json.end) {
- this._end.fromJSON(json.end);
- }
- };
- UnboundedStartRangeParmValueItem.prototype.toXML = function (nodeName) {
- var unboundedStartRangeParmValueItem = '<' + nodeName + ' xsi:type="bus:unboundedStartRangeParmValueItem">' + '<inclusive xsi:type="xsd:boolean">' + this._inclusive + '</inclusive>' + this._end.toXML('end') + '</' + nodeName + '>';
- return unboundedStartRangeParmValueItem;
- };
- return UnboundedStartRangeParmValueItem;
- });
|