001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2001-2005 Julian Hyde
008// Copyright (C) 2005-2011 Pentaho and others
009// All Rights Reserved.
010*/
011package mondrian.rolap;
012
013import mondrian.olap.Member;
014
015/**
016 * Interface implemented by all measures (both stored and calculated).
017 *
018 * @author jhyde
019 * @since 10 August, 2001
020 */
021public interface RolapMeasure extends Member {
022    /**
023     * Returns the object that formats cells of this measure, or null to use
024     * default formatting.
025     *
026     * @return formatter
027     */
028    RolapResult.ValueFormatter getFormatter();
029}
030
031// End RolapMeasure.java