Package psidev.psi.mi.jami.tab.extension
Class MitabAuthor
- java.lang.Object
-
- psidev.psi.mi.jami.tab.extension.MitabAuthor
-
- All Implemented Interfaces:
FileSourceContext
public class MitabAuthor extends Object implements FileSourceContext
This class wraps information about the first author found in mitab column 8- Since:
14/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabAuthor(String firstAuthor)
Constructor for MitabAuthor.MitabAuthor(String firstAuthor, String publicationDate)
Constructor for MitabAuthor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFirstAuthor()
Getter for the fieldfirstAuthor
.Date
getPublicationDate()
Getter for the fieldpublicationDate
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorString
toString()
toString
-
-
-
Method Detail
-
getFirstAuthor
public String getFirstAuthor()
Getter for the field
firstAuthor
.- Returns:
- a
String
object.
-
getPublicationDate
public Date getPublicationDate()
Getter for the field
publicationDate
.- Returns:
- a
Date
object.
-
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()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-