Finally, since all the data is available for use, we can create the StockUpdate object by calling the constructor with appropriate values:
final StockUpdate stockUpdate = new StockUpdate(
stockSymbol,
price,
date
);
We shouldn't forget to set the ID of the StockUpdate that was given by the database:
stockUpdate.setId(id);
Now that we have the GetResolver ready, we should plug it in to StorIO.