Package psidev.psi.mi.jami.tab.extension
Class MitabConfidence
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultConfidence
-
- psidev.psi.mi.jami.model.impl.DefaultModelledConfidence
-
- psidev.psi.mi.jami.tab.extension.MitabConfidence
-
- All Implemented Interfaces:
FileSourceContext,Confidence,ModelledConfidence
public class MitabConfidence extends DefaultModelledConfidence implements FileSourceContext
A MitabConfidence is a confidence with some text- Since:
10/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Confidence
AUTHOR_BASED_CONFIDENCE, AUTHOR_BASED_CONFIDENCE_MI
-
-
Constructor Summary
Constructors Constructor Description MitabConfidence(String type, String value, String text)Constructor for MitabConfidence.MitabConfidence(CvTerm type, String value)Constructor for MitabConfidence.MitabConfidence(CvTerm type, String value, String text)Constructor for MitabConfidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.StringgetText()Getter for the fieldtext.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorStringtoString()-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultModelledConfidence
getPublication, setPublication
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultConfidence
equals, getType, getValue, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Confidence
getType, getValue
-
-
-
-
Method Detail
-
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()
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classDefaultConfidence- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-