Class AbstractXmlConfidence
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.AbstractXmlConfidence
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,Confidence
- Direct Known Subclasses:
XmlConfidence
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 boolean
equals(Object o)
FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.CvTerm
getType()
Gets the value of the type property.String
getValue()
Getter for the fieldvalue
.int
hashCode()
void
setJAXBType(XmlOpenCvTerm value)
Sets the value of the type property.void
setJAXBValue(String value)
Sets the value of the value property.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
toString
-
-
-
Method Detail
-
getType
public CvTerm getType()
Gets the value of the type property.- Specified by:
getType
in interfaceConfidence
- Returns:
- a
CvTerm
object.
-
getValue
public String getValue()
Getter for the field
value
.- Specified by:
getValue
in interfaceConfidence
- Returns:
- a
String
object.
-
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:
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
-
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
-
-