001 /*
002 // $Id: //open/mondrian-release/3.2/src/main/mondrian/olap/Annotated.java#1 $
003 // This software is subject to the terms of the Eclipse Public License v1.0
004 // Agreement, available at the following URL:
005 // http://www.eclipse.org/legal/epl-v10.html.
006 // Copyright (C) 2009-2009 Julian Hyde and others
007 // All Rights Reserved.
008 // You must accept the terms of that agreement to use this software.
009 */
010
011 package mondrian.olap;
012
013 import java.util.Map;
014
015 /**
016 * An element that has annotations.
017 *
018 * @version $Id: //open/mondrian-release/3.2/src/main/mondrian/olap/Annotated.java#1 $
019 * @author jhyde
020 */
021 public interface Annotated {
022 /**
023 * Returns a list of annotations.
024 *
025 * <p>The map may be empty, never null.
026 *
027 * @return Map from annotation name to annotations.
028 */
029 Map<String, Annotation> getAnnotationMap();
030 }
031
032 // End Annotated.java