public Artifact newArtifact(String id, Collection<Account> accounts, String label) { Artifact res=of.createArtifact(); res.setId(id); addAccounts(res,accounts,null); if (label!=null) addAnnotation(res,newLabel(label)); return res; }
public Artifact newArtifact(String id, Collection<Account> accounts, String label) { Artifact res=of.createArtifact(); res.setId(id); addAccounts(res,accounts,null); if (label!=null) addAnnotation(res,newLabel(label)); return res; }