if ( toTypeClass == Integer.class ) return toInteger( source ); if ( toTypeClass == BigDecimal.class ) return toBigDecimal( source ); if ( toTypeClass == Boolean.class ) return toBoolean( source ); if ( Date.class.isAssignableFrom( toTypeClass ) ) return toDate( source ); if ( toTypeClass == Double.class ) return toDouble( source ); if ( toTypeClass == String.class ) return toString( source ); if ( toTypeClass == Blob.class ) return toBlob( source );
	public static Object convert( Object source, Class toTypeClass )		throws BirtException	{		if ( toTypeClass == DataType.getClass( DataType.ANY_TYPE ) )			return source;		if ( toTypeClass == Integer.class )			return toInteger( source );		if ( toTypeClass == BigDecimal.class )			return toBigDecimal( source );		if ( toTypeClass == Boolean.class )			return toBoolean( source );		if ( Date.class.isAssignableFrom( toTypeClass ) )			return toDate( source );		if ( toTypeClass == Double.class )			return toDouble( source );		if ( toTypeClass == String.class )			return toString( source );		if ( toTypeClass == Blob.class )			return toBlob( source );				throw new BirtException( pluginId,				ResourceConstants.INVALID_TYPE,				resourceBundle );	}