use of org.codice.alliance.nsili.common.UID.Product in project alliance by codice.
the class SampleNsiliClient method getProductFromDag.
private Product getProductFromDag(DAG dag) {
Product product = ProductHelper.extract(dag.nodes[0].value);
LOGGER.info("Product: {}", product.toString());
LOGGER.info("Product ID: {}", getProductIdFromDag(dag));
return product;
}
Aggregations