1 2 package org.apache.chemistry.opencmis.commons.impl.jaxb; 3 4 import java.util.ArrayList; 5 import java.util.List; 6 import javax.xml.bind.annotation.XmlAccessType; 7 import javax.xml.bind.annotation.XmlAccessorType; 8 import javax.xml.bind.annotation.XmlAnyElement; 9 import javax.xml.bind.annotation.XmlElement; 10 import javax.xml.bind.annotation.XmlRootElement; 11 import javax.xml.bind.annotation.XmlType; 12 import org.w3c.dom.Element; 13 14 15 /** 16 * <p>Java class for anonymous complex type. 17 * 18 * <p>The following schema fragment specifies the expected content contained within this class. 19 * 20 * <pre> 21 * <complexType> 22 * <complexContent> 23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 24 * <sequence> 25 * <element name="failedToDelete"> 26 * <complexType> 27 * <complexContent> 28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 29 * <sequence> 30 * <element name="objectIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 31 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 32 * </sequence> 33 * </restriction> 34 * </complexContent> 35 * </complexType> 36 * </element> 37 * </sequence> 38 * </restriction> 39 * </complexContent> 40 * </complexType> 41 * </pre> 42 * 43 * 44 */ 45 @XmlAccessorType(XmlAccessType.FIELD) 46 @XmlType(name = "", propOrder = { 47 "failedToDelete" 48 }) 49 @XmlRootElement(name = "deleteTreeResponse") 50 public class DeleteTreeResponse { 51 52 @XmlElement(required = true) 53 protected DeleteTreeResponse.FailedToDelete failedToDelete; 54 55 /** 56 * Gets the value of the failedToDelete property. 57 * 58 * @return 59 * possible object is 60 * {@link DeleteTreeResponse.FailedToDelete } 61 * 62 */ 63 public DeleteTreeResponse.FailedToDelete getFailedToDelete() { 64 return failedToDelete; 65 } 66 67 /** 68 * Sets the value of the failedToDelete property. 69 * 70 * @param value 71 * allowed object is 72 * {@link DeleteTreeResponse.FailedToDelete } 73 * 74 */ 75 public void setFailedToDelete(DeleteTreeResponse.FailedToDelete value) { 76 this.failedToDelete = value; 77 } 78 79 80 /** 81 * <p>Java class for anonymous complex type. 82 * 83 * <p>The following schema fragment specifies the expected content contained within this class. 84 * 85 * <pre> 86 * <complexType> 87 * <complexContent> 88 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 89 * <sequence> 90 * <element name="objectIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 91 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 92 * </sequence> 93 * </restriction> 94 * </complexContent> 95 * </complexType> 96 * </pre> 97 * 98 * 99 */ 100 @XmlAccessorType(XmlAccessType.FIELD) 101 @XmlType(name = "", propOrder = { 102 "objectIds", 103 "any" 104 }) 105 public static class FailedToDelete { 106 107 protected List<String> objectIds; 108 @XmlAnyElement(lax = true) 109 protected List<Object> any; 110 111 /** 112 * Gets the value of the objectIds property. 113 * 114 * <p> 115 * This accessor method returns a reference to the live list, 116 * not a snapshot. Therefore any modification you make to the 117 * returned list will be present inside the JAXB object. 118 * This is why there is not a <CODE>set</CODE> method for the objectIds property. 119 * 120 * <p> 121 * For example, to add a new item, do as follows: 122 * <pre> 123 * getObjectIds().add(newItem); 124 * </pre> 125 * 126 * 127 * <p> 128 * Objects of the following type(s) are allowed in the list 129 * {@link String } 130 * 131 * 132 */ 133 public List<String> getObjectIds() { 134 if (objectIds == null) { 135 objectIds = new ArrayList<String>(); 136 } 137 return this.objectIds; 138 } 139 140 /** 141 * Gets the value of the any property. 142 * 143 * <p> 144 * This accessor method returns a reference to the live list, 145 * not a snapshot. Therefore any modification you make to the 146 * returned list will be present inside the JAXB object. 147 * This is why there is not a <CODE>set</CODE> method for the any property. 148 * 149 * <p> 150 * For example, to add a new item, do as follows: 151 * <pre> 152 * getAny().add(newItem); 153 * </pre> 154 * 155 * 156 * <p> 157 * Objects of the following type(s) are allowed in the list 158 * {@link Element } 159 * {@link Object } 160 * 161 * 162 */ 163 public List<Object> getAny() { 164 if (any == null) { 165 any = new ArrayList<Object>(); 166 } 167 return this.any; 168 } 169 170 } 171 172 }