Exemple #1
0
 /** Return a list of active dimensions on the slicer */
 public static Set getActiveSlicerHierarchies(OlapModel model) throws OlapException {
   Set active = new HashSet();
   Axis slicer = model.getResult().getSlicer();
   Hierarchy[] hiers = slicer.getHierarchies();
   for (int j = 0; j < hiers.length; j++) active.add(hiers[j]);
   return active;
 }