Package psidev.psi.mi.jami.tab.extension
Class MitabSource
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultCvTerm
-
- psidev.psi.mi.jami.model.impl.DefaultSource
-
- psidev.psi.mi.jami.tab.extension.MitabSource
-
- All Implemented Interfaces:
FileSourceContext
,CvTerm
,Source
public class MitabSource extends DefaultSource implements FileSourceContext
Mitab extension of DefaultMitabSource It contains a FileSourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabSource(String shortName)
Constructor for MitabSource.MitabSource(String shortName, String miId)
Constructor for MitabSource.MitabSource(String shortName, String fullName, String miId)
Constructor for MitabSource.MitabSource(String shortName, String fullName, String db, String id)
Constructor for MitabSource.MitabSource(String shortName, String fullName, String miId, String url, String address, Publication bibRef)
Constructor for MitabSource.MitabSource(String shortName, String miId, String url, String address, Publication bibRef)
Constructor for MitabSource.MitabSource(String shortName, String url, String address, Publication bibRef)
Constructor for MitabSource.MitabSource(String shortName, String fullName, Xref ontologyId)
Constructor for MitabSource.MitabSource(String shortName, String fullName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for MitabSource.MitabSource(String shortName, Xref ontologyId)
Constructor for MitabSource.MitabSource(String shortName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for MitabSource.
-
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.DefaultSource
clearPropertiesLinkedToAnnotations, getPostalAddress, getPublication, getUrl, initialiseAnnotations, processAddedAnnotationEvent, processRemovedAnnotationEvent, setPostalAddress, setPublication, setUrl
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultCvTerm
clearPropertiesLinkedToIdentifiers, equals, getAnnotations, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getPARIdentifier, getShortName, getSynonyms, getXrefs, hashCode, initialiseAnnotationsWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseSynonyms, initialiseSynonymsWith, initialiseXrefs, initialiseXrefsWith, processAddedIdentifierEvent, processRemovedIdentifierEvent, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.CvTerm
getAnnotations, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getPARIdentifier, getShortName, getSynonyms, getXrefs, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName
-
-
-
-
Constructor Detail
-
MitabSource
public MitabSource(String shortName)
Constructor for MitabSource.
- Parameters:
shortName
- aString
object.
-
MitabSource
public MitabSource(String shortName, String fullName, Xref ontologyId)
Constructor for MitabSource.
-
MitabSource
public MitabSource(String shortName, String url, String address, Publication bibRef)
Constructor for MitabSource.
- Parameters:
shortName
- aString
object.url
- aString
object.address
- aString
object.bibRef
- aPublication
object.
-
MitabSource
public MitabSource(String shortName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for MitabSource.
- Parameters:
shortName
- aString
object.ontologyId
- aXref
object.url
- aString
object.address
- aString
object.bibRef
- aPublication
object.
-
MitabSource
public MitabSource(String shortName, String fullName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for MitabSource.
-
MitabSource
public MitabSource(String shortName, String fullName, String miId)
Constructor for MitabSource.
-
MitabSource
public MitabSource(String shortName, String miId, String url, String address, Publication bibRef)
Constructor for MitabSource.
- Parameters:
shortName
- aString
object.miId
- aString
object.url
- aString
object.address
- aString
object.bibRef
- aPublication
object.
-
MitabSource
public MitabSource(String shortName, String fullName, String miId, String url, String address, Publication bibRef)
Constructor for MitabSource.
-
-
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 classDefaultCvTerm
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-