public Hierarchy getDefaultHierarchy() {
return getHierarchies().get(0);
}
public Type getDimensionType() throws OlapException {
final DimensionType dimensionType = dimension.getDimensionType();
switch (dimensionType) {
case StandardDimension:
return Type.OTHER;
case MeasuresDimension:
return Type.MEASURE;