Bug 212497 Need api to get all referencable report item with cube
Need model provide new api to return all referencable report items for dataset or cube respectively. For instance: getAvailableDataSetBindingReferenceList(); getAvailableCubeBindingReferenceList(); also keep current api: getAvailableDataBindingReferenceList().
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportItemDataRefTest.java
fail( );
		}
		catch ( SemanticException e )
		{
			assertEquals(
					SemanticError.DESIGN_EXCEPTION_CIRCULAR_ELEMENT_REFERNECE,
					e.getErrorCode( ) );
		}
		try
		{
			data1.setDataBindingReference( data2 );
			fail( );
		}
		catch ( SemanticException e )
		{
			assertEquals(
					SemanticError.DESIGN_EXCEPTION_CIRCULAR_ELEMENT_REFERNECE,
					e.getErrorCode( ) );
		}
		
		
		Iterator paramBindings = data2.paramBindingsIterator( );
		ParamBindingHandle paramBinding = (ParamBindingHandle) paramBindings
				.next( );
		assertEquals( "table value1", paramBinding.getExpression( ) ); 
		TableHandle table2 = (TableHandle) designHandle
				.findElement( "myTable2" ); 
		Iterator filters = table2.filtersIterator( );
		FilterConditionHandle filter = (FilterConditionHandle) filters.next( );
		assertEquals( "table 1 filter expression", filter.getExpr( ) );