Class XmlCooperativityEvidence
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.XmlCooperativityEvidence
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,CooperativityEvidence
public class XmlCooperativityEvidence extends Object implements CooperativityEvidence, FileSourceContext, com.sun.xml.bind.Locatable
Xml 3.0 implementation for cooperativity evidence- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmlCooperativityEvidence.JAXBEvidenceMethodWrapper
-
Constructor Summary
Constructors Constructor Description XmlCooperativityEvidence()
Constructor for XmlCooperativityEvidence.XmlCooperativityEvidence(Publication pub)
Constructor for XmlCooperativityEvidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Collection<CvTerm>
getEvidenceMethods()
getEvidenceMethods.Publication
getPublication()
Getter for the fieldpublication
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.int
hashCode()
protected void
initialiseEvidenceMethods()
initialiseEvidenceMethods.void
setJAXBEvidenceMethodWrapper(XmlCooperativityEvidence.JAXBEvidenceMethodWrapper wrapper)
setJAXBEvidenceMethodWrapper.void
setJAXBPublication(BibRef bibRef)
setJAXBPublication.void
setPublication(Publication publication)
Set the publication where the cooperativityEvidence has been described.void
setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
toString
-
-
-
Constructor Detail
-
XmlCooperativityEvidence
public XmlCooperativityEvidence()
Constructor for XmlCooperativityEvidence.
-
XmlCooperativityEvidence
public XmlCooperativityEvidence(Publication pub)
Constructor for XmlCooperativityEvidence.
- Parameters:
pub
- aPublication
object.
-
-
Method Detail
-
getPublication
public Publication getPublication()
Getter for the field
publication
.- Specified by:
getPublication
in interfaceCooperativityEvidence
- Returns:
- a
Publication
object.
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
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
-
setSourceLocation
public void setSourceLocation(PsiXmlLocator sourceLocator)
setSourceLocation.
- Parameters:
sourceLocator
- 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.
-
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()
getEvidenceMethods.
- Specified by:
getEvidenceMethods
in interfaceCooperativityEvidence
- Returns:
- a
Collection
object.
-
setJAXBPublication
public void setJAXBPublication(BibRef bibRef)
setJAXBPublication.
- Parameters:
bibRef
- aBibRef
object.
-
setJAXBEvidenceMethodWrapper
public void setJAXBEvidenceMethodWrapper(XmlCooperativityEvidence.JAXBEvidenceMethodWrapper wrapper)
setJAXBEvidenceMethodWrapper.
- Parameters:
wrapper
- aXmlCooperativityEvidence.JAXBEvidenceMethodWrapper
object.
-
-