public static QueryResult getQueryResultFromXmlRpc(Hashtable<String, Object> queryResultHash) {
Product product = getProductFromXmlRpc((Hashtable<String, Object>) queryResultHash.get("product"));
Metadata metadata = new Metadata();
metadata.addMetadata((Hashtable<String, Object>) queryResultHash.get("metadata"));
QueryResult queryResult = new QueryResult(product, metadata);
queryResult.setToStringFormat((String) queryResultHash.get("toStringFormat"));
return queryResult;
}