X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeature.java;h=4c496e516050dc3e442e107e18c6e55985ae2a54;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=10406363cb3ce6e0784b4c8cac40f8ef79f9a2b2;hpb=85ed72a5a52344d202f671eb6892dc74656c29ea;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Feature.java b/src/jalview/xml/binding/jalview/Feature.java index 1040636..4c496e5 100644 --- a/src/jalview/xml/binding/jalview/Feature.java +++ b/src/jalview/xml/binding/jalview/Feature.java @@ -1,11 +1,10 @@ // -// 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: 2018.09.18 at 02:23:07 PM BST +// Generated on: 2021.08.30 at 11:05:22 AM BST // - package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -15,349 +14,350 @@ 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(); - } - return this.otherData; +@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; + } + + /** + * 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; + } + + /** + * <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 begin property. + * Gets the value of the key 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 } * - * @return - * possible object is - * {@link String } - * */ - public String getType() { - return type; + public String getKey() + { + return key; } /** - * Sets the value of the type property. + * Sets the value of the key property. * * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the description property. + * allowed object is {@link String } * - * @return - * possible object is - * {@link String } - * */ - public String getDescription() { - return description; + public void setKey(String value) + { + this.key = value; } /** - * Sets the value of the description property. + * Gets the value of the key2 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 } * - * @return - * possible object is - * {@link String } - * */ - public String getStatus() { - return status; + public String getKey2() + { + return key2; } /** - * Sets the value of the status property. + * Sets the value of the key2 property. * * @param value - * allowed object is - * {@link String } - * - */ - public void setStatus(String value) { - this.status = value; - } - - /** - * Gets the value of the featureGroup property. + * allowed object is {@link String } * - * @return - * possible object is - * {@link String } - * */ - public String getFeatureGroup() { - return featureGroup; + public void setKey2(String value) + { + this.key2 = value; } /** - * Sets the value of the featureGroup property. + * Gets the value of the value 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 String } * - * @return - * possible object is - * {@link Float } - * */ - public Float getScore() { - return score; + public String getValue() + { + return value; } /** - * Sets the value of the score property. + * Sets the value of the value 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>
-     * 
- * + * allowed object is {@link String } * */ - @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; - } - + public void setValue(String value) + { + this.value = value; } + } + }