X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeatureMatcher.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeatureMatcher.java;h=d9ff1175f61304ce6ff4329dae8599a8cebf8f59;hp=9913337141f0a3a289784599a1dca860b7e3b04d;hb=eb3e681d6e82ccdd5d312d1981dfb306e7f479f0;hpb=cb31e23d9138e481479623374aed7767bf8934d2 diff --git a/src/jalview/xml/binding/jalview/FeatureMatcher.java b/src/jalview/xml/binding/jalview/FeatureMatcher.java index 9913337..d9ff117 100644 --- a/src/jalview/xml/binding/jalview/FeatureMatcher.java +++ b/src/jalview/xml/binding/jalview/FeatureMatcher.java @@ -5,7 +5,6 @@ // Generated on: 2023.11.01 at 07:03:09 PM GMT // - package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -16,145 +15,141 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; - /** * <p>Java class for FeatureMatcher 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 name="FeatureMatcher"&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; - * &lt;element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/&gt; - * &lt;element name="condition" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; - * &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; - * &lt;/sequence&gt; - * &lt;attribute name="by" type="{www.jalview.org/colours}FilterBy" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> + * <pre> &lt;complexType name="FeatureMatcher"&gt; + * &lt;complexContent&gt; &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; &lt;element name="attributeName" + * type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" + * minOccurs="0"/&gt; &lt;element name="condition" + * type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element + * name="value" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; + * &lt;/sequence&gt; &lt;attribute name="by" + * type="{www.jalview.org/colours}FilterBy" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "FeatureMatcher", namespace = "www.jalview.org/colours", propOrder = { - "attributeName", - "condition", - "value" -}) -public class FeatureMatcher { +@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; + @XmlElement(namespace = "") + protected List attributeName; - /** - * Gets the value of the attributeName property. - * - * <p> - * 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 <CODE>set</CODE> method for the attributeName property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getAttributeName().add(newItem); - * </pre> - * - * - * <p> - * 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; - } + @XmlElement(namespace = "", required = true) + protected String condition; - /** - * Gets the value of the condition property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCondition() { - return condition; - } + @XmlElement(namespace = "", required = true) + protected String value; - /** - * Sets the value of the condition property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCondition(String value) { - this.condition = value; - } + @XmlAttribute(name = "by") + protected FilterBy by; - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; + /** + * Gets the value of the attributeName property. + * + * <p> 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 + * <CODE>set</CODE> method for the attributeName property. + * + * <p> For example, to add a new item, do as follows: <pre> + * getAttributeName().add(newItem); </pre> + * + * + * <p> 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; + } - /** - * 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 condition property. + * + * @return possible object is {@link String } + * + */ + public String getCondition() + { + return condition; + } - /** - * Gets the value of the by property. - * - * @return - * possible object is - * {@link FilterBy } - * - */ - public FilterBy getBy() { - return by; - } + /** + * Sets the value of the condition property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setCondition(String value) + { + this.condition = value; + } - /** - * Sets the value of the by property. - * - * @param value - * allowed object is - * {@link FilterBy } - * - */ - public void setBy(FilterBy value) { - this.by = 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; + } }