// // 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.math.BigInteger; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for positionType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="positionType"&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;attribute name="position" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /&gt; * &lt;attribute name="status" default="certain"&gt; * &lt;simpleType&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; * &lt;enumeration value="certain"/&gt; * &lt;enumeration value="uncertain"/&gt; * &lt;enumeration value="less than"/&gt; * &lt;enumeration value="greater than"/&gt; * &lt;enumeration value="unknown"/&gt; * &lt;/restriction&gt; * &lt;/simpleType&gt; * &lt;/attribute&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 = "positionType") public class PositionType { @XmlAttribute(name = "position") @XmlSchemaType(name = "unsignedLong") protected BigInteger position; @XmlAttribute(name = "status") protected String status; @XmlAttribute(name = "evidence") protected List evidence; /** * Gets the value of the position property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getPosition() { return position; } /** * Sets the value of the position property. * * @param value * allowed object is * {@link BigInteger } * */ public void setPosition(BigInteger value) { this.position = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public String getStatus() { if (status == null) { return "certain"; } else { return status; } } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = 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; } }