_s4j.js 1.2 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. define(["com/ibm/vipr/VIPR"],function(VIPR){"use strict";var _ymb=VIPR.data.ValueType;function _s4j(_3vm, _oti, _b5k, _vqd, _2hi){ this._1km=_3vm;this._24i=_oti;this._9ij=_b5k;this._add=_vqd;this._jhn =[];this._jhn[_2hi]=this._1km;}; _s4j.prototype.getDecoration=function(_vdn){return null;};_s4j.prototype.hasDecoration=function(_vdn){return false;};_s4j.prototype.getCaption=function(_1gh){var _3vm=this.getValue();if(_3vm!==null){return this._24i.format(_3vm);}};_s4j.prototype.getValueType=function(){return _ymb.Numeric;};_s4j.prototype.getValue=function(){return this._1km;};_s4j.prototype._yn3=function(){return this._add;};_s4j.prototype._e8b=function(){if(this._o0f){return this._o0f;}var _79k=this._9ij.getItemClass().getCaption();this._o0f={};this._o0f[ _79k ]={"value": this.getCaption(),"type": "value"};return this._o0f;};_s4j.prototype._wdm=function(){return this._jhn;};_s4j.prototype._te1=function(){return false;};return _s4j;});