//
// 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.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;
import javax.xml.bind.annotation.XmlValue;

/**
 * Describes isoforms in 'alternative products' annotations.
 * 
 * <p>
 * Java class for isoformType complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="isoformType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *         &lt;element name="name" maxOccurs="unbounded">
 *           &lt;complexType>
 *             &lt;simpleContent>
 *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 *                 &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
 *               &lt;/extension>
 *             &lt;/simpleContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="sequence">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;attribute name="type" use="required">
 *                   &lt;simpleType>
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       &lt;enumeration value="not described"/>
 *                       &lt;enumeration value="described"/>
 *                       &lt;enumeration value="displayed"/>
 *                       &lt;enumeration value="external"/>
 *                     &lt;/restriction>
 *                   &lt;/simpleType>
 *                 &lt;/attribute>
 *                 &lt;attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="text" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
  name = "isoformType",
  propOrder =
  { "id", "name", "sequence", "text" })
public class IsoformType
{

  @XmlElement(required = true)
  protected List<String> id;

  @XmlElement(required = true)
  protected List<IsoformType.Name> name;

  @XmlElement(required = true)
  protected IsoformType.Sequence sequence;

  protected List<EvidencedStringType> text;

  /**
   * Gets the value of the id 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 id property.
   * 
   * <p>
   * For example, to add a new item, do as follows:
   * 
   * <pre>
   * getId().add(newItem);
   * </pre>
   * 
   * 
   * <p>
   * Objects of the following type(s) are allowed in the list {@link String }
   * 
   * 
   */
  public List<String> getId()
  {
    if (id == null)
    {
      id = new ArrayList<String>();
    }
    return this.id;
  }

  /**
   * 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 IsoformType.Name }
   * 
   * 
   */
  public List<IsoformType.Name> getName()
  {
    if (name == null)
    {
      name = new ArrayList<IsoformType.Name>();
    }
    return this.name;
  }

  /**
   * Gets the value of the sequence property.
   * 
   * @return possible object is {@link IsoformType.Sequence }
   * 
   */
  public IsoformType.Sequence getSequence()
  {
    return sequence;
  }

  /**
   * Sets the value of the sequence property.
   * 
   * @param value
   *          allowed object is {@link IsoformType.Sequence }
   * 
   */
  public void setSequence(IsoformType.Sequence value)
  {
    this.sequence = value;
  }

  /**
   * Gets the value of the text 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 text property.
   * 
   * <p>
   * For example, to add a new item, do as follows:
   * 
   * <pre>
   * getText().add(newItem);
   * </pre>
   * 
   * 
   * <p>
   * Objects of the following type(s) are allowed in the list
   * {@link EvidencedStringType }
   * 
   * 
   */
  public List<EvidencedStringType> getText()
  {
    if (text == null)
    {
      text = new ArrayList<EvidencedStringType>();
    }
    return this.text;
  }

  /**
   * <p>
   * Java class for anonymous complex type.
   * 
   * <p>
   * The following schema fragment specifies the expected content contained
   * within this class.
   * 
   * <pre>
   * &lt;complexType>
   *   &lt;simpleContent>
   *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
   *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
   *     &lt;/extension>
   *   &lt;/simpleContent>
   * &lt;/complexType>
   * </pre>
   * 
   * 
   */
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "", propOrder = { "value" })
  public static class Name
  {

    @XmlValue
    protected String value;

    @XmlAttribute(name = "evidence")
    protected List<Integer> evidence;

    /**
     * Gets the value of the value property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getValue()
    {
      return value;
    }

    /**
     * Sets the value of the value property.
     * 
     * @param value
     *          allowed object is {@link String }
     * 
     */
    public void setValue(String value)
    {
      this.value = 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<Integer> getEvidence()
    {
      if (evidence == null)
      {
        evidence = new ArrayList<Integer>();
      }
      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>
   *   &lt;complexContent>
   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
   *       &lt;attribute name="type" use="required">
   *         &lt;simpleType>
   *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
   *             &lt;enumeration value="not described"/>
   *             &lt;enumeration value="described"/>
   *             &lt;enumeration value="displayed"/>
   *             &lt;enumeration value="external"/>
   *           &lt;/restriction>
   *         &lt;/simpleType>
   *       &lt;/attribute>
   *       &lt;attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
   *     &lt;/restriction>
   *   &lt;/complexContent>
   * &lt;/complexType>
   * </pre>
   * 
   * 
   */
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "")
  public static class Sequence
  {

    @XmlAttribute(name = "type", required = true)
    protected String type;

    @XmlAttribute(name = "ref")
    protected String ref;

    /**
     * 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 ref property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getRef()
    {
      return ref;
    }

    /**
     * Sets the value of the ref property.
     * 
     * @param value
     *          allowed object is {@link String }
     * 
     */
    public void setRef(String value)
    {
      this.ref = value;
    }

  }

}
