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="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25 * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
26 * </sequence>
27 * </restriction>
28 * </complexContent>
29 * </complexType>
30 * </pre>
31 *
32 *
33 */
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "", propOrder = {
36 "repositoryId",
37 "typeId",
38 "extension"
39 })
40 @XmlRootElement(name = "getTypeDefinition")
41 public class GetTypeDefinition {
42
43 @XmlElement(required = true)
44 protected String repositoryId;
45 @XmlElement(required = true)
46 protected String typeId;
47 @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
48 protected JAXBElement<CmisExtensionType> extension;
49
50 /**
51 * Gets the value of the repositoryId property.
52 *
53 * @return
54 * possible object is
55 * {@link String }
56 *
57 */
58 public String getRepositoryId() {
59 return repositoryId;
60 }
61
62 /**
63 * Sets the value of the repositoryId property.
64 *
65 * @param value
66 * allowed object is
67 * {@link String }
68 *
69 */
70 public void setRepositoryId(String value) {
71 this.repositoryId = value;
72 }
73
74 /**
75 * Gets the value of the typeId property.
76 *
77 * @return
78 * possible object is
79 * {@link String }
80 *
81 */
82 public String getTypeId() {
83 return typeId;
84 }
85
86 /**
87 * Sets the value of the typeId property.
88 *
89 * @param value
90 * allowed object is
91 * {@link String }
92 *
93 */
94 public void setTypeId(String value) {
95 this.typeId = value;
96 }
97
98 /**
99 * Gets the value of the extension property.
100 *
101 * @return
102 * possible object is
103 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
104 *
105 */
106 public JAXBElement<CmisExtensionType> getExtension() {
107 return extension;
108 }
109
110 /**
111 * Sets the value of the extension property.
112 *
113 * @param value
114 * allowed object is
115 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
116 *
117 */
118 public void setExtension(JAXBElement<CmisExtensionType> value) {
119 this.extension = ((JAXBElement<CmisExtensionType> ) value);
120 }
121
122 }