org.apache.chemistry.opencmis.commons.impl.jaxb.GetObjectParentsResponse Maven / Gradle / Ivy
package org.apache.chemistry.opencmis.commons.impl.jaxb;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="parents" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectParentsType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"parents"
})
@XmlRootElement(name = "getObjectParentsResponse")
public class GetObjectParentsResponse {
protected List parents;
/**
* Gets the value of the parents property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the parents property.
*
*
* For example, to add a new item, do as follows:
*
* getParents().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CmisObjectParentsType }
*
*
*/
public List getParents() {
if (parents == null) {
parents = new ArrayList();
}
return this.parents;
}
}