mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged CMIS063 to HEAD
16930: MOB-1330: Upgrade Web Services Repository to 0.7 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -30,40 +30,40 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"object"
|
||||
"objects"
|
||||
})
|
||||
@XmlRootElement(name = "getFolderTreeResponse")
|
||||
public class GetFolderTreeResponse {
|
||||
|
||||
protected List<CmisObjectType> object;
|
||||
protected List<CmisObjectInFolderContainerType> objects;
|
||||
|
||||
/**
|
||||
* Gets the value of the object property.
|
||||
* Gets the value of the objects property.
|
||||
*
|
||||
* <p>
|
||||
* 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 JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the object property.
|
||||
* This is why there is not a <CODE>set</CODE> method for the objects property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getObject().add(newItem);
|
||||
* getObjects().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisObjectType }
|
||||
* {@link CmisObjectInFolderContainerType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<CmisObjectType> getObject() {
|
||||
if (object == null) {
|
||||
object = new ArrayList<CmisObjectType>();
|
||||
public List<CmisObjectInFolderContainerType> getObjects() {
|
||||
if (objects == null) {
|
||||
objects = new ArrayList<CmisObjectInFolderContainerType>();
|
||||
}
|
||||
return this.object;
|
||||
return this.objects;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user