Search in sources :

Example 16 with Product

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;
}
Also used : Product(org.codice.alliance.nsili.common.UID.Product)

Aggregations

Product (org.codice.alliance.nsili.common.UID.Product)16 DAG (org.codice.alliance.nsili.common.UCO.DAG)10 Result (ddf.catalog.data.Result)9 MetacardImpl (ddf.catalog.data.impl.MetacardImpl)9 ResultImpl (ddf.catalog.data.impl.ResultImpl)9 Test (org.junit.Test)9 GetRelatedFilesRequest (org.codice.alliance.nsili.common.GIAS.GetRelatedFilesRequest)5 NameValue (org.codice.alliance.nsili.common.UCO.NameValue)5 Any (org.omg.CORBA.Any)5 FileLocation (org.codice.alliance.nsili.common.UCO.FileLocation)4 ArrayList (java.util.ArrayList)3 Metacard (ddf.catalog.data.Metacard)2 GetParametersRequest (org.codice.alliance.nsili.common.GIAS.GetParametersRequest)2 PackageElement (org.codice.alliance.nsili.common.GIAS.PackageElement)2 DAGHolder (org.codice.alliance.nsili.common.UCO.DAGHolder)2 ObjectAlreadyActive (org.omg.PortableServer.POAPackage.ObjectAlreadyActive)2 ServantAlreadyActive (org.omg.PortableServer.POAPackage.ServantAlreadyActive)2 WrongPolicy (org.omg.PortableServer.POAPackage.WrongPolicy)2 AttributeImpl (ddf.catalog.data.impl.AttributeImpl)1 QueryRequest (ddf.catalog.operation.QueryRequest)1