Search in sources :

Example 1 with UID._ProductStub

use of org.codice.alliance.nsili.common.UID._ProductStub in project alliance by codice.

the class DeliveryManifestGenerator method getManifest.

public static DeliveryManifest getManifest() {
    String package_name = "myPackage";
    String[] files = {};
    PackageElement packageElement = new PackageElement(new _ProductStub(), files);
    PackageElement[] elements = { packageElement };
    DeliveryManifest deliveryManifest = new DeliveryManifest(package_name, elements);
    return deliveryManifest;
}
Also used : UID._ProductStub(org.codice.alliance.nsili.common.UID._ProductStub) DeliveryManifest(org.codice.alliance.nsili.common.GIAS.DeliveryManifest) PackageElement(org.codice.alliance.nsili.common.GIAS.PackageElement)

Aggregations

DeliveryManifest (org.codice.alliance.nsili.common.GIAS.DeliveryManifest)1 PackageElement (org.codice.alliance.nsili.common.GIAS.PackageElement)1 UID._ProductStub (org.codice.alliance.nsili.common.UID._ProductStub)1