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; import org.alfresco.repo.cmis.ws.GetAllowableActionsResponse.AllowableActionCollection; /** *

Java class for getAllowableActionsResponse element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="getAllowableActionsResponse">
 *   <complexType>
 *     <complexContent>
 *       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *         <sequence>
 *           <element name="allowableActionCollection">
 *             <complexType>
 *               <complexContent>
 *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                   <sequence>
 *                     <element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
 *                   </sequence>
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *         </sequence>
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "allowableActionCollection" }) @XmlRootElement(name = "getAllowableActionsResponse") public class GetAllowableActionsResponse { @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected AllowableActionCollection allowableActionCollection; /** * Gets the value of the allowableActionCollection property. * * @return * possible object is * {@link AllowableActionCollection } * */ public AllowableActionCollection getAllowableActionCollection() { return allowableActionCollection; } /** * Sets the value of the allowableActionCollection property. * * @param value * allowed object is * {@link AllowableActionCollection } * */ public void setAllowableActionCollection(AllowableActionCollection value) { this.allowableActionCollection = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "action" }) public static class AllowableActionCollection { @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected List action; /** * Gets the value of the action property. * *

* 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 set method for the action property. * *

* For example, to add a new item, do as follows: *

         *    getAction().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AllowableActionsEnum } * * */ public List getAction() { if (action == null) { action = new ArrayList(); } return this.action; } } }