
/*******************************************************************************
 * 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.util.filter;

import org.eclipse.birt.data.engine.core.DataException;

/**
 * 
 */

public interface IResultRow
{
	public Object getValue( String attrName ) throws DataException;
}


/*******************************************************************************
 * 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.util.filter;

import org.eclipse.birt.data.engine.core.DataException;

/**
 * 
 */

public interface IResultRow
{
	/**
	 * get the level value according to the specified level name.
	 * @param name
	 * @return
	 * @throws DataException
	 */
	public Object getLevelValue( String name ) throws DataException;
	/**
	 * get the aggregation values according to teh specified aggregation name.
	 * @param aggrName
	 * @return
	 * @throws DataException
	 */
	public Object getAggrValue( String aggrName ) throws DataException;
}

refactor IResultRow interface