001
002 package org.oasis_open.docs.wsn.b_2;
003
004 import java.util.ArrayList;
005 import java.util.List;
006 import javax.xml.bind.annotation.XmlAccessType;
007 import javax.xml.bind.annotation.XmlAccessorType;
008 import javax.xml.bind.annotation.XmlAnyElement;
009 import javax.xml.bind.annotation.XmlAttribute;
010 import javax.xml.bind.annotation.XmlMixed;
011 import javax.xml.bind.annotation.XmlSchemaType;
012 import javax.xml.bind.annotation.XmlType;
013 import org.w3c.dom.Element;
014
015
016 /**
017 * <p>Java class for QueryExpressionType complex type.
018 *
019 * <p>The following schema fragment specifies the expected content contained within this class.
020 *
021 * <pre>
022 * <complexType name="QueryExpressionType">
023 * <complexContent>
024 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
025 * <sequence>
026 * <any/>
027 * </sequence>
028 * <attribute name="Dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
029 * </restriction>
030 * </complexContent>
031 * </complexType>
032 * </pre>
033 *
034 *
035 */
036 @XmlAccessorType(XmlAccessType.FIELD)
037 @XmlType(name = "QueryExpressionType", propOrder = {
038 "content"
039 })
040 public class QueryExpressionType {
041
042 @XmlMixed
043 @XmlAnyElement(lax = true)
044 protected List<Object> content;
045 @XmlAttribute(name = "Dialect", required = true)
046 @XmlSchemaType(name = "anyURI")
047 protected String dialect;
048
049 /**
050 * Gets the value of the content property.
051 *
052 * <p>
053 * This accessor method returns a reference to the live list,
054 * not a snapshot. Therefore any modification you make to the
055 * returned list will be present inside the JAXB object.
056 * This is why there is not a <CODE>set</CODE> method for the content property.
057 *
058 * <p>
059 * For example, to add a new item, do as follows:
060 * <pre>
061 * getContent().add(newItem);
062 * </pre>
063 *
064 *
065 * <p>
066 * Objects of the following type(s) are allowed in the list
067 * {@link Element }
068 * {@link Object }
069 * {@link String }
070 *
071 *
072 */
073 public List<Object> getContent() {
074 if (content == null) {
075 content = new ArrayList<Object>();
076 }
077 return this.content;
078 }
079
080 /**
081 * Gets the value of the dialect property.
082 *
083 * @return
084 * possible object is
085 * {@link String }
086 *
087 */
088 public String getDialect() {
089 return dialect;
090 }
091
092 /**
093 * Sets the value of the dialect property.
094 *
095 * @param value
096 * allowed object is
097 * {@link String }
098 *
099 */
100 public void setDialect(String value) {
101 this.dialect = value;
102 }
103
104 }