Class XmlXref
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.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 class
XmlXref.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 boolean
equals(Object o)
List<Annotation>
getAnnotations()
getAnnotations.CvTerm
getDatabase()
Getter for the fielddatabase
.String
getId()
Getter for the fieldid
.CvTerm
getQualifier()
Getter for the fieldqualifier
.String
getSecondary()
Getter for the fieldsecondary
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.String
getVersion()
Getter for the fieldversion
.int
hashCode()
void
setJAXBAttributeWrapper(XmlXref.JAXBAttributeWrapper wrapper)
Gets the value of the attributeList property.void
setJAXBDb(String value)
Sets the value of the db property.void
setJAXBDbAc(String value)
Sets the value of the dbAc property.void
setJAXBId(String value)
Sets the value of the id property.void
setJAXBRefType(String value)
Sets the value of the refType property.void
setJAXBRefTypeAc(String value)
Sets the value of the refTypeAc property.void
setJAXBVersion(String value)
Sets the value of the version property.void
setSecondary(String value)
setSecondary.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
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:
getDatabase
in interfaceXref
- Returns:
- a
CvTerm
object.
-
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:
getVersion
in interfaceXref
- Returns:
- a
String
object.
-
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:
getQualifier
in interfaceXref
- Returns:
- a
CvTerm
object.
-
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:
getSecondary
in interfaceExtendedPsiXmlXref
- Returns:
- a
String
object.
-
setSecondary
public void setSecondary(String value)
setSecondary.
Sets the value of the secondary property.- Specified by:
setSecondary
in interfaceExtendedPsiXmlXref
- Parameters:
value
- aString
object.
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(XmlXref.JAXBAttributeWrapper wrapper)
Gets the value of the attributeList property.- Parameters:
wrapper
- aXmlXref.JAXBAttributeWrapper
object.
-
getAnnotations
public List<Annotation> getAnnotations()
getAnnotations.
- Specified by:
getAnnotations
in interfaceExtendedPsiXmlXref
- Returns:
- a
List
object.
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-