Class AbstractXmlSource
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlCvTerm
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlSource
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,CvTerm
,Source
,ExtendedPsiXmlSource
- Direct Known Subclasses:
DefaultXmlSource
,XmlSource
public abstract class AbstractXmlSource extends AbstractXmlCvTerm implements ExtendedPsiXmlSource
Desciption of the source of the entry, usually an organisationJava class for source complex type.
The following schema fragment specifies the expected content contained within this class. The JAXB binding is designed to be read-only and is not designed for writing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractXmlSource.JAXBAttributeWrapper
-
Constructor Summary
Constructors Constructor Description AbstractXmlSource()
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String miId)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String fullName, String miId)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String fullName, String miId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String miId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String fullName, Xref ontologyId)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, String fullName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, Xref ontologyId)
Constructor for AbstractXmlSource.AbstractXmlSource(String shortName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractXmlSource.JAXBAttributeWrapper
getAttributeWrapper()
getAttributeWrapper.String
getPostalAddress()
getPostalAddress.Publication
getPublication()
getPublication.String
getRelease()
Gets the value of the release property.XMLGregorianCalendar
getReleaseDate()
Gets the value of the releaseDate property.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.String
getUrl()
getUrl.protected void
initialiseAnnotationWrapper()
initialiseAnnotationWrapper.void
setJAXBAttributeWrapper(AbstractXmlSource.JAXBAttributeWrapper wrapper)
setJAXBAttributeWrapper.void
setJAXBBibRef(BibRef ref)
setJAXBBibRef.void
setJAXBNames(NamesContainer value)
setJAXBNames.void
setJAXBRelease(String value)
setJAXBRelease.void
setJAXBReleaseDate(XMLGregorianCalendar value)
setJAXBReleaseDate.void
setJAXBXref(CvTermXrefContainer value)
setJAXBXref.void
setPostalAddress(String address)
Set the postal addressvoid
setPublication(Publication ref)
Set the bibliographical referencevoid
setRelease(String value)
Sets the value of the release property.void
setReleaseDate(XMLGregorianCalendar value)
Sets the value of the releaseDate property.void
setUrl(String url)
Set the URLString
toString()
toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlCvTerm
equals, getAnnotations, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getNamesContainer, getPARIdentifier, getShortName, getSynonyms, getXrefContainer, getXrefs, hashCode, setAttributeWrapper, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName, setSourceLocator, sourceLocation
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.CvTerm
getAnnotations, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getPARIdentifier, getShortName, getSynonyms, getXrefs, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName
-
-
-
-
Field Detail
-
locator
protected Locator locator
-
-
Constructor Detail
-
AbstractXmlSource
public AbstractXmlSource()
Constructor for AbstractXmlSource.
-
AbstractXmlSource
public AbstractXmlSource(String shortName)
Constructor for AbstractXmlSource.
- Parameters:
shortName
- aString
object.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, Xref ontologyId)
Constructor for AbstractXmlSource.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, String fullName, Xref ontologyId)
Constructor for AbstractXmlSource.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.
- Parameters:
shortName
- aString
object.url
- aString
object.address
- aString
object.bibRef
- aPublication
object.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.
- Parameters:
shortName
- aString
object.ontologyId
- aXref
object.url
- aString
object.address
- aString
object.bibRef
- aPublication
object.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, String fullName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, String miId)
Constructor for AbstractXmlSource.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, String fullName, String miId)
Constructor for AbstractXmlSource.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, String miId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.
- Parameters:
shortName
- aString
object.miId
- aString
object.url
- aString
object.address
- aString
object.bibRef
- aPublication
object.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Overrides:
getSourceLocator
in classAbstractXmlCvTerm
- Returns:
- a
FileSourceLocator
object.
-
getUrl
public String getUrl()
getUrl.
-
setUrl
public void setUrl(String url)
Set the URL
-
getPostalAddress
public String getPostalAddress()
getPostalAddress.
- Specified by:
getPostalAddress
in interfaceSource
- Returns:
- a
String
object.
-
setPostalAddress
public void setPostalAddress(String address)
Set the postal address- Specified by:
setPostalAddress
in interfaceSource
- Parameters:
address
- : postal Address
-
getPublication
public Publication getPublication()
getPublication.
- Specified by:
getPublication
in interfaceSource
- Returns:
- a
Publication
object.
-
setPublication
public void setPublication(Publication ref)
Set the bibliographical reference- Specified by:
setPublication
in interfaceSource
- Parameters:
ref
- : publication reference
-
setJAXBBibRef
public void setJAXBBibRef(BibRef ref)
setJAXBBibRef.
- Parameters:
ref
- aBibRef
object.
-
getRelease
public String getRelease()
Gets the value of the release property.- Specified by:
getRelease
in interfaceExtendedPsiXmlSource
- Returns:
- a
String
object.
-
setRelease
public void setRelease(String value)
Sets the value of the release property. Sets the value of the release property.- Specified by:
setRelease
in interfaceExtendedPsiXmlSource
- Parameters:
value
- allowed object isString
-
setJAXBRelease
public void setJAXBRelease(String value)
setJAXBRelease.
- Parameters:
value
- aString
object.
-
getReleaseDate
public XMLGregorianCalendar getReleaseDate()
Gets the value of the releaseDate property.- Specified by:
getReleaseDate
in interfaceExtendedPsiXmlSource
- Returns:
- a
XMLGregorianCalendar
object.
-
setReleaseDate
public void setReleaseDate(XMLGregorianCalendar value)
Sets the value of the releaseDate property. Sets the value of the releaseDate property.- Specified by:
setReleaseDate
in interfaceExtendedPsiXmlSource
- Parameters:
value
- allowed object isXMLGregorianCalendar
-
setJAXBReleaseDate
public void setJAXBReleaseDate(XMLGregorianCalendar value)
setJAXBReleaseDate.
- Parameters:
value
- aXMLGregorianCalendar
object.
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(AbstractXmlSource.JAXBAttributeWrapper wrapper)
setJAXBAttributeWrapper.
- Parameters:
wrapper
- aAbstractXmlSource.JAXBAttributeWrapper
object.
-
getAttributeWrapper
protected AbstractXmlSource.JAXBAttributeWrapper getAttributeWrapper()
getAttributeWrapper.
- Overrides:
getAttributeWrapper
in classAbstractXmlCvTerm
- Returns:
- a
AbstractXmlCvTerm.JAXBAttributeWrapper
object.
-
initialiseAnnotationWrapper
protected void initialiseAnnotationWrapper()
initialiseAnnotationWrapper.
- Overrides:
initialiseAnnotationWrapper
in classAbstractXmlCvTerm
-
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
-
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.
-
-