protected BinaryInteraction newBinaryInteraction(Interactor interactorA, Interactor interactorB) { return new BinaryInteractionImpl(interactorA, interactorB); }
public BinaryInteraction newBinaryInteraction(Interactor i1, Interactor i2) { return new BinaryInteractionImpl(i1, i2); }
protected BinaryInteraction buildInteraction(Interactor a, Interactor b) { return new BinaryInteractionImpl( a, b ); }
private void convertPublicationToMitab(Publication publication) { binaryTemplate = new BinaryInteractionImpl(); if (publication == null){ return; } publicationConverter.intactToMitab(publication, binaryTemplate); }
private void convertExperimentToMitab(Experiment experiment) { if (this.binaryTemplate == null){ this.binaryTemplate = new BinaryInteractionImpl(); } if (experiment == null){ return; } experimentConverter.intactToMitab(experiment, binaryTemplate, true, false); }
BinaryInteraction bI = new BinaryInteractionImpl(psiInteractorA, psiInteractorB); bI.setAuthors(encoreInteraction.getAuthors()); bI.setInteractionAcs(interactionAcs);
BinaryInteraction binary = new BinaryInteractionImpl(null, null);
BinaryInteraction bI = new BinaryInteractionImpl(psiInteractorA, psiInteractorB); bI.setAuthors(encoreInteraction.getAuthors()); bI.setInteractionAcs(interactionAcs);
Interactor interactorB = mitabInteractorB != null ? mitabInteractorB.getInteractor() : null; BinaryInteraction expandedInteraction = new BinaryInteractionImpl(interactorA, interactorB);
Interactor interactorB = new Interactor(); BinaryInteraction<Interactor> interaction = new BinaryInteractionImpl(interactorA, interactorB);