Rev 1312 | Rev 1503 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1067 | jmachado | 1 | // |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
||
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
||
4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
||
1338 | jmachado | 5 | // Generated on: 2016.03.28 at 02:59:42 PM WEST |
1067 | jmachado | 6 | // |
7 | |||
8 | |||
9 | package pt.estgp.estgweb.services.directories.xsd; |
||
10 | |||
11 | import java.util.ArrayList; |
||
12 | import java.util.List; |
||
1312 | jmachado | 13 | import javax.xml.bind.annotation.XmlAccessType; |
14 | import javax.xml.bind.annotation.XmlAccessorType; |
||
15 | import javax.xml.bind.annotation.XmlAttribute; |
||
16 | import javax.xml.bind.annotation.XmlElement; |
||
17 | import javax.xml.bind.annotation.XmlType; |
||
1067 | jmachado | 18 | |
19 | |||
20 | /** |
||
21 | * Rights define who is authorized to enter in a node |
||
22 | * |
||
23 | * <p>Java class for rightsT complex type. |
||
24 | * |
||
25 | * <p>The following schema fragment specifies the expected content contained within this class. |
||
26 | * |
||
27 | * <pre> |
||
28 | * <complexType name="rightsT"> |
||
29 | * <complexContent> |
||
30 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
31 | * <sequence> |
||
32 | * <element name="right" maxOccurs="unbounded"> |
||
33 | * <complexType> |
||
34 | * <complexContent> |
||
35 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
36 | * <attribute name="target" use="required"> |
||
37 | * <simpleType> |
||
38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
39 | * <enumeration value="user"/> |
||
40 | * <enumeration value="role"/> |
||
41 | * </restriction> |
||
42 | * </simpleType> |
||
43 | * </attribute> |
||
44 | * <attribute name="type" use="required"> |
||
45 | * <simpleType> |
||
46 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
47 | * <enumeration value="permit"/> |
||
48 | * <enumeration value="restrict"/> |
||
49 | * </restriction> |
||
50 | * </simpleType> |
||
51 | * </attribute> |
||
52 | * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
||
53 | * </restriction> |
||
54 | * </complexContent> |
||
55 | * </complexType> |
||
56 | * </element> |
||
57 | * <element name="internal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> |
||
58 | * </sequence> |
||
59 | * </restriction> |
||
60 | * </complexContent> |
||
61 | * </complexType> |
||
62 | * </pre> |
||
63 | * |
||
64 | * |
||
65 | */ |
||
66 | @XmlAccessorType(XmlAccessType.FIELD) |
||
67 | @XmlType(name = "rightsT", propOrder = { |
||
68 | "right", |
||
69 | "internal" |
||
70 | }) |
||
71 | public class RightsT { |
||
72 | |||
73 | @XmlElement(required = true) |
||
74 | protected List<RightsT.Right> right; |
||
75 | protected 1.5.0/docs/api/java/lang/Boolean.html">Boolean internal; |
||
76 | |||
77 | /** |
||
78 | * Gets the value of the right property. |
||
79 | * |
||
80 | * <p> |
||
81 | * This accessor method returns a reference to the live list, |
||
82 | * not a snapshot. Therefore any modification you make to the |
||
83 | * returned list will be present inside the JAXB object. |
||
84 | * This is why there is not a <CODE>set</CODE> method for the right property. |
||
85 | * |
||
86 | * <p> |
||
87 | * For example, to add a new item, do as follows: |
||
88 | * <pre> |
||
89 | * getRight().add(newItem); |
||
90 | * </pre> |
||
91 | * |
||
92 | * |
||
93 | * <p> |
||
94 | * Objects of the following type(s) are allowed in the list |
||
95 | * {@link RightsT.Right } |
||
96 | * |
||
97 | * |
||
98 | */ |
||
99 | public List<RightsT.Right> getRight() { |
||
100 | if (right == null) { |
||
101 | right = new ArrayList<RightsT.Right>(); |
||
102 | } |
||
103 | return this.right; |
||
104 | } |
||
105 | |||
106 | /** |
||
107 | * Gets the value of the internal property. |
||
108 | * |
||
109 | * @return |
||
110 | * possible object is |
||
111 | * {@link Boolean } |
||
112 | * |
||
113 | */ |
||
114 | public 1.5.0/docs/api/java/lang/Boolean.html">Boolean getInternal() { |
||
115 | return internal; |
||
116 | } |
||
117 | |||
118 | /** |
||
119 | * Sets the value of the internal property. |
||
120 | * |
||
121 | * @param value |
||
122 | * allowed object is |
||
123 | * {@link Boolean } |
||
124 | * |
||
125 | */ |
||
126 | public void setInternal(1.5.0/docs/api/java/lang/Boolean.html">Boolean value) { |
||
127 | this.internal = value; |
||
128 | } |
||
129 | |||
130 | |||
131 | /** |
||
132 | * A right T1 can be to permit or restrict |
||
133 | * |
||
134 | * <p>Java class for anonymous complex type. |
||
135 | * |
||
136 | * <p>The following schema fragment specifies the expected content contained within this class. |
||
137 | * |
||
138 | * <pre> |
||
139 | * <complexType> |
||
140 | * <complexContent> |
||
141 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
||
142 | * <attribute name="target" use="required"> |
||
143 | * <simpleType> |
||
144 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
145 | * <enumeration value="user"/> |
||
146 | * <enumeration value="role"/> |
||
147 | * </restriction> |
||
148 | * </simpleType> |
||
149 | * </attribute> |
||
150 | * <attribute name="type" use="required"> |
||
151 | * <simpleType> |
||
152 | * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> |
||
153 | * <enumeration value="permit"/> |
||
154 | * <enumeration value="restrict"/> |
||
155 | * </restriction> |
||
156 | * </simpleType> |
||
157 | * </attribute> |
||
158 | * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> |
||
159 | * </restriction> |
||
160 | * </complexContent> |
||
161 | * </complexType> |
||
162 | * </pre> |
||
163 | * |
||
164 | * |
||
165 | */ |
||
166 | @XmlAccessorType(XmlAccessType.FIELD) |
||
167 | @XmlType(name = "") |
||
168 | public static class Right { |
||
169 | |||
170 | @XmlAttribute(required = true) |
||
171 | protected 1.5.0/docs/api/java/lang/String.html">String target; |
||
172 | @XmlAttribute(required = true) |
||
173 | protected 1.5.0/docs/api/java/lang/String.html">String type; |
||
174 | @XmlAttribute(required = true) |
||
175 | protected 1.5.0/docs/api/java/lang/String.html">String name; |
||
176 | |||
177 | /** |
||
178 | * Gets the value of the target property. |
||
179 | * |
||
180 | * @return |
||
181 | * possible object is |
||
182 | * {@link String } |
||
183 | * |
||
184 | */ |
||
185 | public 1.5.0/docs/api/java/lang/String.html">String getTarget() { |
||
186 | return target; |
||
187 | } |
||
188 | |||
189 | /** |
||
190 | * Sets the value of the target property. |
||
191 | * |
||
192 | * @param value |
||
193 | * allowed object is |
||
194 | * {@link String } |
||
195 | * |
||
196 | */ |
||
197 | public void setTarget(1.5.0/docs/api/java/lang/String.html">String value) { |
||
198 | this.target = value; |
||
199 | } |
||
200 | |||
201 | /** |
||
202 | * Gets the value of the type property. |
||
203 | * |
||
204 | * @return |
||
205 | * possible object is |
||
206 | * {@link String } |
||
207 | * |
||
208 | */ |
||
209 | public 1.5.0/docs/api/java/lang/String.html">String getType() { |
||
210 | return type; |
||
211 | } |
||
212 | |||
213 | /** |
||
214 | * Sets the value of the type property. |
||
215 | * |
||
216 | * @param value |
||
217 | * allowed object is |
||
218 | * {@link String } |
||
219 | * |
||
220 | */ |
||
221 | public void setType(1.5.0/docs/api/java/lang/String.html">String value) { |
||
222 | this.type = value; |
||
223 | } |
||
224 | |||
225 | /** |
||
226 | * Gets the value of the name property. |
||
227 | * |
||
228 | * @return |
||
229 | * possible object is |
||
230 | * {@link String } |
||
231 | * |
||
232 | */ |
||
233 | public 1.5.0/docs/api/java/lang/String.html">String getName() { |
||
234 | return name; |
||
235 | } |
||
236 | |||
237 | /** |
||
238 | * Sets the value of the name property. |
||
239 | * |
||
240 | * @param value |
||
241 | * allowed object is |
||
242 | * {@link String } |
||
243 | * |
||
244 | */ |
||
245 | public void setName(1.5.0/docs/api/java/lang/String.html">String value) { |
||
246 | this.name = value; |
||
247 | } |
||
248 | |||
249 | } |
||
250 | |||
251 | } |