X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeature.java;h=97bedae09e50fcaa8ae48fe98aa38f99c5a66a34;hb=1140532d01b32b648e7e5b17ea717ae790625f8f;hp=9ac7b580ecb8c7da1c7a2a6948a73b56f8e681b0;hpb=fdde9a078d7bdb46ed9fb7fe115ea83c84a19c81;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Feature.java b/src/jalview/xml/binding/jalview/Feature.java index 9ac7b58..97bedae 100644 --- a/src/jalview/xml/binding/jalview/Feature.java +++ b/src/jalview/xml/binding/jalview/Feature.java @@ -1,10 +1,11 @@ // -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 -// See http://java.sun.com/xml/jaxb +// 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: 2023.03.17 at 05:31:44 PM GMT +// Generated on: 2023.11.01 at 07:03:09 PM GMT // + package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -14,365 +15,349 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; + /** - *

- * Java class for feature complex type. + * <p>Java class for feature complex type. * - *

- * 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. * - *

- * <complexType name="feature">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="otherData" maxOccurs="unbounded" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                 <attribute name="key2" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *       <attribute name="begin" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="featureGroup" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="score" type="{http://www.w3.org/2001/XMLSchema}float" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
+ * <pre> + * &lt;complexType name="feature"&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="otherData" maxOccurs="unbounded" minOccurs="0"&gt; + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="key2" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * &lt;/element&gt; + * &lt;/sequence&gt; + * &lt;attribute name="begin" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; + * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; + * &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="featureGroup" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="score" type="{http://www.w3.org/2001/XMLSchema}float" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType( - name = "feature", - namespace = "www.jalview.org", - propOrder = - { "otherData" }) -public class Feature -{ - - protected List otherData; - - @XmlAttribute(name = "begin", required = true) - protected int begin; - - @XmlAttribute(name = "end", required = true) - protected int end; - - @XmlAttribute(name = "type", required = true) - protected String type; - - @XmlAttribute(name = "description") - protected String description; - - @XmlAttribute(name = "status") - protected String status; - - @XmlAttribute(name = "featureGroup") - protected String featureGroup; - - @XmlAttribute(name = "score") - protected Float score; - - /** - * Gets the value of the otherData 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 otherData property. - * - *

- * For example, to add a new item, do as follows: - * - *

-   * getOtherData().add(newItem);
-   * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Feature.OtherData } - * - * - */ - public List getOtherData() - { - if (otherData == null) - { - otherData = new ArrayList(); +@XmlType(name = "feature", namespace = "www.jalview.org", propOrder = { + "otherData" +}) +public class Feature { + + protected List otherData; + @XmlAttribute(name = "begin", required = true) + protected int begin; + @XmlAttribute(name = "end", required = true) + protected int end; + @XmlAttribute(name = "type", required = true) + protected String type; + @XmlAttribute(name = "description") + protected String description; + @XmlAttribute(name = "status") + protected String status; + @XmlAttribute(name = "featureGroup") + protected String featureGroup; + @XmlAttribute(name = "score") + protected Float score; + + /** + * Gets the value of the otherData 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 otherData property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getOtherData().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link Feature.OtherData } + * + * + */ + public List getOtherData() { + if (otherData == null) { + otherData = new ArrayList(); + } + return this.otherData; } - return this.otherData; - } - - /** - * Gets the value of the begin property. - * - */ - public int getBegin() - { - return begin; - } - - /** - * Sets the value of the begin property. - * - */ - public void setBegin(int value) - { - this.begin = value; - } - - /** - * Gets the value of the end property. - * - */ - public int getEnd() - { - return end; - } - - /** - * Sets the value of the end property. - * - */ - public void setEnd(int value) - { - this.end = 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 description property. - * - * @return possible object is {@link String } - * - */ - public String getDescription() - { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setDescription(String value) - { - this.description = value; - } - - /** - * Gets the value of the status property. - * - * @return possible object is {@link String } - * - */ - public String getStatus() - { - return status; - } - - /** - * Sets the value of the status property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setStatus(String value) - { - this.status = value; - } - - /** - * Gets the value of the featureGroup property. - * - * @return possible object is {@link String } - * - */ - public String getFeatureGroup() - { - return featureGroup; - } - - /** - * Sets the value of the featureGroup property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setFeatureGroup(String value) - { - this.featureGroup = value; - } - - /** - * Gets the value of the score property. - * - * @return possible object is {@link Float } - * - */ - public Float getScore() - { - return score; - } - - /** - * Sets the value of the score property. - * - * @param value - * allowed object is {@link Float } - * - */ - public void setScore(Float value) - { - this.score = value; - } - - /** - *

- * Java class for anonymous complex type. - * - *

- * The following schema fragment specifies the expected content contained - * within this class. - * - *

-   * <complexType>
-   *   <complexContent>
-   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-   *       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-   *       <attribute name="key2" type="{http://www.w3.org/2001/XMLSchema}string" />
-   *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-   *     </restriction>
-   *   </complexContent>
-   * </complexType>
-   * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class OtherData - { - - @XmlAttribute(name = "key", required = true) - protected String key; - - @XmlAttribute(name = "key2") - protected String key2; - - @XmlAttribute(name = "value", required = true) - protected String value; /** - * Gets the value of the key property. + * Gets the value of the begin property. * - * @return possible object is {@link String } + */ + public int getBegin() { + return begin; + } + + /** + * Sets the value of the begin property. * */ - public String getKey() - { - return key; + public void setBegin(int value) { + this.begin = value; } /** - * Sets the value of the key property. + * Gets the value of the end property. * - * @param value - * allowed object is {@link String } + */ + public int getEnd() { + return end; + } + + /** + * Sets the value of the end property. + * + */ + public void setEnd(int value) { + this.end = value; + } + + /** + * Gets the value of the type property. * + * @return + * possible object is + * {@link String } + * */ - public void setKey(String value) - { - this.key = value; + public String getType() { + return type; } /** - * Gets the value of the key2 property. + * Sets the value of the type property. * - * @return possible object is {@link String } + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the description property. * + * @return + * possible object is + * {@link String } + * */ - public String getKey2() - { - return key2; + public String getDescription() { + return description; } /** - * Sets the value of the key2 property. + * Sets the value of the description property. * * @param value - * allowed object is {@link String } + * allowed object is + * {@link String } + * + */ + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the status property. * + * @return + * possible object is + * {@link String } + * */ - public void setKey2(String value) - { - this.key2 = value; + public String getStatus() { + return status; } /** - * Gets the value of the value property. + * Sets the value of the status property. * - * @return possible object is {@link String } + * @param value + * allowed object is + * {@link String } + * + */ + public void setStatus(String value) { + this.status = value; + } + + /** + * Gets the value of the featureGroup property. * + * @return + * possible object is + * {@link String } + * */ - public String getValue() - { - return value; + public String getFeatureGroup() { + return featureGroup; } /** - * Sets the value of the value property. + * Sets the value of the featureGroup property. * * @param value - * allowed object is {@link String } + * allowed object is + * {@link String } + * + */ + public void setFeatureGroup(String value) { + this.featureGroup = value; + } + + /** + * Gets the value of the score property. * + * @return + * possible object is + * {@link Float } + * */ - public void setValue(String value) - { - this.value = value; + public Float getScore() { + return score; } - } + /** + * Sets the value of the score property. + * + * @param value + * allowed object is + * {@link Float } + * + */ + public void setScore(Float value) { + this.score = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="key2" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class OtherData { + + @XmlAttribute(name = "key", required = true) + protected String key; + @XmlAttribute(name = "key2") + protected String key2; + @XmlAttribute(name = "value", required = true) + protected String value; + + /** + * Gets the value of the key property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Sets the value of the key property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + /** + * Gets the value of the key2 property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey2() { + return key2; + } + + /** + * Sets the value of the key2 property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey2(String value) { + this.key2 = value; + } + + /** + * 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; + } + + } }