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 012/** 013 * User-defined property on a metadata element. 014 * 015 * @see mondrian.olap.Annotated 016 * 017 * @author jhyde 018 */ 019public interface Annotation { 020 /** 021 * Returns the name of this annotation. Must be unique within its element. 022 * 023 * @return Annotation name 024 */ 025 String getName(); 026 027 /** 028 * Returns the value of this annotation. Usually a string. 029 * 030 * @return Annotation value 031 */ 032 Object getValue(); 033} 034 035// End Annotation.java