@SuppressWarnings("deprecation") @Test public void testDeserializeInstance() throws Exception { final WarehouseTask warehouseTask = readObjectFromResource("/warehouse/warehouseTask-finished.json", WarehouseTask.class); assertThat(warehouseTask.getWarehouseUri(), is("/gdc/datawarehouse/instances/instanceId")); }
public String getWarehouseUri() { return links.get(WAREHOUSE_LINK); }
WarehouseTask { public String getWarehouseUri() { return links.get(WAREHOUSE_LINK); } }
WarehouseTask { public String getWarehouseUri() { return links.get(WAREHOUSE_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); }
WarehouseTask { public String getWarehouseUri() { return links.get(WAREHOUSE_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); String getPollUri(); String getWarehouseUri(); String getWarehouseUserUri(); }
WarehouseTask { public String getWarehouseUri() { return links.get(WAREHOUSE_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); String getPollUri(); String getWarehouseUri(); String getWarehouseUserUri();  }