X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;h=ec1216b9d07b7e8cbc90584b76f4a9ad707f6f08;hb=ed8359e447a1f003c489ca79e9babbe6e3d40a95;hp=e8842188d1249dd15e7cf8c140f651b0d0eab2d1;hpb=587d42166f0f5febf2e1c3f14d11540e3cb1452f;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/AnnotationElement.java b/src/jalview/xml/binding/jalview/AnnotationElement.java index e884218..ec1216b 100644 --- a/src/jalview/xml/binding/jalview/AnnotationElement.java +++ b/src/jalview/xml/binding/jalview/AnnotationElement.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 04:36:20 PM BST +// Generated on: 2021.08.30 at 11:05:22 AM BST // - package jalview.xml.binding.jalview; import javax.xml.bind.annotation.XmlAccessType; @@ -14,190 +13,186 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; - /** - *

Java class for anonymous complex type. + * <p>Java class for anonymous 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>
- *   <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>
- * 
+ * <pre> &lt;complexType&gt; &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; &lt;element name="displayCharacter" + * type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; + * &lt;element name="description" + * type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; + * &lt;element name="secondaryStructure" minOccurs="0"&gt; + * &lt;simpleType&gt; &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}string"&gt; &lt;length + * value="1"/&gt; &lt;/restriction&gt; &lt;/simpleType&gt; + * &lt;/element&gt; &lt;element name="value" + * type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/&gt; + * &lt;/sequence&gt; &lt;attribute name="position" use="required" + * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; &lt;attribute + * name="colour" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "displayCharacter", - "description", - "secondaryStructure", - "value" -}) +@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; - } +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; + } }