analysis.setHideSpans(asu.isHideSpans());
// only if we have an xmla model
// logger.info(olapModel.getClass().getName());
if (olapModel.getBookmarkState(0) instanceof MondrianMemento) {
MondrianMemento olapMem = (MondrianMemento) olapModel
.getBookmarkState(0);
analysis.setMdxQuery(olapMem.getMdxQuery());
//analysis.setXmlaUri(olapMem.getUri());
//analysis.setCatalog(olapMem.getCatalog());
}
logger.debug("OUT");