X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;h=cd0dce9b62d6477d8e65ec7b51e8302bc2f1cafe;hb=eb3e681d6e82ccdd5d312d1981dfb306e7f479f0;hp=4d34ce24c33738b43cfd2f13e5e2c8f7652b33ba;hpb=ae447a3691fb85aaf4e27cd6af8a6e0eb3d50530;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/AnnotationElement.java b/src/jalview/xml/binding/jalview/AnnotationElement.java index 4d34ce2..cd0dce9 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: 2023.02.22 at 10:08:57 PM GMT +// Generated on: 2023.11.01 at 07:03:09 PM GMT // - 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; + } }