xmlEntry.setSource(xmlSource); listXrefEntryHashMap.put(sources, xmlEntry);
public static Entry createEntry(Source source, Collection<Interaction> interactions) { Entry entry = new Entry(); entry.setSource(source); for (Interaction interaction : interactions) { entry.getInteractions().add(interaction); for (ExperimentDescription expDesc : interaction.getExperiments()) { entry.getExperiments().add(expDesc); } for (Participant part : interaction.getParticipants()) { entry.getInteractors().add(part.getInteractor()); } } return entry; }
mEntry.setSource( sourceConverter.fromJaxb( jEntry.getSource() ) );
entry.setSource(institutionConverter.intactToPsi(getInstitution()));
mEntry.setSource( sourceConverter.fromJaxb( jEntry.getSource() ) );