Package psidev.psi.mi.jami.model.impl
Class DefaultCooperativityEvidence
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultCooperativityEvidence
-
- All Implemented Interfaces:
CooperativityEvidence
public class DefaultCooperativityEvidence extends Object implements CooperativityEvidence
Default implementation for CooperativityEvidence Notes: The equals and hashcode methods have been overridden to be consistent with UnambiguousCooperativityEvidenceComparator- Since:
22/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultCooperativityEvidence(Publication publication)
Constructor for DefaultCooperativityEvidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Collection<CvTerm>
getEvidenceMethods()
Getter for the fieldevidenceMethods
.Publication
getPublication()
Getter for the fieldpublication
.int
hashCode()
protected void
initialiseEvidenceMethods()
initialiseEvidenceMethodsprotected void
initialiseEvidenceMethodsWith(Collection<CvTerm> methods)
initialiseEvidenceMethodsWithvoid
setPublication(Publication publication)
Set the publication where the cooperativityEvidence has been described.String
toString()
-
-
-
Constructor Detail
-
DefaultCooperativityEvidence
public DefaultCooperativityEvidence(Publication publication)
Constructor for DefaultCooperativityEvidence.
- Parameters:
publication
- aPublication
object.
-
-
Method Detail
-
initialiseEvidenceMethods
protected void initialiseEvidenceMethods()
initialiseEvidenceMethods
-
initialiseEvidenceMethodsWith
protected void initialiseEvidenceMethodsWith(Collection<CvTerm> methods)
initialiseEvidenceMethodsWith
- Parameters:
methods
- aCollection
object.
-
getPublication
public Publication getPublication()
Getter for the field
publication
.- Specified by:
getPublication
in interfaceCooperativityEvidence
- Returns:
- a
Publication
object.
-
setPublication
public void setPublication(Publication publication)
Set the publication where the cooperativityEvidence has been described.- Specified by:
setPublication
in interfaceCooperativityEvidence
- Parameters:
publication
- : the publication
-
getEvidenceMethods
public Collection<CvTerm> getEvidenceMethods()
Getter for the field
evidenceMethods
.- Specified by:
getEvidenceMethods
in interfaceCooperativityEvidence
- Returns:
- a
Collection
object.
-
-