Bug 182695 Backport RowFetchLimit setting in model to 2.1.3
In 2.1.3 Model add new methods DataSetHandle.setDataSetRowLimit() and DataSetHandle.getDataSetRowLimit() to let user define the number of rows that returned from database. This however duplicate with existing 2.2 model methods DataSetHandle.setRowFetchLimit() and DataSetHandle.getRowFetchLimit(). Model should backport the changes to 2.1.3.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DataSetHandle.java
.next( );
				if ( oldParamName.equals( bindingHandle.getParamName( ) ) )
				{
					bindingHandle.setParamName( newParamName );
				}
			}
		}
	}
	/**
	 * Sets the max number of rows from data source property value.
	 * 
	 * @param count
	 *            the row number to fetch from result set
	 * 
	 * @throws SemanticException
	 */
	public void setRowFetchLimit( int count ) throws SemanticException
	{
		setIntProperty( ROW_FETCH_LIMIT_PROP, count );
	}
	/**
	 * Returns the max number of rows from data source property value.
	 * 
	 * @return the max number of rows that can be fetched from data source.
	 */
	public int getRowFetchLimit( )
	{
		return getIntProperty( ROW_FETCH_LIMIT_PROP );
	}
}