public Agent newAgent(String ag, Collection<Account> accounts, String label) { Agent res=of.createAgent(); res.setId(ag); addAccounts(res,accounts,null); if (label!=null) addAnnotation(res,newLabel(label)); return res; }
public Agent newAgent(String ag, Collection<Account> accounts, String label) { Agent res=of.createAgent(); res.setId(ag); addAccounts(res,accounts,null); if (label!=null) addAnnotation(res,newLabel(label)); return res; }