Bug 128495 Provides BIRT Adapter of DTP Oda Design objects to/from ROM ODA Data Handles
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
return new Boolean( false );
			return new Boolean( true );
		}
		else if ( source instanceof Double )
		{
			int intValue = ( (Double) source ).intValue( );
			if ( intValue == 0 )
				return new Boolean( false );
			return new Boolean( true );
		}
		else if ( source instanceof String )
		{
			if ( ( (String) source ).equalsIgnoreCase( "true" ) )
				return Boolean.valueOf( "true" );
			else if ( ( (String) source ).equalsIgnoreCase( "false" ) )
				return Boolean.valueOf( "false" );
			else
				throw new BirtException( pluginId,
						ResourceConstants.CONVERT_FAILS,
						new Object[]{
								source.toString( ), "Boolean"
						} );
		}
		else
		{
			throw new BirtException( pluginId,
					ResourceConstants.CONVERT_FAILS,
					new Object[]{
							source.toString( ), "Boolean"
					},