1 13 package com.tonbeller.jpivot.olap.model.impl; 14 15 import java.util.List ; 16 17 import com.tonbeller.jpivot.olap.model.Axis; 18 import com.tonbeller.jpivot.olap.model.Result; 19 import com.tonbeller.jpivot.olap.model.Visitor; 20 21 26 public class ResultImpl implements Result { 27 28 List cells; 29 Axis slicer; 30 Axis[] axes; 31 32 35 public ResultImpl() { 36 super(); 37 } 38 39 43 public Axis[] getAxes() { 44 return axes; 45 } 46 47 51 public List getCells() { 52 return cells; 53 } 54 55 59 public Axis getSlicer() { 60 return slicer; 61 } 62 63 67 public void setAxes(Axis[] axes) { 68 this.axes = axes; 69 } 70 71 75 public void setCells(List cells) { 76 this.cells = cells; 77 } 78 79 83 public void setSlicer(Axis slicer) { 84 this.slicer = slicer; 85 } 86 87 public void accept(Visitor visitor) { 88 visitor.visitResult(this); 89 } 90 91 92 public Object getRootDecoree() { 93 return this; 94 } 95 96 public boolean isOverflowOccured() { 97 return false; 98 } 99 100 } 101 | Popular Tags |