Package psidev.psi.mi.jami.tab.extension
Class MitabAlias
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultAlias
-
- psidev.psi.mi.jami.tab.extension.MitabAlias
-
- All Implemented Interfaces:
FileSourceContext
,Alias
public class MitabAlias extends DefaultAlias implements FileSourceContext
Extended alias in MITAB- Since:
07/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Alias
AUTHOR_ASSIGNED_NAME, AUTHOR_ASSIGNED_NAME_MI, COMPLEX_RECOMMENDED_NAME, COMPLEX_RECOMMENDED_NAME_MI, COMPLEX_SYNONYM, COMPLEX_SYNONYM_MI, COMPLEX_SYSTEMATIC_NAME, COMPLEX_SYSTEMATIC_NAME_MI, GENE_NAME, GENE_NAME_MI, GENE_NAME_SYNONYM, GENE_NAME_SYNONYM_MI, ISOFORM_SYNONYM, ISOFORM_SYNONYM_MI, IUPAC, IUPAC_MI, LOCUS_NAME, LOCUS_NAME_MI, ORF_NAME, ORF_NAME_MI, SYNONYM, SYNONYM_MI
-
-
Constructor Summary
Constructors Constructor Description MitabAlias(String dbSource, String name)
Constructor for MitabAlias.MitabAlias(String dbSource, String name, String type)
Constructor for MitabAlias.MitabAlias(String dbSource, String name, FileSourceLocator locator)
Constructor for MitabAlias.MitabAlias(String dbSource, CvTerm type, String name)
Constructor for MitabAlias.MitabAlias(String dbSource, CvTerm type, String name, FileSourceLocator locator)
Constructor for MitabAlias.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDbSource()
Getter for the fielddbSource
.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.DefaultAlias
equals, getName, getType, hashCode
-
-
-
-
Constructor Detail
-
MitabAlias
public MitabAlias(String dbSource, CvTerm type, String name)
Constructor for MitabAlias.
-
MitabAlias
public MitabAlias(String dbSource, String name, String type)
Constructor for MitabAlias.
-
MitabAlias
public MitabAlias(String dbSource, CvTerm type, String name, FileSourceLocator locator)
Constructor for MitabAlias.
- Parameters:
dbSource
- aString
object.type
- aCvTerm
object.name
- aString
object.locator
- aFileSourceLocator
object.
-
MitabAlias
public MitabAlias(String dbSource, String name, FileSourceLocator locator)
Constructor for MitabAlias.
- Parameters:
dbSource
- aString
object.name
- aString
object.locator
- aFileSourceLocator
object.
-
-
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 classDefaultAlias
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-