Package psidev.psi.mi.jami.tab.extension
Class MitabPublication
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultPublication
-
- psidev.psi.mi.jami.tab.extension.MitabPublication
-
- All Implemented Interfaces:
FileSourceContext
,Publication
public class MitabPublication extends DefaultPublication implements FileSourceContext
Mitab extension of Publication. It contains a FileSourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabPublication()
Constructor for MitabPublication.MitabPublication(String pubmed)
Constructor for MitabPublication.MitabPublication(String title, String journal, Date publicationDate)
Constructor for MitabPublication.MitabPublication(String title, String journal, Date publicationDate, String imexId, Source source)
Constructor for MitabPublication.MitabPublication(String title, String journal, Date publicationDate, CurationDepth curationDepth, Source source)
Constructor for MitabPublication.MitabPublication(String pubmed, String imexId, Source source)
Constructor for MitabPublication.MitabPublication(String pubmed, CurationDepth curationDepth, Source source)
Constructor for MitabPublication.MitabPublication(Xref identifier)
Constructor for MitabPublication.MitabPublication(Xref identifier, String imexId, Source source)
Constructor for MitabPublication.MitabPublication(Xref identifier, CurationDepth curationDepth, Source source)
Constructor for MitabPublication.
-
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.DefaultPublication
addAllExperiments, addExperiment, assignImexId, clearPropertiesLinkedToIdentifiers, clearPropertiesLinkedToXrefs, getAnnotations, getAuthors, getCurationDepth, getDoi, getExperiments, getIdentifiers, getImexId, getJournal, getPublicationDate, getPubmedId, getReleasedDate, getSource, getTitle, getXrefs, initialiseAnnotations, initialiseAnnotationsWith, initialiseAuthors, initialiseAuthorsWith, initialiseExperiments, initialiseExperimentsWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseXrefs, initialiseXrefsWith, processAddedIdentifierEvent, processAddedXrefEvent, processRemovedIdentifierEvent, processRemovedXrefEvent, removeAllExperiments, removeExperiment, setCurationDepth, setDoi, setJournal, setPublicationDate, setPubmedId, setReleasedDate, setSource, setTitle
-
-
-
-
Constructor Detail
-
MitabPublication
public MitabPublication()
Constructor for MitabPublication.
-
MitabPublication
public MitabPublication(Xref identifier)
Constructor for MitabPublication.
- Parameters:
identifier
- aXref
object.
-
MitabPublication
public MitabPublication(Xref identifier, CurationDepth curationDepth, Source source)
Constructor for MitabPublication.
- Parameters:
identifier
- aXref
object.curationDepth
- aCurationDepth
object.source
- aSource
object.
-
MitabPublication
public MitabPublication(Xref identifier, String imexId, Source source)
Constructor for MitabPublication.
-
MitabPublication
public MitabPublication(String pubmed)
Constructor for MitabPublication.
- Parameters:
pubmed
- aString
object.
-
MitabPublication
public MitabPublication(String pubmed, CurationDepth curationDepth, Source source)
Constructor for MitabPublication.
- Parameters:
pubmed
- aString
object.curationDepth
- aCurationDepth
object.source
- aSource
object.
-
MitabPublication
public MitabPublication(String pubmed, String imexId, Source source)
Constructor for MitabPublication.
-
MitabPublication
public MitabPublication(String title, String journal, Date publicationDate)
Constructor for MitabPublication.
-
MitabPublication
public MitabPublication(String title, String journal, Date publicationDate, CurationDepth curationDepth, Source source)
Constructor for MitabPublication.
- Parameters:
title
- aString
object.journal
- aString
object.publicationDate
- aDate
object.curationDepth
- aCurationDepth
object.source
- aSource
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 classDefaultPublication
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-