1 13 16 package com.tonbeller.jpivot.olap.model.impl; 17 18 import com.tonbeller.jpivot.olap.model.NumberFormat; 19 20 23 public class NumberFormatImpl implements NumberFormat { 24 boolean grouping = true; 25 int fractionDigits = 2; 26 boolean percent = false; 27 28 31 public int getFractionDigits() { 32 return fractionDigits; 33 } 34 35 38 public boolean isGrouping() { 39 return grouping; 40 } 41 42 46 public void setFractionDigits(int fractionDigits) { 47 this.fractionDigits = fractionDigits; 48 } 49 50 54 public void setGrouping(boolean grouping) { 55 this.grouping = grouping; 56 } 57 58 61 public boolean isPercent() { 62 return percent; 63 } 64 65 } 66 | Popular Tags |