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 StringgetFirstAuthor()Getter for the fieldfirstAuthor.DategetPublicationDate()Getter for the fieldpublicationDate.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorStringtoString()toString
-
-
-
Method Detail
-
getFirstAuthor
public String getFirstAuthor()
Getter for the field
firstAuthor.- Returns:
- a
Stringobject.
-
getPublicationDate
public Date getPublicationDate()
Getter for the field
publicationDate.- Returns:
- a
Dateobject.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-