X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;h=8cbd4fee558860d9b9bc192ebbb9485c75b4d837;hb=4d64932654de3f6ffe07db11d18f2d21f558c6e6;hp=0000000000000000000000000000000000000000;hpb=382f5ff058a4c2fed1e9874bb712b40f16ec1a4e;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/AnnotationElement.java b/src/jalview/xml/binding/jalview/AnnotationElement.java new file mode 100644 index 0000000..8cbd4fe --- /dev/null +++ b/src/jalview/xml/binding/jalview/AnnotationElement.java @@ -0,0 +1,203 @@ +// +// 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.09.28 at 12:18:54 PM BST +// + + +package jalview.xml.binding.jalview; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

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">
+ *       <sequence>
+ *         <element name="displayCharacter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="secondaryStructure" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <length value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *       <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "displayCharacter", + "description", + "secondaryStructure", + "value" +}) +@XmlRootElement(name = "annotationElement") +public class AnnotationElement { + + protected String displayCharacter; + protected String description; + protected String secondaryStructure; + protected Float value; + @XmlAttribute(name = "position", required = true) + protected int position; + @XmlAttribute(name = "colour") + protected Integer colour; + + /** + * Gets the value of the displayCharacter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDisplayCharacter() { + return displayCharacter; + } + + /** + * Sets the value of the displayCharacter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDisplayCharacter(String value) { + this.displayCharacter = 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 secondaryStructure property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSecondaryStructure() { + return secondaryStructure; + } + + /** + * Sets the value of the secondaryStructure property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSecondaryStructure(String value) { + this.secondaryStructure = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link Float } + * + */ + public Float getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link Float } + * + */ + public void setValue(Float value) { + this.value = value; + } + + /** + * Gets the value of the position property. + * + */ + public int getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + */ + public void setPosition(int value) { + this.position = value; + } + + /** + * Gets the value of the colour property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getColour() { + return colour; + } + + /** + * Sets the value of the colour property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setColour(Integer value) { + this.colour = value; + } + +}