Subversion Repositories bacoAlunos

Rev

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
 * &lt;complexType name="rightsT">
29
 *   &lt;complexContent>
30
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *       &lt;sequence>
32
 *         &lt;element name="right" maxOccurs="unbounded">
33
 *           &lt;complexType>
34
 *             &lt;complexContent>
35
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36
 *                 &lt;attribute name="target" use="required">
37
 *                   &lt;simpleType>
38
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
39
 *                       &lt;enumeration value="user"/>
40
 *                       &lt;enumeration value="role"/>
41
 *                     &lt;/restriction>
42
 *                   &lt;/simpleType>
43
 *                 &lt;/attribute>
44
 *                 &lt;attribute name="type" use="required">
45
 *                   &lt;simpleType>
46
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
47
 *                       &lt;enumeration value="permit"/>
48
 *                       &lt;enumeration value="restrict"/>
49
 *                     &lt;/restriction>
50
 *                   &lt;/simpleType>
51
 *                 &lt;/attribute>
52
 *                 &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
53
 *               &lt;/restriction>
54
 *             &lt;/complexContent>
55
 *           &lt;/complexType>
56
 *         &lt;/element>
57
 *         &lt;element name="internal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
58
 *       &lt;/sequence>
59
 *     &lt;/restriction>
60
 *   &lt;/complexContent>
61
 * &lt;/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
     * &lt;complexType>
140
     *   &lt;complexContent>
141
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
142
     *       &lt;attribute name="target" use="required">
143
     *         &lt;simpleType>
144
     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
145
     *             &lt;enumeration value="user"/>
146
     *             &lt;enumeration value="role"/>
147
     *           &lt;/restriction>
148
     *         &lt;/simpleType>
149
     *       &lt;/attribute>
150
     *       &lt;attribute name="type" use="required">
151
     *         &lt;simpleType>
152
     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
153
     *             &lt;enumeration value="permit"/>
154
     *             &lt;enumeration value="restrict"/>
155
     *           &lt;/restriction>
156
     *         &lt;/simpleType>
157
     *       &lt;/attribute>
158
     *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
159
     *     &lt;/restriction>
160
     *   &lt;/complexContent>
161
     * &lt;/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
}