Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null; } else return setDimension(new Integer(dim.intValue()-1));
Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null;
  public Number decrementDimension() {    Number dim = getDimension();    if (dim == null) {      Log.error(" in DataCube, incrementDimentsion, the dimension is undef");      return null;    }    else      return setDimension(new Integer(dim.intValue()-1));  }