Class AbstractXmlConfidence
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlConfidence
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext,Confidence
- Direct Known Subclasses:
XmlConfidence,XmlModelledConfidence
public abstract class AbstractXmlConfidence extends Object implements Confidence, FileSourceContext, com.sun.xml.bind.Locatable
abstract Xml implementation of confidence- Since:
19/07/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 AbstractXmlConfidence()Constructor for AbstractXmlConfidence.AbstractXmlConfidence(CvTerm type, String value)Constructor for AbstractXmlConfidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.CvTermgetType()Gets the value of the type property.StringgetValue()Getter for the fieldvalue.inthashCode()voidsetJAXBType(XmlOpenCvTerm value)Sets the value of the type property.voidsetJAXBValue(String value)Sets the value of the value property.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString
-
-
-
Method Detail
-
getType
public CvTerm getType()
Gets the value of the type property.- Specified by:
getTypein interfaceConfidence- Returns:
- a
CvTermobject.
-
getValue
public String getValue()
Getter for the field
value.- Specified by:
getValuein interfaceConfidence- Returns:
- a
Stringobject.
-
setJAXBValue
public void setJAXBValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
setJAXBType
public void setJAXBType(XmlOpenCvTerm value)
Sets the value of the type property.- Parameters:
value- allowed object isXmlOpenCvTerm
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-