X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;h=ec1216b9d07b7e8cbc90584b76f4a9ad707f6f08;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=d141272759780c6fe148950f7a69d10c08fb67f2;hpb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/AnnotationElement.java b/src/jalview/xml/binding/jalview/AnnotationElement.java index d141272..ec1216b 100644 --- a/src/jalview/xml/binding/jalview/AnnotationElement.java +++ b/src/jalview/xml/binding/jalview/AnnotationElement.java @@ -5,7 +5,6 @@ // 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; - /** * <p>Java class for anonymous complex type. * - * <p>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. * - * <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> + * <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; + } }