Class XmlOpenCvTerm
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlCvTerm
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlOpenCvTerm
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,CvTerm
public class XmlOpenCvTerm extends AbstractXmlCvTerm
Xml implementation of CvTerm. Does write annotations The JAXB binding is designed to be read-only and is not designed for writing- Since:
18/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlCvTerm
AbstractXmlCvTerm.JAXBAttributeWrapper
-
-
Constructor Summary
Constructors Constructor Description XmlOpenCvTerm()
Constructor for XmlOpenCvTerm.XmlOpenCvTerm(String shortName)
Constructor for XmlOpenCvTerm.XmlOpenCvTerm(String shortName, String miIdentifier)
Constructor for XmlOpenCvTerm.XmlOpenCvTerm(String shortName, String fullName, String miIdentifier)
Constructor for XmlOpenCvTerm.XmlOpenCvTerm(String shortName, String fullName, Xref ontologyId)
Constructor for XmlOpenCvTerm.XmlOpenCvTerm(String shortName, Xref ontologyId)
Constructor for XmlOpenCvTerm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setJAXBAttributeWrapper(AbstractXmlCvTerm.JAXBAttributeWrapper wrapper)
setJAXBAttributeWrapper.void
setJAXBNames(NamesContainer value)
setJAXBNames.void
setJAXBXref(CvTermXrefContainer value)
setJAXBXref.String
toString()
toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlCvTerm
equals, getAnnotations, getAttributeWrapper, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getNamesContainer, getPARIdentifier, getShortName, getSynonyms, getXrefContainer, getXrefs, hashCode, initialiseAnnotationWrapper, setAttributeWrapper, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName, setSourceLocator, sourceLocation
-
-
-
-
Constructor Detail
-
XmlOpenCvTerm
public XmlOpenCvTerm()
Constructor for XmlOpenCvTerm.
-
XmlOpenCvTerm
public XmlOpenCvTerm(String shortName)
Constructor for XmlOpenCvTerm.
- Parameters:
shortName
- aString
object.
-
XmlOpenCvTerm
public XmlOpenCvTerm(String shortName, String miIdentifier)
Constructor for XmlOpenCvTerm.
-
XmlOpenCvTerm
public XmlOpenCvTerm(String shortName, String fullName, String miIdentifier)
Constructor for XmlOpenCvTerm.
-
XmlOpenCvTerm
public XmlOpenCvTerm(String shortName, Xref ontologyId)
Constructor for XmlOpenCvTerm.
-
-
Method Detail
-
setJAXBNames
public void setJAXBNames(NamesContainer value)
setJAXBNames.
Sets the value of the names property.- Overrides:
setJAXBNames
in classAbstractXmlCvTerm
- Parameters:
value
- aNamesContainer
object.
-
setJAXBXref
public void setJAXBXref(CvTermXrefContainer value)
setJAXBXref.
Sets the value of the xrefContainer property.- Overrides:
setJAXBXref
in classAbstractXmlCvTerm
- Parameters:
value
- aCvTermXrefContainer
object.
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(AbstractXmlCvTerm.JAXBAttributeWrapper wrapper)
setJAXBAttributeWrapper.
- Parameters:
wrapper
- a JAXBAttributeWrapper object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Overrides:
getSourceLocator
in classAbstractXmlCvTerm
- Returns:
- a
FileSourceLocator
object.
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classAbstractXmlCvTerm
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-