
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.olap.api.query;

import org.eclipse.birt.data.engine.api.IFilterDefinition;


/**
 * 
 */

public interface ICubeFilterDefinition extends IFilterDefinition
{
	/**
	 * Return the targeting level that this sort definition will act against.
	 */
	public ILevelDefinition getTargetLevel();
	
	/**
	 * Return the Axis qualifier level.
	 * @return
	 */
	public ILevelDefinition[] getAxisQualifierLevel( );
	
	/**
	 * Return the Axis qualifier value
	 * @return
	 */
	public Object[] getAxisQualifierValue( );
}


/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.olap.api.query;

import org.eclipse.birt.data.engine.api.IFilterDefinition;


/**
 * 
 */

public interface ICubeFilterDefinition extends IFilterDefinition
{
	/**
	 * Return the targeting level that this sort/filter definition will act against.
	 */
	public ILevelDefinition getTargetLevel();
	
	/**
	 * Return the Axis qualifier levels.
	 * @return
	 */
	public ILevelDefinition[] getAxisQualifierLevels( );
	
	/**
	 * Return the Axis qualifier values.
	 * @return
	 */
	public Object[] getAxisQualifierValues( );
}

make refactor to ICubeFilterDefinition and add a basic implementation named CubeFilterDefn