//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2019.04.05 at 08:01:44 AM BST 
//

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">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="source" type="{http://uniprot.org/uniprot}sourceType" minOccurs="0"/>
 *         &lt;element name="importedFrom" type="{http://uniprot.org/uniprot}importedFromType" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </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;
  }

}
