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 ComplexExpansionMethodcreateBipartiteComplexExpansion(InteractionCategory category)Create an instance of bipartite complex expansion that suits the interactionCategoryComplexExpansionMethodcreateComplexExpansionMethod(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)ComplexExpansionMethodcreateMatrixComplexExpansion(InteractionCategory category)Create an instance of matrix complex expansion that suits the interactionCategoryComplexExpansionMethodcreateSpokeComplexExpansion(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:
createComplexExpansionMethodin 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:
createDefaultComplexExpansionin 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:
createSpokeComplexExpansionin 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:
createMatrixComplexExpansionin 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:
createBipartiteComplexExpansionin interfaceComplexExpansionFactory- Parameters:
category- : the type of interactions to deal with (evidence, modelled, mixed,...)- Returns:
- the bipartite complexExpansion instance
-
-