Package psidev.psi.mi.jami.factory
Interface BinaryInteractionFactory
-
- All Known Implementing Classes:
DefaultBinaryInteractionFactory
,XmlBinaryInteractionFactory
,XmlBinaryInteractionFactory
public interface BinaryInteractionFactory
An interface for a factory of BinaryInteractions- Since:
16/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinaryInteraction
createBasicBinaryInteractionFrom(Interaction interaction, Participant p1, Participant p2, CvTerm expansionMethod)
Create a new BinaryInteraction object from an Interaction parent and two participantsBinaryInteractionEvidence
createBinaryInteractionEvidenceFrom(InteractionEvidence interaction, ParticipantEvidence p1, ParticipantEvidence p2, CvTerm expansionMethod)
Create a new BinaryInteractionEvidence object from an InteractionEvidence parent and two participants evidencesBinaryInteractionEvidence
createBinaryInteractionEvidenceWrapperFrom(InteractionEvidence interaction)
Creates a BinaryInteractionEvidence that wraps the given interactionBinaryInteraction
createBinaryInteractionWrapperFrom(Interaction interaction)
Creates a BinaryInteraction that wraps the given interactionModelledBinaryInteraction
createModelledBinaryInteractionFrom(ModelledInteraction interaction, ModelledParticipant p1, ModelledParticipant p2, CvTerm expansionMethod)
Create a new ModelledBinaryInteraction object from a ModelledInteraction parent and two modelled participantsModelledBinaryInteraction
createModelledBinaryInteractionWrapperFrom(ModelledInteraction interaction)
Creates a ModelledBinaryInteraction that wraps the given interactionBinaryInteractionEvidence
createSelfBinaryInteractionEvidenceFrom(InteractionEvidence interaction)
Creates a BinaryInteractionEvidence representing a self interactionBinaryInteraction
createSelfBinaryInteractionFrom(Interaction interaction)
Create a binary interaction representing a self interactionModelledBinaryInteraction
createSelfModelledBinaryInteractionFrom(ModelledInteraction interaction)
Creates a ModelledInteraction representing a self interactionBinaryInteraction
instantiateNewBinaryInteraction()
Instantiate a new BinaryInteractionBinaryInteractionEvidence
instantiateNewBinaryInteractionEvidence()
Instantiate a new BinaryInteraction evidenceModelledBinaryInteraction
instantiateNewModelledBinaryInteraction()
Instantiate a new modelled binary interaction
-
-
-
Method Detail
-
createBasicBinaryInteractionFrom
BinaryInteraction createBasicBinaryInteractionFrom(Interaction interaction, Participant p1, Participant p2, CvTerm expansionMethod)
Create a new BinaryInteraction object from an Interaction parent and two participants- Parameters:
interaction
- : the original interactionp1
- : the first participantp2
- : the second participantexpansionMethod
- aCvTerm
object.- Returns:
- the new BinaryInteraction object
-
createBinaryInteractionEvidenceFrom
BinaryInteractionEvidence createBinaryInteractionEvidenceFrom(InteractionEvidence interaction, ParticipantEvidence p1, ParticipantEvidence p2, CvTerm expansionMethod)
Create a new BinaryInteractionEvidence object from an InteractionEvidence parent and two participants evidences- Parameters:
interaction
- : the original interactionp1
- : the first participantp2
- : the second participantexpansionMethod
- : the expansion method- Returns:
- the new BinaryInteractionEvidence object
-
createModelledBinaryInteractionFrom
ModelledBinaryInteraction createModelledBinaryInteractionFrom(ModelledInteraction interaction, ModelledParticipant p1, ModelledParticipant p2, CvTerm expansionMethod)
Create a new ModelledBinaryInteraction object from a ModelledInteraction parent and two modelled participants- Parameters:
interaction
- : the original interactionp1
- : the first participantp2
- : the second participantexpansionMethod
- : the expansion method- Returns:
- the new ModelledBinaryInteraction object
-
createSelfBinaryInteractionFrom
BinaryInteraction createSelfBinaryInteractionFrom(Interaction interaction)
Create a binary interaction representing a self interaction- Parameters:
interaction
- : the original interaction- Returns:
- the resulting self binary interaction
-
createSelfBinaryInteractionEvidenceFrom
BinaryInteractionEvidence createSelfBinaryInteractionEvidenceFrom(InteractionEvidence interaction)
Creates a BinaryInteractionEvidence representing a self interaction- Parameters:
interaction
- : the original interaction- Returns:
- the resulting self binary interaction
-
createSelfModelledBinaryInteractionFrom
ModelledBinaryInteraction createSelfModelledBinaryInteractionFrom(ModelledInteraction interaction)
Creates a ModelledInteraction representing a self interaction- Parameters:
interaction
- : the original interaction- Returns:
- the resulting self binary interaction
-
createBinaryInteractionWrapperFrom
BinaryInteraction createBinaryInteractionWrapperFrom(Interaction interaction)
Creates a BinaryInteraction that wraps the given interaction- Parameters:
interaction
- : the original interaction- Returns:
- the resulting binary interaction wrapper
-
createBinaryInteractionEvidenceWrapperFrom
BinaryInteractionEvidence createBinaryInteractionEvidenceWrapperFrom(InteractionEvidence interaction)
Creates a BinaryInteractionEvidence that wraps the given interaction- Parameters:
interaction
- : the original interaction- Returns:
- the resulting binary interaction wrapper
-
createModelledBinaryInteractionWrapperFrom
ModelledBinaryInteraction createModelledBinaryInteractionWrapperFrom(ModelledInteraction interaction)
Creates a ModelledBinaryInteraction that wraps the given interaction- Parameters:
interaction
- : the original interaction- Returns:
- the resulting binary interaction wrapper
-
instantiateNewBinaryInteraction
BinaryInteraction instantiateNewBinaryInteraction()
Instantiate a new BinaryInteraction- Returns:
- the binary interaction instance
-
instantiateNewBinaryInteractionEvidence
BinaryInteractionEvidence instantiateNewBinaryInteractionEvidence()
Instantiate a new BinaryInteraction evidence- Returns:
- the binary interaction instance
-
instantiateNewModelledBinaryInteraction
ModelledBinaryInteraction instantiateNewModelledBinaryInteraction()
Instantiate a new modelled binary interaction- Returns:
- the binary interaction instance
-
-