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="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
24 * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
25 * </sequence>
26 * </restriction>
27 * </complexContent>
28 * </complexType>
29 * </pre>
30 *
31 *
32 */
33 @XmlAccessorType(XmlAccessType.FIELD)
34 @XmlType(name = "", propOrder = {
35 "objectId",
36 "extension"
37 })
38 @XmlRootElement(name = "createPolicyResponse")
39 public class CreatePolicyResponse {
40
41 @XmlElement(required = true)
42 protected String objectId;
43 @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
44 protected JAXBElement<CmisExtensionType> extension;
45
46 /**
47 * Gets the value of the objectId property.
48 *
49 * @return
50 * possible object is
51 * {@link String }
52 *
53 */
54 public String getObjectId() {
55 return objectId;
56 }
57
58 /**
59 * Sets the value of the objectId property.
60 *
61 * @param value
62 * allowed object is
63 * {@link String }
64 *
65 */
66 public void setObjectId(String value) {
67 this.objectId = value;
68 }
69
70 /**
71 * Gets the value of the extension property.
72 *
73 * @return
74 * possible object is
75 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
76 *
77 */
78 public JAXBElement<CmisExtensionType> getExtension() {
79 return extension;
80 }
81
82 /**
83 * Sets the value of the extension property.
84 *
85 * @param value
86 * allowed object is
87 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
88 *
89 */
90 public void setExtension(JAXBElement<CmisExtensionType> value) {
91 this.extension = ((JAXBElement<CmisExtensionType> ) value);
92 }
93
94 }