invSet.add(refill.getPrepositionalPhrase(Constants.Preposition.MAINTAINING).getIndirectObject());
String inventoryID = (String)refill.getPrepositionalPhrase(Constants.Preposition.MAINTAINING).getIndirectObject(); int idx = inventoryID.indexOf(':'); inventoryID = inventoryID.substring(idx+1); invSet.add(inventoryPlugIn_.findOrMakeInventory(supplyType_, inventoryID));
    private boolean checkRefills(IncrementalSubscription refillAllocs, Set invSet) {        Enumeration refills = refillAllocs.getChangedList();	boolean changed = false;	while (refills.hasMoreElements()) {            Allocation alloc = (Allocation) refills.nextElement();            Set changes = refillAllocs.getChangeReports(alloc);            if (TaskUtils.checkChangeReports(changes, PlanElement.EstimatedResultChangeReport.class)) {                Task refill = alloc.getTask();                invSet.add(refill.getPrepositionalPhrase(Constants.Preposition.MAINTAINING).getIndirectObject());                changed = true;            }        }	return changed;    }