Class XmlCooperativityEvidence
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlCooperativityEvidence
-
- All Implemented Interfaces:
FileSourceContext
,CooperativityEvidence
public class XmlCooperativityEvidence extends Object implements CooperativityEvidence, FileSourceContext
Xml implementation for cooperativity evidence- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlCooperativityEvidence(Experiment exp)
Constructor for XmlCooperativityEvidence.
-
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
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.int
hashCode()
protected void
initialiseEvidenceMethods()
initialiseEvidenceMethods.protected void
initialiseEvidenceMethodsWith(Collection<CvTerm> methods)
initialiseEvidenceMethodsWith.void
setPublication(Publication publication)
Set the publication where the cooperativityEvidence has been described.void
setSourceLocator(FileSourceLocator locator)
Sets the source locatorvoid
setSourceLocator(PsiXmlLocator locator)
Setter for the fieldsourceLocator
.String
toString()
toString
-
-
-
Constructor Detail
-
XmlCooperativityEvidence
public XmlCooperativityEvidence(Experiment exp)
Constructor for XmlCooperativityEvidence.
- Parameters:
exp
- aExperiment
object.
-
-
Method Detail
-
getPublication
public Publication getPublication()
Getter for the field
publication
.- Specified by:
getPublication
in interfaceCooperativityEvidence
- Returns:
- a
Publication
object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator locator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
locator
- : the file locator
-
setSourceLocator
public void setSourceLocator(PsiXmlLocator locator)
Setter for the field
sourceLocator
.- Parameters:
locator
- aPsiXmlLocator
object.
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
initialiseEvidenceMethods
protected void initialiseEvidenceMethods()
initialiseEvidenceMethods.
-
initialiseEvidenceMethodsWith
protected void initialiseEvidenceMethodsWith(Collection<CvTerm> methods)
initialiseEvidenceMethodsWith.
- Parameters:
methods
- aCollection
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.
-
-