Package psidev.psi.mi.jami.tab.extension
Class MitabChecksum
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultChecksum
-
- psidev.psi.mi.jami.tab.extension.MitabChecksum
-
- All Implemented Interfaces:
FileSourceContext
,Checksum
public class MitabChecksum extends DefaultChecksum implements FileSourceContext
Mitab extension for Checksum. It contains a file sourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Checksum
CHECKSUM_MI, CHECKUM, INCHI, INCHI_KEY, INCHI_KEY_MI, INCHI_MI, INCHI_SHORT, IRIGID, IROGID, RIGID, RIGID_MI, ROGID, ROGID_MI, SMILE, SMILE_MI, SMILE_SHORT, STANDARD_INCHI_KEY, STANDARD_INCHI_KEY_MI
-
-
Constructor Summary
Constructors Constructor Description MitabChecksum(String method, String value)
Constructor for MitabChecksum.MitabChecksum(CvTerm method, String value)
Constructor for MitabChecksum.MitabChecksum(CvTerm method, String value, FileSourceLocator locator)
Constructor for MitabChecksum.
-
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.DefaultChecksum
equals, getMethod, getValue, hashCode
-
-
-
-
Constructor Detail
-
MitabChecksum
public MitabChecksum(CvTerm method, String value, FileSourceLocator locator)
Constructor for MitabChecksum.
- Parameters:
method
- aCvTerm
object.value
- 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 classDefaultChecksum
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-