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) 2009-2009 Pentaho and others
008// All Rights Reserved.
009*/
010package mondrian.olap;
011
012import java.util.Map;
013
014/**
015 * An element that has annotations.
016 *
017 * @author jhyde
018 */
019public interface Annotated {
020    /**
021     * Returns a list of annotations.
022     *
023     * <p>The map may be empty, never null.
024     *
025     * @return Map from annotation name to annotations.
026     */
027    Map<String, Annotation> getAnnotationMap();
028}
029
030// End Annotated.java