This project has retired. For details please refer to its Attic page.
GetRepositoriesResponse xref

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