1 /** 2 * This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 * 6 * If it is not possible or desirable to put the notice in a particular 7 * file, then You may include the notice in a location (such as a LICENSE 8 * file in a relevant directory) where a recipient would be likely to look 9 * for such a notice. 10 11 * 12 */ 13 14 /* --------------------------------------------------------------------------- 15 * U.S. Government, Department of the Army 16 * Army Materiel Command 17 * Research Development Engineering Command 18 * Communications Electronics Research Development and Engineering Center 19 * --------------------------------------------------------------------------- 20 */ 21 22 package org.oasis_open.docs.wsrf.rp_2; 23 24 import java.util.ArrayList; 25 import java.util.List; 26 import javax.xml.bind.annotation.XmlAccessType; 27 import javax.xml.bind.annotation.XmlAccessorType; 28 import javax.xml.bind.annotation.XmlElement; 29 import javax.xml.bind.annotation.XmlRootElement; 30 import javax.xml.bind.annotation.XmlSchemaType; 31 import javax.xml.bind.annotation.XmlType; 32 33 34 /** 35 * <p>Java class for anonymous complex type. 36 * 37 * <p>The following schema fragment specifies the expected content contained within this class. 38 * 39 * <pre> 40 * <complexType> 41 * <complexContent> 42 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 43 * <sequence> 44 * <element ref="{http://docs.oasis-open.org/wsrf/rp-2}QueryExpressionDialect" maxOccurs="unbounded" minOccurs="0"/> 45 * </sequence> 46 * </restriction> 47 * </complexContent> 48 * </complexType> 49 * </pre> 50 * 51 * 52 */ 53 @XmlAccessorType(XmlAccessType.FIELD) 54 @XmlType(name = "", propOrder = { 55 "queryExpressionDialect" 56 }) 57 @XmlRootElement(name = "QueryExpressionRPDocument") 58 public class QueryExpressionRPDocument { 59 60 @XmlElement(name = "QueryExpressionDialect") 61 @XmlSchemaType(name = "anyURI") 62 protected List<String> queryExpressionDialect; 63 64 /** 65 * Gets the value of the queryExpressionDialect property. 66 * 67 * <p> 68 * This accessor method returns a reference to the live list, 69 * not a snapshot. Therefore any modification you make to the 70 * returned list will be present inside the JAXB object. 71 * This is why there is not a <CODE>set</CODE> method for the queryExpressionDialect property. 72 * 73 * <p> 74 * For example, to add a new item, do as follows: 75 * <pre> 76 * getQueryExpressionDialect().add(newItem); 77 * </pre> 78 * 79 * 80 * <p> 81 * Objects of the following type(s) are allowed in the list 82 * {@link String } 83 * 84 * 85 */ 86 public List<String> getQueryExpressionDialect() { 87 if (queryExpressionDialect == null) { 88 queryExpressionDialect = new ArrayList<String>(); 89 } 90 return this.queryExpressionDialect; 91 } 92 93 }