public WasTriggeredByStar newWasTriggeredByStar(ProcessRef pid1, ProcessRef pid2, Collection<AccountRef> accounts) { WasTriggeredByStar res=of.createWasTriggeredByStar(); res.setEffect(pid1); res.setCause(pid2); addAccounts(res,accounts); return res; }