// 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
+// Generated on: 2023.01.31 at 04:07:10 PM GMT
//
+
package jalview.xml.binding.uniprot;
import java.util.ArrayList;
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>Java class for isoformType complex type.
*
- * <p>
- * The following schema fragment specifies the expected content contained within
- * this class.
+ * <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="isoformType">
*
*/
@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;
- }
+@XmlType(name = "isoformType", propOrder = {
+ "id",
+ "name",
+ "sequence",
+ "text"
+})
+public class IsoformType {
- /**
- * 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>
- * <complexType>
- * <simpleContent>
- * <extension base="<http://www.w3.org/2001/XMLSchema>string">
- * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
- * </extension>
- * </simpleContent>
- * </complexType>
- * </pre>
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = { "value" })
- public static class Name
- {
-
- @XmlValue
- protected String value;
-
- @XmlAttribute(name = "evidence")
- protected List<Integer> evidence;
+ @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 value property.
+ * Gets the value of the id property.
*
- * @return possible object is {@link String }
+ * <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.
*
- */
- public String getValue()
- {
- return value;
- }
-
- /**
- * Sets the value of the value 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 }
*
- * @param value
- * allowed object is {@link String }
*
*/
- public void setValue(String value)
- {
- this.value = value;
+ public List<String> getId() {
+ if (id == null) {
+ id = new ArrayList<String>();
+ }
+ return this.id;
}
/**
- * Gets the value of the evidence property.
+ * 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 evidence property.
+ * 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>
- * getEvidence().add(newItem);
+ * getName().add(newItem);
* </pre>
*
*
* <p>
- * Objects of the following type(s) are allowed in the list {@link Integer }
+ * Objects of the following type(s) are allowed in the list
+ * {@link IsoformType.Name }
*
*
*/
- public List<Integer> getEvidence()
- {
- if (evidence == null)
- {
- evidence = new ArrayList<Integer>();
- }
- return this.evidence;
+ public List<IsoformType.Name> getName() {
+ if (name == null) {
+ name = new ArrayList<IsoformType.Name>();
+ }
+ return this.name;
}
- }
-
- /**
- * <p>
- * Java class for anonymous complex type.
- *
- * <p>
- * The following schema fragment specifies the expected content contained
- * within this class.
- *
- * <pre>
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="type" use="required">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="not described"/>
- * <enumeration value="described"/>
- * <enumeration value="displayed"/>
- * <enumeration value="external"/>
- * </restriction>
- * </simpleType>
- * </attribute>
- * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
- * </restriction>
- * </complexContent>
- * </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 }
+ * Gets the value of the sequence property.
*
+ * @return
+ * possible object is
+ * {@link IsoformType.Sequence }
+ *
*/
- public String getType()
- {
- return type;
+ public IsoformType.Sequence getSequence() {
+ return sequence;
}
/**
- * Sets the value of the type property.
+ * Sets the value of the sequence property.
*
* @param value
- * allowed object is {@link String }
- *
+ * allowed object is
+ * {@link IsoformType.Sequence }
+ *
*/
- public void setType(String value)
- {
- this.type = value;
+ public void setSequence(IsoformType.Sequence value) {
+ this.sequence = value;
}
/**
- * Gets the value of the ref property.
+ * 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 }
*
- * @return possible object is {@link String }
*
*/
- public String getRef()
- {
- return ref;
+ public List<EvidencedStringType> getText() {
+ if (text == null) {
+ text = new ArrayList<EvidencedStringType>();
+ }
+ return this.text;
}
+
/**
- * Sets the value of the ref property.
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
*
- * @param value
- * allowed object is {@link String }
*
*/
- public void setRef(String value)
- {
- this.ref = value;
+ @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>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="type" use="required">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="not described"/>
+ * <enumeration value="described"/>
+ * <enumeration value="displayed"/>
+ * <enumeration value="external"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </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;
+ }
+
+ }
}