X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotation.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FAnnotation.java;h=148406eb55db73ddc31a011072800a62edbf8ed4;hb=4d64932654de3f6ffe07db11d18f2d21f558c6e6;hp=0000000000000000000000000000000000000000;hpb=382f5ff058a4c2fed1e9874bb712b40f16ec1a4e;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Annotation.java b/src/jalview/xml/binding/jalview/Annotation.java new file mode 100644 index 0000000..148406e --- /dev/null +++ b/src/jalview/xml/binding/jalview/Annotation.java @@ -0,0 +1,857 @@ +// +// 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 java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +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 ref="{www.vamsas.ac.uk/jalview/version2}annotationElement" maxOccurs="unbounded" minOccurs="0"/> + * <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="thresholdLine" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}float" /> + * <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="property" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="graph" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="graphType" type="{http://www.w3.org/2001/XMLSchema}int" /> + * <attribute name="sequenceRef" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="groupRef" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="graphColour" type="{http://www.w3.org/2001/XMLSchema}int" /> + * <attribute name="graphGroup" type="{http://www.w3.org/2001/XMLSchema}int" /> + * <attribute name="graphHeight" type="{http://www.w3.org/2001/XMLSchema}int" /> + * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="scoreOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * <attribute name="score" type="{http://www.w3.org/2001/XMLSchema}double" /> + * <attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="centreColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="scaleColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="showAllColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + * <attribute name="autoCalculated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> + * <attribute name="belowAlignment" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> + * <attribute name="calcId" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + *+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "annotationElement", + "label", + "description", + "thresholdLine", + "property" +}) +@XmlRootElement(name = "Annotation") +public class Annotation { + + protected List
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a set
method for the annotationElement property.
+ *
+ *
+ * For example, to add a new item, do as follows: + *
+ * getAnnotationElement().add(newItem); + *+ * + * + *
+ * Objects of the following type(s) are allowed in the list
+ * {@link AnnotationElement }
+ *
+ *
+ */
+ public List
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link Annotation.Property }
+ *
+ *
+ */
+ public List Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * set
method for the property property.
+ *
+ *
+ * getProperty().add(newItem);
+ *
+ *
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Property {
+
+ @XmlAttribute(name = "name")
+ protected String name;
+ @XmlAttribute(name = "value")
+ protected String value;
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ }
+
+
+ /**
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}float" />
+ * <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class ThresholdLine {
+
+ @XmlAttribute(name = "label")
+ protected String label;
+ @XmlAttribute(name = "value")
+ protected Float value;
+ @XmlAttribute(name = "colour")
+ protected Integer colour;
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = 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 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;
+ }
+
+ }
+
+}