if (o instanceof DaysOnHandPolicy) { String type = ((DaysOnHandPolicy)o).getResourceType();
if (o instanceof InventoryPolicy) { String type = ((InventoryPolicy)o).getResourceType();
	public boolean execute(Object o) {	    if (o instanceof DaysOnHandPolicy) {		String type = ((DaysOnHandPolicy)o).getResourceType();		if (type.equals(type_)) {		    return true;		}	    }	    return false;	}