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,8 +1,6 @@
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;
@@ -20,8 +18,8 @@ import javax.xml.bind.annotation.XmlType;
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="changedObject" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/>
* <element name="changeLogToken" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -32,68 +30,63 @@ import javax.xml.bind.annotation.XmlType;
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"changedObject",
"changeToken"
"objects",
"changeLogToken"
})
@XmlRootElement(name = "getContentChangesResponse")
public class GetContentChangesResponse {
@XmlElement(nillable = true)
protected List<CmisObjectType> changedObject;
@XmlElement(required = true)
protected String changeToken;
protected CmisObjectListType objects;
@XmlElement(required = true)
protected String changeLogToken;
/**
* Gets the value of the changedObject 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 changedObject property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getChangedObject().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> getChangedObject() {
if (changedObject == null) {
changedObject = new ArrayList<CmisObjectType>();
}
return this.changedObject;
public CmisObjectListType getObjects() {
return objects;
}
/**
* Gets the value of the changeToken property.
* Sets the value of the objects property.
*
* @param value
* allowed object is
* {@link CmisObjectListType }
*
*/
public void setObjects(CmisObjectListType value) {
this.objects = value;
}
/**
* Gets the value of the changeLogToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChangeToken() {
return changeToken;
public String getChangeLogToken() {
return changeLogToken;
}
/**
* Sets the value of the changeToken property.
* Sets the value of the changeLogToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChangeToken(String value) {
this.changeToken = value;
public void setChangeLogToken(String value) {
this.changeLogToken = value;
}
}