public Number decrementDimension() { Number dim = getDimension(); if (dim == null) { Log.error(" in DataCube, incrementDimentsion, the dimension is undef"); return null;
public int decrementDimension() { if (dimension == 0) { Log.error(" in DataCube, incrementDimentsion, the dimension is 0"); return 0;
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));}