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 classAbstractXmlSource.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.JAXBAttributeWrappergetAttributeWrapper()getAttributeWrapper.StringgetPostalAddress()getPostalAddress.PublicationgetPublication()getPublication.StringgetRelease()Gets the value of the release property.XMLGregorianCalendargetReleaseDate()Gets the value of the releaseDate property.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.StringgetUrl()getUrl.protected voidinitialiseAnnotationWrapper()initialiseAnnotationWrapper.voidsetJAXBAttributeWrapper(AbstractXmlSource.JAXBAttributeWrapper wrapper)setJAXBAttributeWrapper.voidsetJAXBBibRef(BibRef ref)setJAXBBibRef.voidsetJAXBNames(NamesContainer value)setJAXBNames.voidsetJAXBRelease(String value)setJAXBRelease.voidsetJAXBReleaseDate(XMLGregorianCalendar value)setJAXBReleaseDate.voidsetJAXBXref(CvTermXrefContainer value)setJAXBXref.voidsetPostalAddress(String address)Set the postal addressvoidsetPublication(Publication ref)Set the bibliographical referencevoidsetRelease(String value)Sets the value of the release property.voidsetReleaseDate(XMLGregorianCalendar value)Sets the value of the releaseDate property.voidsetUrl(String url)Set the URLStringtoString()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- aStringobject.
-
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- aStringobject.url- aStringobject.address- aStringobject.bibRef- aPublicationobject.
-
AbstractXmlSource
public AbstractXmlSource(String shortName, Xref ontologyId, String url, String address, Publication bibRef)
Constructor for AbstractXmlSource.
- Parameters:
shortName- aStringobject.ontologyId- aXrefobject.url- aStringobject.address- aStringobject.bibRef- aPublicationobject.
-
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- aStringobject.miId- aStringobject.url- aStringobject.address- aStringobject.bibRef- aPublicationobject.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Overrides:
getSourceLocatorin classAbstractXmlCvTerm- Returns:
- a
FileSourceLocatorobject.
-
getUrl
public String getUrl()
getUrl.
-
setUrl
public void setUrl(String url)
Set the URL
-
getPostalAddress
public String getPostalAddress()
getPostalAddress.
- Specified by:
getPostalAddressin interfaceSource- Returns:
- a
Stringobject.
-
setPostalAddress
public void setPostalAddress(String address)
Set the postal address- Specified by:
setPostalAddressin interfaceSource- Parameters:
address- : postal Address
-
getPublication
public Publication getPublication()
getPublication.
- Specified by:
getPublicationin interfaceSource- Returns:
- a
Publicationobject.
-
setPublication
public void setPublication(Publication ref)
Set the bibliographical reference- Specified by:
setPublicationin interfaceSource- Parameters:
ref- : publication reference
-
setJAXBBibRef
public void setJAXBBibRef(BibRef ref)
setJAXBBibRef.
- Parameters:
ref- aBibRefobject.
-
getRelease
public String getRelease()
Gets the value of the release property.- Specified by:
getReleasein interfaceExtendedPsiXmlSource- Returns:
- a
Stringobject.
-
setRelease
public void setRelease(String value)
Sets the value of the release property. Sets the value of the release property.- Specified by:
setReleasein interfaceExtendedPsiXmlSource- Parameters:
value- allowed object isString
-
setJAXBRelease
public void setJAXBRelease(String value)
setJAXBRelease.
- Parameters:
value- aStringobject.
-
getReleaseDate
public XMLGregorianCalendar getReleaseDate()
Gets the value of the releaseDate property.- Specified by:
getReleaseDatein interfaceExtendedPsiXmlSource- Returns:
- a
XMLGregorianCalendarobject.
-
setReleaseDate
public void setReleaseDate(XMLGregorianCalendar value)
Sets the value of the releaseDate property. Sets the value of the releaseDate property.- Specified by:
setReleaseDatein interfaceExtendedPsiXmlSource- Parameters:
value- allowed object isXMLGregorianCalendar
-
setJAXBReleaseDate
public void setJAXBReleaseDate(XMLGregorianCalendar value)
setJAXBReleaseDate.
- Parameters:
value- aXMLGregorianCalendarobject.
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(AbstractXmlSource.JAXBAttributeWrapper wrapper)
setJAXBAttributeWrapper.
- Parameters:
wrapper- aAbstractXmlSource.JAXBAttributeWrapperobject.
-
getAttributeWrapper
protected AbstractXmlSource.JAXBAttributeWrapper getAttributeWrapper()
getAttributeWrapper.
- Overrides:
getAttributeWrapperin classAbstractXmlCvTerm- Returns:
- a
AbstractXmlCvTerm.JAXBAttributeWrapperobject.
-
initialiseAnnotationWrapper
protected void initialiseAnnotationWrapper()
initialiseAnnotationWrapper.
- Overrides:
initialiseAnnotationWrapperin classAbstractXmlCvTerm
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin 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:
setJAXBNamesin classAbstractXmlCvTerm- Parameters:
value- aNamesContainerobject.
-
setJAXBXref
public void setJAXBXref(CvTermXrefContainer value)
setJAXBXref.
Sets the value of the xrefContainer property.- Overrides:
setJAXBXrefin classAbstractXmlCvTerm- Parameters:
value- aCvTermXrefContainerobject.
-
-