private IDimension newDimension(Dimension dimension) {
        try {
            final IDimension iDimension = dimension.dimensionClass().newInstance();
            iDimension.setAlias(dimension.alias());
            iDimension.setEnumType(dimension.enumClass());
            iDimension.setPriority(dimension.priority());
            return iDimension;
        } catch (Exception ex) {
            throw new IllegalStateException(ex);
        }
    }