org.apache.chemistry.opencmis.commons.impl.jaxb.GetDescendantsResponse 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="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objects"
})
@XmlRootElement(name = "getDescendantsResponse")
public class GetDescendantsResponse {
protected List objects;
/**
* Gets the value of the objects 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 objects property.
*
*
* For example, to add a new item, do as follows:
*
* getObjects().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CmisObjectInFolderContainerType }
*
*
*/
public List getObjects() {
if (objects == null) {
objects = new ArrayList();
}
return this.objects;
}
}