Class XmlChecksum
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultChecksum
-
- psidev.psi.mi.jami.xml.model.extension.XmlChecksum
-
- All Implemented Interfaces:
FileSourceContext,Checksum
public class XmlChecksum extends DefaultChecksum implements FileSourceContext
Xml implementation of a checksum- Since:
24/07/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 XmlChecksum(CvTerm method, String value)Constructor for XmlChecksum.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetSourceLocator(FileSourceLocator locator)Sets the source locatorvoidsetSourceLocator(PsiXmlLocator locator)Setter for the fieldsourceLocator.StringtoString()-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultChecksum
equals, getMethod, getValue, hashCode
-
-
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator locator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
locator- : the file locator
-
setSourceLocator
public void setSourceLocator(PsiXmlLocator locator)
Setter for the field
sourceLocator.- Parameters:
locator- aPsiXmlLocatorobject.
-
toString
public String toString()
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classDefaultChecksum- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-