public Process newProcess(String pr, Collection<Account> accounts, String label) { Process res=of.createProcess(); res.setId(pr); addAccounts(res,accounts,null); if (label!=null) addAnnotation(res,newLabel(label)); return res; }
public Process newProcess(String pr, Collection<Account> accounts, String label) { Process res=of.createProcess(); res.setId(pr); addAccounts(res,accounts,null); if (label!=null) addAnnotation(res,newLabel(label)); return res; }