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