This project has retired. For details please refer to its
Attic page.
GetObjectParentsResponse xref
12package org.apache.chemistry.opencmis.commons.impl.jaxb;
34import java.util.ArrayList;
5import java.util.List;
6import javax.xml.bind.annotation.XmlAccessType;
7import javax.xml.bind.annotation.XmlAccessorType;
8import javax.xml.bind.annotation.XmlRootElement;
9import javax.xml.bind.annotation.XmlType;
101112/**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 * <complexType>19 * <complexContent>20 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">21 * <sequence>22 * <element name="parents" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectParentsType" maxOccurs="unbounded" minOccurs="0"/>23 * </sequence>24 * </restriction>25 * </complexContent>26 * </complexType>27 * </pre>28 * 29 * 30 */31 @XmlAccessorType(XmlAccessType.FIELD)
32 @XmlType(name = "", propOrder = {
33"parents"34 })
35 @XmlRootElement(name = "getObjectParentsResponse")
36publicclassGetObjectParentsResponse {
3738protected List<CmisObjectParentsType> parents;
3940/**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 the46 * 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 list58 * {@link CmisObjectParentsType }59 * 60 * 61 */62public List<CmisObjectParentsType> getParents() {
63if (parents == null) {
64 parents = new ArrayList<CmisObjectParentsType>();
65 }
66returnthis.parents;
67 }
6869 }