Class InteractionEvidenceMatrixExpansion
- java.lang.Object
-
- psidev.psi.mi.jami.binary.expansion.AbstractComplexExpansionMethod<T,B>
-
- psidev.psi.mi.jami.binary.expansion.AbstractMatrixExpansion<InteractionEvidence,BinaryInteractionEvidence>
-
- psidev.psi.mi.jami.binary.expansion.InteractionEvidenceMatrixExpansion
-
- All Implemented Interfaces:
ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence>
public class InteractionEvidenceMatrixExpansion extends AbstractMatrixExpansion<InteractionEvidence,BinaryInteractionEvidence>
Matrix expansion for InteractionEvidence- Since:
19/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.binary.expansion.ComplexExpansionMethod
BIPARTITE, BIPARTITE_EXPANSION, BIPARTITE_EXPANSION_MI, MATRIX, MATRIX_EXPANSION, MATRIX_EXPANSION_MI, SPOKE, SPOKE_EXPANSION, SPOKE_EXPANSION_MI
-
-
Constructor Summary
Constructors Constructor Description InteractionEvidenceMatrixExpansion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <P extends Participant>
BinaryInteractionEvidencecreateBinaryInteraction(InteractionEvidence interaction, P c1, P c2)createBinaryInteractionprotected Collection<BinaryInteractionEvidence>createBinaryInteractionWrappersFrom(InteractionEvidence interaction)createBinaryInteractionWrappersFromprotected Collection<BinaryInteractionEvidence>createNewSelfBinaryInteractionsFrom(InteractionEvidence interaction)createNewSelfBinaryInteractionsFromprotected ParticipantEvidence[]createParticipantsArray(InteractionEvidence interaction)createParticipantsArrayprotected ComplexTypefindInteractionCategory(InteractionEvidence interaction)findInteractionCategory-
Methods inherited from class psidev.psi.mi.jami.binary.expansion.AbstractMatrixExpansion
collectBinaryInteractionsFromNary
-
Methods inherited from class psidev.psi.mi.jami.binary.expansion.AbstractComplexExpansionMethod
expand, getBinaryInteractionFactory, getMethod, isInteractionExpandable, setBinaryInteractionFactory
-
-
-
-
Method Detail
-
createNewSelfBinaryInteractionsFrom
protected Collection<BinaryInteractionEvidence> createNewSelfBinaryInteractionsFrom(InteractionEvidence interaction)
createNewSelfBinaryInteractionsFrom
- Overrides:
createNewSelfBinaryInteractionsFromin classAbstractComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence>- Parameters:
interaction- : the self interaction to expand- Returns:
- the collection of binary interaction generated from this self interaction
-
createBinaryInteractionWrappersFrom
protected Collection<BinaryInteractionEvidence> createBinaryInteractionWrappersFrom(InteractionEvidence interaction)
createBinaryInteractionWrappersFrom
- Overrides:
createBinaryInteractionWrappersFromin classAbstractComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence>- Parameters:
interaction- : the interaction with only two participants- Returns:
- the collection of binary interaction wrappers generated from this interaction with two partcipants
-
findInteractionCategory
protected ComplexType findInteractionCategory(InteractionEvidence interaction)
findInteractionCategory
- Overrides:
findInteractionCategoryin classAbstractComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence>- Parameters:
interaction- : the interaction to expand- Returns:
- the complexType that match this interaction and which will be used to expand
-
createBinaryInteraction
protected <P extends Participant> BinaryInteractionEvidence createBinaryInteraction(InteractionEvidence interaction, P c1, P c2)
createBinaryInteraction
- Specified by:
createBinaryInteractionin classAbstractMatrixExpansion<InteractionEvidence,BinaryInteractionEvidence>- Type Parameters:
P- a P object.- Parameters:
interaction- : the interaction to expandc1- : participant Ac2- : participant B- Returns:
- the binary interaction
-
createParticipantsArray
protected ParticipantEvidence[] createParticipantsArray(InteractionEvidence interaction)
createParticipantsArray
- Specified by:
createParticipantsArrayin classAbstractMatrixExpansion<InteractionEvidence,BinaryInteractionEvidence>- Parameters:
interaction- : the interaction to expand- Returns:
- the array of participants involved in this interaction
-
-