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