X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotationElement.java;h=dcee8898be5cd03d14db9782b90e5c24dfcf120f;hb=85ed72a5a52344d202f671eb6892dc74656c29ea;hp=0000000000000000000000000000000000000000;hpb=a01f3d6d4821282f6528b927137d79750fa58e72;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..dcee889 --- /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.18 at 02:23:07 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; + } + +}