// // This file was generated by the Eclipse Implementation of JAXB, v2.3.3 // See https://eclipse-ee4j.github.io/jaxb-ri // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2022.02.07 at 04:44:21 PM GMT // package jalview.xml.binding.uniprot; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Describes the source organism. * * <p>Java class for organismType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="organismType"&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;sequence&gt; * &lt;element name="name" type="{http://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/&gt; * &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/&gt; * &lt;element name="lineage" minOccurs="0"&gt; * &lt;complexType&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;sequence&gt; * &lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; * &lt;/sequence&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * &lt;/element&gt; * &lt;/sequence&gt; * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "organismType", propOrder = { "name", "dbReference", "lineage" }) public class OrganismType { @XmlElement(required = true) protected List name; @XmlElement(required = true) protected List dbReference; protected OrganismType.Lineage lineage; @XmlAttribute(name = "evidence") protected List evidence; /** * Gets the value of the name property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the name property. * * <p> * For example, to add a new item, do as follows: * <pre> * getName().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link OrganismNameType } * * */ public List getName() { if (name == null) { name = new ArrayList(); } return this.name; } /** * Gets the value of the dbReference property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the dbReference property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDbReference().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link DbReferenceType } * * */ public List getDbReference() { if (dbReference == null) { dbReference = new ArrayList(); } return this.dbReference; } /** * Gets the value of the lineage property. * * @return * possible object is * {@link OrganismType.Lineage } * */ public OrganismType.Lineage getLineage() { return lineage; } /** * Sets the value of the lineage property. * * @param value * allowed object is * {@link OrganismType.Lineage } * */ public void setLineage(OrganismType.Lineage value) { this.lineage = value; } /** * Gets the value of the evidence property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the evidence property. * * <p> * For example, to add a new item, do as follows: * <pre> * getEvidence().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Integer } * * */ public List getEvidence() { if (evidence == null) { evidence = new ArrayList(); } return this.evidence; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;sequence&gt; * &lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; * &lt;/sequence&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "taxon" }) public static class Lineage { @XmlElement(required = true) protected List taxon; /** * Gets the value of the taxon property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the taxon property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTaxon().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getTaxon() { if (taxon == null) { taxon = new ArrayList(); } return this.taxon; } } }