Files
alfresco-community-repo/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceUri.java
2010-03-09 00:39:21 +00:00

104 lines
3.0 KiB
Java

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for cmisChoiceUri complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="cmisChoiceUri">
* &lt;complexContent>
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceUri" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cmisChoiceUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
"value",
"choice"
})
public class CmisChoiceUri
extends CmisChoice
{
@XmlSchemaType(name = "anyURI")
protected List<String> value;
protected List<CmisChoiceUri> choice;
/**
* 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 String }
*
*
*/
public List<String> getValue() {
if (value == null) {
value = new ArrayList<String>();
}
return this.value;
}
/**
* Gets the value of the choice 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 choice property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getChoice().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CmisChoiceUri }
*
*
*/
public List<CmisChoiceUri> getChoice() {
if (choice == null) {
choice = new ArrayList<CmisChoiceUri>();
}
return this.choice;
}
}