| // |
| // 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.XmlAttribute; |
| import javax.xml.bind.annotation.XmlElement; |
| import javax.xml.bind.annotation.XmlElements; |
| import javax.xml.bind.annotation.XmlType; |
| |
| /** |
| * <p> |
| * Java class for test complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="test"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="test" type="{http://org.eclipse.ptp/rm}test" maxOccurs="unbounded" minOccurs="0"/> |
| * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" 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="else" minOccurs="0"> |
| * <complexType> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <choice maxOccurs="unbounded"> |
| * <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> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </element> |
| * </sequence> |
| * <attribute name="op"> |
| * <simpleType> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
| * <enumeration value="EQ"/> |
| * <enumeration value="LT"/> |
| * <enumeration value="GT"/> |
| * <enumeration value="LE"/> |
| * <enumeration value="GE"/> |
| * <enumeration value="AND"/> |
| * <enumeration value="OR"/> |
| * <enumeration value="NOT"/> |
| * </restriction> |
| * </simpleType> |
| * </attribute> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "test", propOrder = { "test", "value", "addOrAppendOrPut", "_else" }) |
| public class Test { |
| |
| /** |
| * <p> |
| * Java class for anonymous complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained |
| * within this class. |
| * |
| * <pre> |
| * <complexType> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <choice maxOccurs="unbounded"> |
| * <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> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "", propOrder = { "addOrAppendOrPut" }) |
| public static class Else { |
| |
| @XmlElements({ @XmlElement(name = "put", type = Put.class), @XmlElement(name = "set", type = Set.class), |
| @XmlElement(name = "add", type = Add.class), @XmlElement(name = "append", type = Append.class) }) |
| protected List<Object> addOrAppendOrPut; |
| |
| /** |
| * 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 Put } |
| * {@link Set } {@link Add } {@link Append } |
| * |
| * |
| */ |
| public List<Object> getAddOrAppendOrPut() { |
| if (addOrAppendOrPut == null) { |
| addOrAppendOrPut = new ArrayList<Object>(); |
| } |
| return this.addOrAppendOrPut; |
| } |
| |
| } |
| |
| protected List<Test> test; |
| protected List<String> value; |
| @XmlElements({ @XmlElement(name = "put", type = Put.class), @XmlElement(name = "set", type = Set.class), |
| @XmlElement(name = "append", type = Append.class), @XmlElement(name = "add", type = Add.class) }) |
| protected List<Object> addOrAppendOrPut; |
| @XmlElement(name = "else") |
| protected Test.Else _else; |
| |
| @XmlAttribute |
| protected String op; |
| |
| /** |
| * 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 Put } |
| * {@link Set } {@link Append } {@link Add } |
| * |
| * |
| */ |
| public List<Object> getAddOrAppendOrPut() { |
| if (addOrAppendOrPut == null) { |
| addOrAppendOrPut = new ArrayList<Object>(); |
| } |
| return this.addOrAppendOrPut; |
| } |
| |
| /** |
| * Gets the value of the else property. |
| * |
| * @return possible object is {@link Test.Else } |
| * |
| */ |
| public Test.Else getElse() { |
| return _else; |
| } |
| |
| /** |
| * Gets the value of the op property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getOp() { |
| return op; |
| } |
| |
| /** |
| * 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; |
| } |
| |
| /** |
| * Gets the value of the value 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 value property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * |
| * <pre> |
| * getValue().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list {@link String } |
| * |
| * |
| */ |
| public List<String> getValue() { |
| if (value == null) { |
| value = new ArrayList<String>(); |
| } |
| return this.value; |
| } |
| |
| /** |
| * Sets the value of the else property. |
| * |
| * @param value |
| * allowed object is {@link Test.Else } |
| * |
| */ |
| public void setElse(Test.Else value) { |
| this._else = value; |
| } |
| |
| /** |
| * Sets the value of the op property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setOp(String value) { |
| this.op = value; |
| } |
| |
| } |