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:
David Caruana
2009-10-29 18:40:59 +00:00
parent 93346e262e
commit d6b8ce91a5
203 changed files with 10223 additions and 6060 deletions

View File

@@ -1,10 +1,9 @@
package org.alfresco.repo.cmis.ws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@@ -19,8 +18,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="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -31,58 +29,36 @@ import javax.xml.bind.annotation.XmlType;
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"object",
"hasMoreItems"
"objects"
})
@XmlRootElement(name = "getCheckedOutDocsResponse")
public class GetCheckedOutDocsResponse {
protected List<CmisObjectType> object;
protected boolean hasMoreItems;
@XmlElement(required = true)
protected CmisObjectListType objects;
/**
* Gets the value of the object 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.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CmisObjectType }
*
* Gets the value of the objects property.
*
* @return
* possible object is
* {@link CmisObjectListType }
*
*/
public List<CmisObjectType> getObject() {
if (object == null) {
object = new ArrayList<CmisObjectType>();
}
return this.object;
public CmisObjectListType getObjects() {
return objects;
}
/**
* Gets the value of the hasMoreItems property.
* Sets the value of the objects property.
*
* @param value
* allowed object is
* {@link CmisObjectListType }
*
*/
public boolean isHasMoreItems() {
return hasMoreItems;
}
/**
* Sets the value of the hasMoreItems property.
*
*/
public void setHasMoreItems(boolean value) {
this.hasMoreItems = value;
public void setObjects(CmisObjectListType value) {
this.objects = value;
}
}