Class XmlCvTerm
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlCvTerm
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlCvTerm
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,CvTerm
- Direct Known Subclasses:
ExperimentalCvTerm
public class XmlCvTerm extends AbstractXmlCvTerm
Xml implementation of CvTerm. Does not 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 XmlCvTerm()
Constructor for XmlCvTerm.XmlCvTerm(String shortName)
Constructor for XmlCvTerm.XmlCvTerm(String shortName, String miIdentifier)
Constructor for XmlCvTerm.XmlCvTerm(String shortName, String fullName, String miIdentifier)
Constructor for XmlCvTerm.XmlCvTerm(String shortName, String fullName, Xref ontologyId)
Constructor for XmlCvTerm.XmlCvTerm(String shortName, Xref ontologyId)
Constructor for XmlCvTerm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.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
-
XmlCvTerm
public XmlCvTerm()
Constructor for XmlCvTerm.
-
XmlCvTerm
public XmlCvTerm(String shortName)
Constructor for XmlCvTerm.
- Parameters:
shortName
- aString
object.
-
XmlCvTerm
public XmlCvTerm(String shortName, String fullName, String miIdentifier)
Constructor for XmlCvTerm.
-
-
Method Detail
-
setJAXBNames
public void setJAXBNames(NamesContainer value)
setJAXBNames.
- Overrides:
setJAXBNames
in classAbstractXmlCvTerm
- Parameters:
value
- aNamesContainer
object.
-
setJAXBXref
public void setJAXBXref(CvTermXrefContainer value)
setJAXBXref.
- Overrides:
setJAXBXref
in classAbstractXmlCvTerm
- Parameters:
value
- aCvTermXrefContainer
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
-
-