Class XmlInteractorFactory
- java.lang.Object
-
- psidev.psi.mi.jami.factory.DefaultInteractorFactory
-
- psidev.psi.mi.jami.xml.model.extension.factory.XmlInteractorFactory
-
- All Implemented Interfaces:
InteractorFactory
public class XmlInteractorFactory extends DefaultInteractorFactory
Interactor factory for XML interactors- Since:
24/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlInteractorFactory()Constructor for XmlInteractorFactory.XmlInteractorFactory(InteractorFactory delegate)Constructor for XmlInteractorFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BioactiveEntitycreateBioactiveEntity(String name, CvTerm type)Creates a new BioactiveEntity with the name and interactor typeComplexcreateComplex(String name, CvTerm type)Creates a new Complex with the name and interactor typeGenecreateGene(String name)Creates a new Gene with the nameInteractorcreateInteractor(String name, CvTerm type)Creates a default interactor from the name and interactor typeInteractorcreateInteractorFromXmlInteractorInstance(AbstractBaseXmlInteractor source)createInteractorFromXmlInteractorInstance.InteractorPoolcreateInteractorSet(String name, CvTerm type)Creates an interactor pool from the name and interactor typeNucleicAcidcreateNucleicAcid(String name, CvTerm type)Creates a new NucleicAcid with the name and interactor typePolymercreatePolymer(String name, CvTerm type)Creates a new Polymer with the name and interactor typeProteincreateProtein(String name, CvTerm type)Creates a new Protein with the name and interactor type-
Methods inherited from class psidev.psi.mi.jami.factory.DefaultInteractorFactory
createInteractorFromDatabase, createInteractorFromIdentityXrefs, createInteractorFromInteractorType, createInteractorFromRecognizedCategory, extractCvTermFromKey, initialiseDeterministicInteractorMaps, loadProperties
-
-
-
-
Constructor Detail
-
XmlInteractorFactory
public XmlInteractorFactory()
Constructor for XmlInteractorFactory.
-
XmlInteractorFactory
public XmlInteractorFactory(InteractorFactory delegate)
Constructor for XmlInteractorFactory.
- Parameters:
delegate- aInteractorFactoryobject.
-
-
Method Detail
-
createProtein
public Protein createProtein(String name, CvTerm type)
Creates a new Protein with the name and interactor type Creates a new Protein with the name and interactor type- Specified by:
createProteinin interfaceInteractorFactory- Overrides:
createProteinin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created protein
-
createNucleicAcid
public NucleicAcid createNucleicAcid(String name, CvTerm type)
Creates a new NucleicAcid with the name and interactor type Creates a new NucleicAcid with the name and interactor type- Specified by:
createNucleicAcidin interfaceInteractorFactory- Overrides:
createNucleicAcidin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created nucleic acid
-
createGene
public Gene createGene(String name)
Creates a new Gene with the name Creates a new Gene with the name- Specified by:
createGenein interfaceInteractorFactory- Overrides:
createGenein classDefaultInteractorFactory- Parameters:
name- : name- Returns:
- created gene
-
createComplex
public Complex createComplex(String name, CvTerm type)
Creates a new Complex with the name and interactor type Creates a new Complex with the name and interactor type- Specified by:
createComplexin interfaceInteractorFactory- Overrides:
createComplexin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created complex
-
createBioactiveEntity
public BioactiveEntity createBioactiveEntity(String name, CvTerm type)
Creates a new BioactiveEntity with the name and interactor type Creates a new BioactiveEntity with the name and interactor type- Specified by:
createBioactiveEntityin interfaceInteractorFactory- Overrides:
createBioactiveEntityin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created bioactive entity
-
createPolymer
public Polymer createPolymer(String name, CvTerm type)
Creates a new Polymer with the name and interactor type Creates a new Polymer with the name and interactor type- Specified by:
createPolymerin interfaceInteractorFactory- Overrides:
createPolymerin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created polymer
-
createInteractor
public Interactor createInteractor(String name, CvTerm type)
Creates a default interactor from the name and interactor type Creates a default interactor from the name and interactor type- Specified by:
createInteractorin interfaceInteractorFactory- Overrides:
createInteractorin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created default interactor
-
createInteractorSet
public InteractorPool createInteractorSet(String name, CvTerm type)
Creates an interactor pool from the name and interactor type Creates an interactor pool from the name and interactor type- Specified by:
createInteractorSetin interfaceInteractorFactory- Overrides:
createInteractorSetin classDefaultInteractorFactory- Parameters:
name- : short nametype- : interactor type- Returns:
- created interactor pool
-
createInteractorFromXmlInteractorInstance
public Interactor createInteractorFromXmlInteractorInstance(AbstractBaseXmlInteractor source)
createInteractorFromXmlInteractorInstance.
- Parameters:
source- aAbstractXmlInteractorobject.- Returns:
- a
Interactorobject.
-
-