1
2 package org.apache.chemistry.opencmis.commons.impl.jaxb;
3
4 import java.math.BigInteger;
5 import javax.xml.bind.JAXBElement;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlElementRef;
10 import javax.xml.bind.annotation.XmlRootElement;
11 import javax.xml.bind.annotation.XmlType;
12
13
14 /**
15 * <p>Java class for anonymous complex type.
16 *
17 * <p>The following schema fragment specifies the expected content contained within this class.
18 *
19 * <pre>
20 * <complexType>
21 * <complexContent>
22 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23 * <sequence>
24 * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25 * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
26 * <element name="streamId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
27 * <element name="offset" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
28 * <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
29 * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
30 * </sequence>
31 * </restriction>
32 * </complexContent>
33 * </complexType>
34 * </pre>
35 *
36 *
37 */
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "", propOrder = {
40 "repositoryId",
41 "objectId",
42 "streamId",
43 "offset",
44 "length",
45 "extension"
46 })
47 @XmlRootElement(name = "getContentStream")
48 public class GetContentStream {
49
50 @XmlElement(required = true)
51 protected String repositoryId;
52 @XmlElement(required = true)
53 protected String objectId;
54 @XmlElementRef(name = "streamId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
55 protected JAXBElement<String> streamId;
56 @XmlElementRef(name = "offset", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
57 protected JAXBElement<BigInteger> offset;
58 @XmlElementRef(name = "length", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
59 protected JAXBElement<BigInteger> length;
60 @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
61 protected JAXBElement<CmisExtensionType> extension;
62
63 /**
64 * Gets the value of the repositoryId property.
65 *
66 * @return
67 * possible object is
68 * {@link String }
69 *
70 */
71 public String getRepositoryId() {
72 return repositoryId;
73 }
74
75 /**
76 * Sets the value of the repositoryId property.
77 *
78 * @param value
79 * allowed object is
80 * {@link String }
81 *
82 */
83 public void setRepositoryId(String value) {
84 this.repositoryId = value;
85 }
86
87 /**
88 * Gets the value of the objectId property.
89 *
90 * @return
91 * possible object is
92 * {@link String }
93 *
94 */
95 public String getObjectId() {
96 return objectId;
97 }
98
99 /**
100 * Sets the value of the objectId property.
101 *
102 * @param value
103 * allowed object is
104 * {@link String }
105 *
106 */
107 public void setObjectId(String value) {
108 this.objectId = value;
109 }
110
111 /**
112 * Gets the value of the streamId property.
113 *
114 * @return
115 * possible object is
116 * {@link JAXBElement }{@code <}{@link String }{@code >}
117 *
118 */
119 public JAXBElement<String> getStreamId() {
120 return streamId;
121 }
122
123 /**
124 * Sets the value of the streamId property.
125 *
126 * @param value
127 * allowed object is
128 * {@link JAXBElement }{@code <}{@link String }{@code >}
129 *
130 */
131 public void setStreamId(JAXBElement<String> value) {
132 this.streamId = ((JAXBElement<String> ) value);
133 }
134
135 /**
136 * Gets the value of the offset property.
137 *
138 * @return
139 * possible object is
140 * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
141 *
142 */
143 public JAXBElement<BigInteger> getOffset() {
144 return offset;
145 }
146
147 /**
148 * Sets the value of the offset property.
149 *
150 * @param value
151 * allowed object is
152 * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
153 *
154 */
155 public void setOffset(JAXBElement<BigInteger> value) {
156 this.offset = ((JAXBElement<BigInteger> ) value);
157 }
158
159 /**
160 * Gets the value of the length property.
161 *
162 * @return
163 * possible object is
164 * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
165 *
166 */
167 public JAXBElement<BigInteger> getLength() {
168 return length;
169 }
170
171 /**
172 * Sets the value of the length property.
173 *
174 * @param value
175 * allowed object is
176 * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
177 *
178 */
179 public void setLength(JAXBElement<BigInteger> value) {
180 this.length = ((JAXBElement<BigInteger> ) value);
181 }
182
183 /**
184 * Gets the value of the extension property.
185 *
186 * @return
187 * possible object is
188 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
189 *
190 */
191 public JAXBElement<CmisExtensionType> getExtension() {
192 return extension;
193 }
194
195 /**
196 * Sets the value of the extension property.
197 *
198 * @param value
199 * allowed object is
200 * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
201 *
202 */
203 public void setExtension(JAXBElement<CmisExtensionType> value) {
204 this.extension = ((JAXBElement<CmisExtensionType> ) value);
205 }
206
207 }