1 28 package net.sf.jasperreports.olap.xmla; 29 30 import net.sf.jasperreports.olap.result.JROlapCell; 31 32 33 37 public class JRXmlaCell implements JROlapCell 38 { 39 40 private final Object value; 41 private final String formattedValue; 42 43 public JRXmlaCell(Object value, String formattedValue) 44 { 45 this.value = value; 46 this.formattedValue = formattedValue; 47 } 48 49 public String getFormattedValue() 50 { 51 return formattedValue; 52 } 53 54 public Object getValue() 55 { 56 return value; 57 } 58 59 public boolean isError() 60 { 61 return false; 63 } 64 65 public boolean isNull() 66 { 67 return value == null; 68 } 69 70 } 71 | Popular Tags |