X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FReactionType.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FReactionType.java;h=bc660fe48ceb852ca13aeaa08085023f394259b5;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=800f518f3db9d048a6f8b244d5184e9a3df304fa;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/ReactionType.java b/src/jalview/xml/binding/uniprot/ReactionType.java index 800f518..bc660fe 100644 --- a/src/jalview/xml/binding/uniprot/ReactionType.java +++ b/src/jalview/xml/binding/uniprot/ReactionType.java @@ -5,7 +5,6 @@ // Generated on: 2019.04.05 at 08:01:44 AM BST // - package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -16,13 +15,15 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; - /** * Describes a chemical reaction. * - *
Java class for reactionType complex type. + *
+ * Java class for reactionType complex type. * - *
The following schema fragment specifies the expected content contained within this class. + *
+ * The following schema fragment specifies the expected content contained within + * this class. * *
* <complexType name="reactionType"> @@ -41,99 +42,103 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "reactionType", propOrder = { - "text", - "dbReference" -}) -public class ReactionType { +@XmlType(name = "reactionType", propOrder = { "text", "dbReference" }) +public class ReactionType +{ - @XmlElement(required = true) - protected String text; - @XmlElement(required = true) - protected ListdbReference; - @XmlAttribute(name = "evidence") - protected List evidence; + @XmlElement(required = true) + protected String text; - /** - * Gets the value of the text property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getText() { - return text; - } + @XmlElement(required = true) + protected List dbReference; - /** - * Sets the value of the text property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setText(String value) { - this.text = value; - } + @XmlAttribute(name = "evidence") + protected List evidence; + + /** + * Gets the value of the text property. + * + * @return possible object is {@link String } + * + */ + public String getText() + { + return text; + } + + /** + * Sets the value of the text property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setText(String value) + { + this.text = value; + } - /** - * Gets the value of the dbReference 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
set
method for the dbReference property. - * - *- * For example, to add a new item, do as follows: - *
- * getDbReference().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list - * {@link DbReferenceType } - * - * - */ - public List
getDbReference() { - if (dbReference == null) { - dbReference = new ArrayList (); - } - return this.dbReference; + /** + * Gets the value of the dbReference 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
set
method + * for the dbReference property. + * + *+ * For example, to add a new item, do as follows: + * + *
+ * getDbReference().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link DbReferenceType } + * + * + */ + public List
getDbReference() + { + if (dbReference == null) + { + dbReference = new ArrayList (); } + return this.dbReference; + } - /** - * Gets the value of 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
set
method for the evidence property. - * - *- * For example, to add a new item, do as follows: - *
- * getEvidence().add(newItem); - *- * - * - *- * 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; + /** + * Gets the value of 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
set
method + * for the evidence property. + * + *+ * For example, to add a new item, do as follows: + * + *
+ * getEvidence().add(newItem); + *+ * + * + *+ * 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; + } }