List<SaikuDimensionSelection> dims = ObjectUtil.convertDimensionSelections(axis.getDimensions(), query);
Axis location = axis.getLocation();
String so = axis.getSortOrder() == null ? null : axis.getSortOrder().name();
SaikuAxis sax = new SaikuAxis(
location.name(),
location.axisOrdinal(),
axis.getName(),
dims,
so,
axis.getSortIdentifierNodeName(),
query.getTotalFunction(axis.getName()));