// // 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 javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * Describes the evidence for an annotation. * No flat file equivalent. * * <p>Java class for evidenceType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="evidenceType"&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;sequence&gt; * &lt;element name="source" type="{http://uniprot.org/uniprot}sourceType" minOccurs="0"/&gt; * &lt;element name="importedFrom" type="{http://uniprot.org/uniprot}importedFromType" minOccurs="0"/&gt; * &lt;/sequence&gt; * &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; * &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "evidenceType", propOrder = { "source", "importedFrom" }) public class EvidenceType { protected SourceType source; protected ImportedFromType importedFrom; @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "key", required = true) protected BigInteger key; /** * Gets the value of the source property. * * @return * possible object is * {@link SourceType } * */ public SourceType getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link SourceType } * */ public void setSource(SourceType value) { this.source = value; } /** * Gets the value of the importedFrom property. * * @return * possible object is * {@link ImportedFromType } * */ public ImportedFromType getImportedFrom() { return importedFrom; } /** * Sets the value of the importedFrom property. * * @param value * allowed object is * {@link ImportedFromType } * */ public void setImportedFrom(ImportedFromType value) { this.importedFrom = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the key property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link BigInteger } * */ public void setKey(BigInteger value) { this.key = value; } }