public QueryAxis getAxis(String name) throws SaikuOlapException { if ("UNUSED".equals(name)) { return getUnusedAxis(); } Standard standardAxis = Standard.valueOf(name); if (standardAxis == null) throw new SaikuOlapException( "Axis (" + name + ") not found for query (" + query.getName() + ")"); Axis queryAxis = Axis.Factory.forOrdinal(standardAxis.axisOrdinal()); return query.getAxis(queryAxis); }
public String getName() { return query.getName(); }