Package psidev.psi.mi.jami.factory
Class DefaultComplexExpansionFactory
- java.lang.Object
-
- psidev.psi.mi.jami.factory.DefaultComplexExpansionFactory
-
- All Implemented Interfaces:
ComplexExpansionFactory
public class DefaultComplexExpansionFactory extends Object implements ComplexExpansionFactory
Default implementation of complex expansion- Since:
22/08/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultComplexExpansionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplexExpansionMethod
createBipartiteComplexExpansion(InteractionCategory category)
Create an instance of bipartite complex expansion that suits the interactionCategoryComplexExpansionMethod
createComplexExpansionMethod(InteractionCategory category, ComplexExpansionType type)
Create an instance of complex expansion that suits the interactionCategory and the ComplexExpansionTypeComplexExpansionMethod<Interaction,BinaryInteraction>
createDefaultComplexExpansion(ComplexExpansionType type)
Create an instance of complex expansion that suits the ComplexExpansionType and can deal with any kind of interactions (modelled, evidence)ComplexExpansionMethod
createMatrixComplexExpansion(InteractionCategory category)
Create an instance of matrix complex expansion that suits the interactionCategoryComplexExpansionMethod
createSpokeComplexExpansion(InteractionCategory category)
Create an instance of spoke complex expansion that suits the interactionCategory
-
-
-
Method Detail
-
createComplexExpansionMethod
public ComplexExpansionMethod createComplexExpansionMethod(InteractionCategory category, ComplexExpansionType type)
Create an instance of complex expansion that suits the interactionCategory and the ComplexExpansionType- Specified by:
createComplexExpansionMethod
in interfaceComplexExpansionFactory
- Parameters:
category
- : the type of interactions to deal with (evidence, modelled, mixed,...)type
- : the type of complex expansiom (spoke, matrix or bipartite)- Returns:
- the complexExpansion instance
-
createDefaultComplexExpansion
public ComplexExpansionMethod<Interaction,BinaryInteraction> createDefaultComplexExpansion(ComplexExpansionType type)
Create an instance of complex expansion that suits the ComplexExpansionType and can deal with any kind of interactions (modelled, evidence)- Specified by:
createDefaultComplexExpansion
in interfaceComplexExpansionFactory
- Parameters:
type
- : the type of complex expansiom (spoke, matrix or bipartite)- Returns:
- the complexExpansion instance that will deal with any kind of interactions (modelled, evidence, etc.)
-
createSpokeComplexExpansion
public ComplexExpansionMethod createSpokeComplexExpansion(InteractionCategory category)
Create an instance of spoke complex expansion that suits the interactionCategory- Specified by:
createSpokeComplexExpansion
in interfaceComplexExpansionFactory
- Parameters:
category
- : the type of interactions to deal with (evidence, modelled, mixed,...)- Returns:
- the spoke complexExpansion instance
-
createMatrixComplexExpansion
public ComplexExpansionMethod createMatrixComplexExpansion(InteractionCategory category)
Create an instance of matrix complex expansion that suits the interactionCategory- Specified by:
createMatrixComplexExpansion
in interfaceComplexExpansionFactory
- Parameters:
category
- : the type of interactions to deal with (evidence, modelled, mixed,...)- Returns:
- the matrix complexExpansion instance
-
createBipartiteComplexExpansion
public ComplexExpansionMethod createBipartiteComplexExpansion(InteractionCategory category)
Create an instance of bipartite complex expansion that suits the interactionCategory- Specified by:
createBipartiteComplexExpansion
in interfaceComplexExpansionFactory
- Parameters:
category
- : the type of interactions to deal with (evidence, modelled, mixed,...)- Returns:
- the bipartite complexExpansion instance
-
-