001 /* 002 // $Id: NamedSet.java 229 2009-05-08 19:11:29Z jhyde $ 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) 2006-2008 Julian Hyde 007 // All Rights Reserved. 008 // You must accept the terms of that agreement to use this software. 009 */ 010 package org.olap4j.metadata; 011 012 import org.olap4j.mdx.ParseTreeNode; 013 014 /** 015 * Metadata object describing a named set defined against a {@link Cube}. 016 * 017 * @author jhyde 018 * @version $Id: NamedSet.java 229 2009-05-08 19:11:29Z jhyde $ 019 * @since Oct 24, 2006 020 */ 021 public interface NamedSet extends MetadataElement { 022 /** 023 * Returns the <code>Cube</code> that this <code>NamedSet</code> belongs 024 * to. 025 * 026 * @return cube this named set belongs to 027 */ 028 Cube getCube(); 029 030 /** 031 * Returns the expression which gives the value of this NamedSet. 032 * 033 * @return expression 034 */ 035 ParseTreeNode getExpression(); 036 } 037 038 // End NamedSet.java