_repository = new HashMap<Integer, Item>();
}
@Path("{id}")
public ItemResource getItem(@PathParam("id") final Integer id) {
final Item item = _repository.get(id);
if (item == null) {
throw new NotFoundException(Response.status(Response.Status.NOT_FOUND).entity("Item with id " + id + " does not " +
"exist!").build());
}