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/src/org/eclipse/birt/report/model/api/ModuleUtil.java
{
		/**
		 * A fake element with the given action. Used to reuse the existing
		 * action parser logic.
		 */
		DesignElement element = null;
		/**
		 * 
		 * @param element
		 * @param theModule
		 */
		public ActionParserHandler( DesignElement element )
		{
			super( null, null );
			this.element = element;
			module = new ReportDesign( null );
			setVersionNumber( DesignSchemaConstants.REPORT_VERSION_NUMBER );
		}
		public AbstractParseState createStartState( )
		{
			return new StartState( );
		}
		/**
		 * Recognizes the top-level tags: Report or Library
		 */
		class StartState extends InnerParseState