| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs |
| // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| // Any modifications to this file will be lost upon recompilation of the source schema. |
| // Generated on: 2011.03.15 at 06:57:07 PM CDT |
| // |
| |
| package org.eclipse.ptp.rm.jaxb.core.data; |
| |
| 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.XmlElement; |
| import javax.xml.bind.annotation.XmlElements; |
| import javax.xml.bind.annotation.XmlType; |
| |
| /** |
| * <p> |
| * Java class for match complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="match"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="expression" type="{http://org.eclipse.ptp/rm}regex" minOccurs="0"/> |
| * <element name="target" type="{http://org.eclipse.ptp/rm}target" minOccurs="0"/> |
| * <choice maxOccurs="unbounded" minOccurs="0"> |
| * <element name="add" type="{http://org.eclipse.ptp/rm}add"/> |
| * <element name="append" type="{http://org.eclipse.ptp/rm}append"/> |
| * <element name="put" type="{http://org.eclipse.ptp/rm}put"/> |
| * <element name="set" type="{http://org.eclipse.ptp/rm}set"/> |
| * </choice> |
| * <element name="test" type="{http://org.eclipse.ptp/rm}test" maxOccurs="unbounded" minOccurs="0"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "match", propOrder = { "expression", "target", "addOrAppendOrPut", "test" }) |
| public class Match { |
| |
| protected Regex expression; |
| protected Target target; |
| @XmlElements({ @XmlElement(name = "set", type = Set.class), @XmlElement(name = "add", type = Add.class), |
| @XmlElement(name = "append", type = Append.class), @XmlElement(name = "put", type = Put.class) }) |
| protected List<Object> addOrAppendOrPut; |
| protected List<Test> test; |
| |
| /** |
| * Gets the value of the addOrAppendOrPut 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 addOrAppendOrPut property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getAddOrAppendOrPut().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link Set } |
| * {@link Add } {@link Append } {@link Put } |
| * |
| * |
| */ |
| public List<Object> getAddOrAppendOrPut() { |
| if (addOrAppendOrPut == null) { |
| addOrAppendOrPut = new ArrayList<Object>(); |
| } |
| return this.addOrAppendOrPut; |
| } |
| |
| /** |
| * Gets the value of the expression property. |
| * |
| * @return possible object is {@link Regex } |
| * |
| */ |
| public Regex getExpression() { |
| return expression; |
| } |
| |
| /** |
| * Gets the value of the target property. |
| * |
| * @return possible object is {@link Target } |
| * |
| */ |
| public Target getTarget() { |
| return target; |
| } |
| |
| /** |
| * Gets the value of the test 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 test property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getTest().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link Test } |
| * |
| * |
| */ |
| public List<Test> getTest() { |
| if (test == null) { |
| test = new ArrayList<Test>(); |
| } |
| return this.test; |
| } |
| |
| /** |
| * Sets the value of the expression property. |
| * |
| * @param value |
| * allowed object is {@link Regex } |
| * |
| */ |
| public void setExpression(Regex value) { |
| this.expression = value; |
| } |
| |
| /** |
| * Sets the value of the target property. |
| * |
| * @param value |
| * allowed object is {@link Target } |
| * |
| */ |
| public void setTarget(Target value) { |
| this.target = value; |
| } |
| |
| } |