1
2 package org.apache.chemistry.opencmis.commons.impl.jaxb;
3
4 import javax.xml.bind.JAXBElement;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlElementRef;
9 import javax.xml.bind.annotation.XmlRootElement;
10 import javax.xml.bind.annotation.XmlType;
11
12
13 /**
14 * <p>Java class for anonymous complex type.
15 *
16 * <p>The following schema fragment specifies the expected content contained within this class.
17 *
18 * <pre>
19 * <complexType>
20 * <complexContent>
21 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22 * <sequence>
23 * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
24 * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25 * <element name="allVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
26 * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
27 * </sequence>
28 * </restriction>
29 * </complexContent>
30 * </complexType>
31 * </pre>
32 *
33 *
34 */
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "", propOrder = {
37 "repositoryId",
38 "objectId",
39 "allVersions",
40 "extension"
41 })
42 @XmlRootElement(name = "deleteObject")
43 public class DeleteObject {
44
45 @XmlElement(required = true)
46 protected String repositoryId;
47 @XmlElement(required = true)
48 protected String objectId;
49 @XmlElementRef(name = "allVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
50 protected JAXBElement<Boolean> allVersions;
51 @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
52 protected JAXBElement<CmisExtensionType> extension;
53
54 /**
55 * Gets the value of the repositoryId property.
56 *
57 * @return
58 * possible object is
59 * {@link String }
60 *
61 */
62 public String getRepositoryId() {
63 return repositoryId;
64 }
65
66 /**
67 * Sets the value of the repositoryId property.
68 *
69 * @param value
70 * allowed object is
71 * {@link String }
72 *
73 */
74 public void setRepositoryId(String value) {
75 this.repositoryId = value;
76 }
77
78 /**
79 * Gets the value of the objectId property.
80 *
81 * @return
82 * possible object is
83 * {@link String }
84 *
85 */
86 public String getObjectId() {
87 return objectId;
88 }
89
90 /**
91 * Sets the value of the objectId property.
92 *
93 * @param value
94 * allowed object is
95 * {@link String }
96 *
97 */
98 public void setObjectId(String value) {
99 this.objectId = value;
100 }
101
102 /**
103 * Gets the value of the allVersions property.
104 *
105 * @return
106 * possible object is
107 * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
108 *
109 */
110 public JAXBElement<Boolean> getAllVersions() {
111 return allVersions;
112 }
113
114 /**
115 * Sets the value of the allVersions property.
116 *
117 * @param value
118 * allowed object is
119 * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
120 *
121 */
122 public void setAllVersions(JAXBElement<Boolean> value) {
123 this.allVersions = ((JAXBElement<Boolean> ) value);
124 }
125
126 /**
127 * Gets the value of the extension property.
128 *
129 * @return
130 * possible object is
131 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
132 *
133 */
134 public JAXBElement<CmisExtensionType> getExtension() {
135 return extension;
136 }
137
138 /**
139 * Sets the value of the extension property.
140 *
141 * @param value
142 * allowed object is
143 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
144 *
145 */
146 public void setExtension(JAXBElement<CmisExtensionType> value) {
147 this.extension = ((JAXBElement<CmisExtensionType> ) value);
148 }
149
150 }