1 package org.kuali.ole.docstore.common.search;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import javax.xml.bind.annotation.*;
6
7
8 /**
9 * <p>Java class for searchResult complex type.
10 *
11 * <p>The following schema fragment specifies the expected content contained within this class.
12 *
13 * <pre>
14 * <complexType name="searchResult">
15 * <complexContent>
16 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
17 * <sequence>
18 * <element name="searchResultFields" type="{}searchResultField" maxOccurs="unbounded" minOccurs="0"/>
19 * </sequence>
20 * </restriction>
21 * </complexContent>
22 * </complexType>
23 * </pre>
24 *
25 *
26 */
27 @XmlAccessorType(XmlAccessType.FIELD)
28 @XmlType(name = "searchResult", propOrder = {
29 "searchResultFields"
30 })
31 public class SearchResult {
32
33 @XmlElementWrapper(name = "searchResultFields")
34 @XmlElement(name = "searchResultField")
35 protected List<SearchResultField> searchResultFields;
36
37 /**
38 * Gets the value of the searchResultFields property.
39 *
40 * <p>
41 * This accessor method returns a reference to the live list,
42 * not a snapshot. Therefore any modification you make to the
43 * returned list will be present inside the JAXB object.
44 * This is why there is not a <CODE>set</CODE> method for the searchResultFields property.
45 *
46 * <p>
47 * For example, to add a new item, do as follows:
48 * <pre>
49 * getSearchResultFields().add(newItem);
50 * </pre>
51 *
52 *
53 * <p>
54 * Objects of the following type(s) are allowed in the list
55 * {@link SearchResultField }
56 *
57 *
58 */
59 public List<SearchResultField> getSearchResultFields() {
60 if (searchResultFields == null) {
61 searchResultFields = new ArrayList<SearchResultField>();
62 }
63 return this.searchResultFields;
64 }
65
66 }