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 FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.String
getText()
Getter for the fieldtext
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorString
toString()
-
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:
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 classDefaultConfidence
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-