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="parents" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectParentsType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -30,40 +30,40 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"object"
|
||||
"parents"
|
||||
})
|
||||
@XmlRootElement(name = "getObjectParentsResponse")
|
||||
public class GetObjectParentsResponse {
|
||||
|
||||
protected List<CmisObjectType> object;
|
||||
protected List<CmisObjectParentsType> parents;
|
||||
|
||||
/**
|
||||
* Gets the value of the object property.
|
||||
* Gets the value of the parents 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 parents property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getObject().add(newItem);
|
||||
* getParents().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisObjectType }
|
||||
* {@link CmisObjectParentsType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<CmisObjectType> getObject() {
|
||||
if (object == null) {
|
||||
object = new ArrayList<CmisObjectType>();
|
||||
public List<CmisObjectParentsType> getParents() {
|
||||
if (parents == null) {
|
||||
parents = new ArrayList<CmisObjectParentsType>();
|
||||
}
|
||||
return this.object;
|
||||
return this.parents;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user