Class XmlXref
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.XmlXref
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext,Xref,ExtendedPsiXmlXref
public class XmlXref extends Object implements ExtendedPsiXmlXref, FileSourceContext, com.sun.xml.bind.Locatable
Refers to a unique object in an external database.Java class for dbReference complex type.
The following schema fragment specifies the expected content contained within this class. The JAXB bindings is designed to be read-only and is not designed for writing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXmlXref.JAXBAttributeWrapper
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Xref
CHAIN_PARENT, CHAIN_PARENT_MI, CHEBI, CHEBI_MI, COMPLEX_PORTAL, COMPLEX_PORTAL_MI, COMPLEX_PRIMARY, COMPLEX_PRIMARY_MI, DDBJ_EMBL_GENBANK, DDBJ_EMBL_GENBANK_MI, DOI, DOI_MI, ENSEMBL, ENSEMBL_GENOMES, ENSEMBL_GENOMES_MI, ENSEMBL_MI, ENTREZ_GENE, ENTREZ_GENE_MI, GO, GO_MI, IDENTITY, IDENTITY_MI, IMEX, IMEX_MI, IMEX_PRIMARY, IMEX_PRIMARY_MI, INTACT_MI, INTERACTOR_SET_QUALIFIER, INTERACTOR_SET_QUALIFIER_MI, INTERPRO, INTERPRO_MI, ISOFORM_PARENT, ISOFORM_PARENT_MI, METHOD_REFERENCE, METHOD_REFERENCE_MI, PRIMARY, PRIMARY_MI, PUBMED, PUBMED_MI, REFSEQ, REFSEQ_MI, RESID, RESID_MI, SECONDARY, SECONDARY_MI, SEE_ALSO, SEE_ALSO_MI, SO, SO_MI, UNIPROTKB, UNIPROTKB_MI, UNIPROTKB_SWISSPROT, UNIPROTKB_SWISSPROT_MI, UNIPROTKB_TREMBL, UNIPROTKB_TREMBL_MI
-
-
Constructor Summary
Constructors Constructor Description XmlXref()Constructor for XmlXref.XmlXref(CvTerm database, String id)Constructor for XmlXref.XmlXref(CvTerm database, String id, String version)Constructor for XmlXref.XmlXref(CvTerm database, String id, String version, CvTerm qualifier)Constructor for XmlXref.XmlXref(CvTerm database, String id, CvTerm qualifier)Constructor for XmlXref.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<Annotation>getAnnotations()getAnnotations.CvTermgetDatabase()Getter for the fielddatabase.StringgetId()Getter for the fieldid.CvTermgetQualifier()Getter for the fieldqualifier.StringgetSecondary()Getter for the fieldsecondary.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.StringgetVersion()Getter for the fieldversion.inthashCode()voidsetJAXBAttributeWrapper(XmlXref.JAXBAttributeWrapper wrapper)Gets the value of the attributeList property.voidsetJAXBDb(String value)Sets the value of the db property.voidsetJAXBDbAc(String value)Sets the value of the dbAc property.voidsetJAXBId(String value)Sets the value of the id property.voidsetJAXBRefType(String value)Sets the value of the refType property.voidsetJAXBRefTypeAc(String value)Sets the value of the refTypeAc property.voidsetJAXBVersion(String value)Sets the value of the version property.voidsetSecondary(String value)setSecondary.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString
-
-
-
Constructor Detail
-
XmlXref
public XmlXref()
Constructor for XmlXref.
-
XmlXref
public XmlXref(CvTerm database, String id, String version, CvTerm qualifier)
Constructor for XmlXref.
-
-
Method Detail
-
getDatabase
public CvTerm getDatabase()
Getter for the field
database.- Specified by:
getDatabasein interfaceXref- Returns:
- a
CvTermobject.
-
getId
public String getId()
Getter for the field
id.
-
setJAXBId
public void setJAXBId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getVersion
public String getVersion()
Getter for the field
version.- Specified by:
getVersionin interfaceXref- Returns:
- a
Stringobject.
-
setJAXBVersion
public void setJAXBVersion(String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getQualifier
public CvTerm getQualifier()
Getter for the field
qualifier.- Specified by:
getQualifierin interfaceXref- Returns:
- a
CvTermobject.
-
setJAXBDb
public void setJAXBDb(String value)
Sets the value of the db property.- Parameters:
value- allowed object isString
-
setJAXBDbAc
public void setJAXBDbAc(String value)
Sets the value of the dbAc property.- Parameters:
value- allowed object isString
-
setJAXBRefType
public void setJAXBRefType(String value)
Sets the value of the refType property.- Parameters:
value- allowed object isString
-
setJAXBRefTypeAc
public void setJAXBRefTypeAc(String value)
Sets the value of the refTypeAc property.- Parameters:
value- allowed object isString
-
getSecondary
public String getSecondary()
Getter for the field
secondary.- Specified by:
getSecondaryin interfaceExtendedPsiXmlXref- Returns:
- a
Stringobject.
-
setSecondary
public void setSecondary(String value)
setSecondary.
Sets the value of the secondary property.- Specified by:
setSecondaryin interfaceExtendedPsiXmlXref- Parameters:
value- aStringobject.
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(XmlXref.JAXBAttributeWrapper wrapper)
Gets the value of the attributeList property.- Parameters:
wrapper- aXmlXref.JAXBAttributeWrapperobject.
-
getAnnotations
public List<Annotation> getAnnotations()
getAnnotations.
- Specified by:
getAnnotationsin interfaceExtendedPsiXmlXref- Returns:
- a
Listobject.
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-