Package psidev.psi.mi.jami.model.impl
Class DefaultModelledConfidence
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultConfidence
-
- psidev.psi.mi.jami.model.impl.DefaultModelledConfidence
-
- All Implemented Interfaces:
Confidence
,ModelledConfidence
- Direct Known Subclasses:
MitabConfidence
public class DefaultModelledConfidence extends DefaultConfidence implements ModelledConfidence
Default implementation for ModelledInteraction Notes: The equals and hashcode methods have been overridden to be consistent with UnambiguousConfidenceComparator- Since:
28/02/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 DefaultModelledConfidence(CvTerm type, String value)
Constructor for DefaultModelledConfidence.DefaultModelledConfidence(CvTerm type, String value, Publication publication)
Constructor for DefaultModelledConfidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Publication
getPublication()
Getter for the fieldpublication
.void
setPublication(Publication publication)
Sets the publication of this confidence-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultConfidence
equals, getType, getValue, hashCode, toString
-
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
-
-
-
-
Constructor Detail
-
DefaultModelledConfidence
public DefaultModelledConfidence(CvTerm type, String value)
Constructor for DefaultModelledConfidence.
-
DefaultModelledConfidence
public DefaultModelledConfidence(CvTerm type, String value, Publication publication)
Constructor for DefaultModelledConfidence.
- Parameters:
type
- aCvTerm
object.value
- aString
object.publication
- aPublication
object.
-
-
Method Detail
-
getPublication
public Publication getPublication()
Getter for the field
publication
.- Specified by:
getPublication
in interfaceModelledConfidence
- Returns:
- a
Publication
object.
-
setPublication
public void setPublication(Publication publication)
Sets the publication of this confidence- Specified by:
setPublication
in interfaceModelledConfidence
- Parameters:
publication
- : the publication
-
-