Bug 207120 Please model provide an API for data type conversion.
Currently, there're two data types: column data type and parameter data type. But they're inconsistent. Could model provide APIs for conversion between the two types. Thanks. In addition: please check the code into head and 2.2.1 branch, because we have a 2.2.1 bug to fix.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ModuleUtilTest.java
* Test CheckModule.
	 * 
	 * Cases:
	 * <ul>
	 * <li>valid report design file
	 * <li>valid library file
	 * <li>invalid report design file
	 * <li>invalid library file
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testCheckModule( ) throws Exception
	{
		sessionHandle = new DesignEngine( null ).newSessionHandle( ULocale.ENGLISH );
		assertNotNull( sessionHandle );
		String fileName = INPUT_FOLDER + "CellHandleTest.xml"; 
		InputStream inputStream = getResourceAStream( fileName );
		int rtnType = ModuleUtil.checkModule( sessionHandle,
				getResource( fileName ).toString( ),
				inputStream );
		assertEquals( ModuleUtil.REPORT_DESIGN, rtnType );
		fileName = INPUT_FOLDER + "Library_1.xml"; 
		inputStream = getResourceAStream( fileName );
		rtnType = ModuleUtil.checkModule( sessionHandle,
				getResource( fileName ).toString( ),
				inputStream );
		assertEquals( ModuleUtil.LIBRARY, rtnType );
		fileName = INPUT_FOLDER + "InValidDesign.xml"; 
		inputStream = getResourceAStream( fileName );