This project has retired. For details please refer to its
Attic page.
CreateRelationship xref
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.JAXBElement;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlElementRef;
11 import javax.xml.bind.annotation.XmlRootElement;
12 import javax.xml.bind.annotation.XmlType;
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "", propOrder = {
41 "repositoryId",
42 "properties",
43 "policies",
44 "addACEs",
45 "removeACEs",
46 "extension"
47 })
48 @XmlRootElement(name = "createRelationship")
49 public class CreateRelationship {
50
51 @XmlElement(required = true)
52 protected String repositoryId;
53 @XmlElement(required = true)
54 protected CmisPropertiesType properties;
55 @XmlElement(nillable = true)
56 protected List<String> policies;
57 @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
58 protected JAXBElement<CmisAccessControlListType> addACEs;
59 @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
60 protected JAXBElement<CmisAccessControlListType> removeACEs;
61 @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
62 protected JAXBElement<CmisExtensionType> extension;
63
64
65
66
67
68
69
70
71
72 public String getRepositoryId() {
73 return repositoryId;
74 }
75
76
77
78
79
80
81
82
83
84 public void setRepositoryId(String value) {
85 this.repositoryId = value;
86 }
87
88
89
90
91
92
93
94
95
96 public CmisPropertiesType getProperties() {
97 return properties;
98 }
99
100
101
102
103
104
105
106
107
108 public void setProperties(CmisPropertiesType value) {
109 this.properties = value;
110 }
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134 public List<String> getPolicies() {
135 if (policies == null) {
136 policies = new ArrayList<String>();
137 }
138 return this.policies;
139 }
140
141
142
143
144
145
146
147
148
149 public JAXBElement<CmisAccessControlListType> getAddACEs() {
150 return addACEs;
151 }
152
153
154
155
156
157
158
159
160
161 public void setAddACEs(JAXBElement<CmisAccessControlListType> value) {
162 this.addACEs = ((JAXBElement<CmisAccessControlListType> ) value);
163 }
164
165
166
167
168
169
170
171
172
173 public JAXBElement<CmisAccessControlListType> getRemoveACEs() {
174 return removeACEs;
175 }
176
177
178
179
180
181
182
183
184
185 public void setRemoveACEs(JAXBElement<CmisAccessControlListType> value) {
186 this.removeACEs = ((JAXBElement<CmisAccessControlListType> ) value);
187 }
188
189
190
191
192
193
194
195
196
197 public JAXBElement<CmisExtensionType> getExtension() {
198 return extension;
199 }
200
201
202
203
204
205
206
207
208
209 public void setExtension(JAXBElement<CmisExtensionType> value) {
210 this.extension = ((JAXBElement<CmisExtensionType> ) value);
211 }
212
213 }