Package psidev.psi.mi.jami.tab.extension
Class MitabOrganism
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultOrganism
-
- psidev.psi.mi.jami.tab.extension.MitabOrganism
-
- All Implemented Interfaces:
FileSourceContext
,Organism
public class MitabOrganism extends DefaultOrganism implements FileSourceContext
Mitab extension of Organism. It contains a FileSourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabOrganism(int taxId)
Constructor for MitabOrganism.MitabOrganism(int taxId, String commonName)
Constructor for MitabOrganism.MitabOrganism(int taxId, String commonName, String scientificName)
Constructor for MitabOrganism.MitabOrganism(int taxId, String commonName, String scientificName, CvTerm cellType, CvTerm tissue, CvTerm compartment)
Constructor for MitabOrganism.MitabOrganism(int taxId, String commonName, CvTerm cellType, CvTerm tissue, CvTerm compartment)
Constructor for MitabOrganism.MitabOrganism(int taxId, CvTerm cellType, CvTerm tissue, CvTerm compartment)
Constructor for MitabOrganism.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorString
toString()
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultOrganism
equals, getAliases, getCellType, getCommonName, getCompartment, getScientificName, getTaxId, getTissue, hashCode, initialiseAliases, initialiseAliasesWith, setCellType, setCommonName, setCompartment, setScientificName, setTaxId, setTissue
-
-
-
-
Constructor Detail
-
MitabOrganism
public MitabOrganism(int taxId)
Constructor for MitabOrganism.
- Parameters:
taxId
- a int.
-
MitabOrganism
public MitabOrganism(int taxId, String commonName)
Constructor for MitabOrganism.
- Parameters:
taxId
- a int.commonName
- aString
object.
-
MitabOrganism
public MitabOrganism(int taxId, String commonName, String scientificName)
Constructor for MitabOrganism.
-
MitabOrganism
public MitabOrganism(int taxId, CvTerm cellType, CvTerm tissue, CvTerm compartment)
Constructor for MitabOrganism.
-
MitabOrganism
public MitabOrganism(int taxId, String commonName, CvTerm cellType, CvTerm tissue, CvTerm compartment)
Constructor for MitabOrganism.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
toString
public String toString()
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classDefaultOrganism
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-