X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeature.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeature.java;h=9001ee28e5712fc0fc14eb1c6ea5d3e9efb5776d;hp=0000000000000000000000000000000000000000;hb=aab74f8748bf49bf6b17ba82f0bc5644d4dc2853;hpb=3f62f10ab0f8985945e460c70c89b530446d6afa diff --git a/src/jalview/xml/binding/jalview/Feature.java b/src/jalview/xml/binding/jalview/Feature.java new file mode 100644 index 0000000..9001ee2 --- /dev/null +++ b/src/jalview/xml/binding/jalview/Feature.java @@ -0,0 +1,363 @@ +// +// 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 +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2018.12.20 at 11:47:26 AM GMT +// + + +package jalview.xml.binding.jalview; + +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.XmlType; + + +/** + *

Java class for feature complex type. + * + *

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>
+ * 
+ * + * + */ +@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; + } + + /** + * 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. + * + * @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; + } + + } + +}