X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeatureMatcher.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeatureMatcher.java;h=31614086e292d4609a4e33fe3d6730d8cb5bc5b7;hb=4d64932654de3f6ffe07db11d18f2d21f558c6e6;hp=0000000000000000000000000000000000000000;hpb=382f5ff058a4c2fed1e9874bb712b40f16ec1a4e;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/FeatureMatcher.java b/src/jalview/xml/binding/jalview/FeatureMatcher.java new file mode 100644 index 0000000..3161408 --- /dev/null +++ b/src/jalview/xml/binding/jalview/FeatureMatcher.java @@ -0,0 +1,160 @@ +// +// 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.XmlType; + + +/** + *

Java class for FeatureMatcher complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="FeatureMatcher">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
+ *         <element name="condition" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="by" type="{www.jalview.org/colours}FilterBy" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "FeatureMatcher", namespace = "www.jalview.org/colours", propOrder = { + "attributeName", + "condition", + "value" +}) +public class FeatureMatcher { + + @XmlElement(namespace = "") + protected List attributeName; + @XmlElement(namespace = "", required = true) + protected String condition; + @XmlElement(namespace = "", required = true) + protected String value; + @XmlAttribute(name = "by") + protected FilterBy by; + + /** + * Gets the value of the attributeName property. + * + *

+ * 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 attributeName property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAttributeName().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getAttributeName() { + if (attributeName == null) { + attributeName = new ArrayList(); + } + return this.attributeName; + } + + /** + * Gets the value of the condition property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCondition() { + return condition; + } + + /** + * Sets the value of the condition property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCondition(String value) { + this.condition = 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; + } + + /** + * Gets the value of the by property. + * + * @return + * possible object is + * {@link FilterBy } + * + */ + public FilterBy getBy() { + return by; + } + + /** + * Sets the value of the by property. + * + * @param value + * allowed object is + * {@link FilterBy } + * + */ + public void setBy(FilterBy value) { + this.by = value; + } + +}