mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
15463: Fixed MOB-1100: Update Web Services to 0.62 final git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
143 lines
4.0 KiB
Java
Executable File
143 lines
4.0 KiB
Java
Executable File
|
|
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.XmlAnyElement;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
import org.w3c.dom.Element;
|
|
|
|
|
|
/**
|
|
* <p>Java class for cmisChoiceXml complex type.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <complexType name="cmisChoiceXml">
|
|
* <complexContent>
|
|
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
|
|
* <sequence>
|
|
* <element name="value" maxOccurs="unbounded" minOccurs="0">
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <sequence>
|
|
* <any/>
|
|
* </sequence>
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </element>
|
|
* </sequence>
|
|
* </extension>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "cmisChoiceXml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
|
"value"
|
|
})
|
|
public class CmisChoiceXml
|
|
extends CmisChoice
|
|
{
|
|
|
|
protected List<CmisChoiceXml.Value> value;
|
|
|
|
/**
|
|
* Gets the value of the value 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 value property.
|
|
*
|
|
* <p>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getValue().add(newItem);
|
|
* </pre>
|
|
*
|
|
*
|
|
* <p>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link CmisChoiceXml.Value }
|
|
*
|
|
*
|
|
*/
|
|
public List<CmisChoiceXml.Value> getValue() {
|
|
if (value == null) {
|
|
value = new ArrayList<CmisChoiceXml.Value>();
|
|
}
|
|
return this.value;
|
|
}
|
|
|
|
|
|
/**
|
|
* <p>Java class for anonymous complex type.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <sequence>
|
|
* <any/>
|
|
* </sequence>
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "", propOrder = {
|
|
"any"
|
|
})
|
|
public static class Value {
|
|
|
|
@XmlAnyElement(lax = true)
|
|
protected List<Object> any;
|
|
|
|
/**
|
|
* Gets the value of the any 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 any property.
|
|
*
|
|
* <p>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getAny().add(newItem);
|
|
* </pre>
|
|
*
|
|
*
|
|
* <p>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link Element }
|
|
* {@link Object }
|
|
*
|
|
*
|
|
*/
|
|
public List<Object> getAny() {
|
|
if (any == null) {
|
|
any = new ArrayList<Object>();
|
|
}
|
|
return this.any;
|
|
}
|
|
|
|
}
|
|
|
|
}
|