Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 brianR 1
 
2
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.XmlElementRef;
10
import javax.xml.bind.annotation.XmlType;
11
12
 
13
 
14
 * <p>Java class for NameValue complex type.
15
 *
16
 * <p>The following schema fragment specifies the expected content contained within this class.
17
 *
18
 * <pre>
19
 * &lt;complexType name="NameValue">
20
 *   &lt;complexContent>
21
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22
 *       &lt;sequence>
23
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
24
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
25
 *         &lt;element name="uuid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
26
 *         &lt;element name="setValueBy" type="{urn:aewebservices71}Set-Value-By" minOccurs="0"/>
27
 *         &lt;element name="setValueMethod" type="{urn:aewebservices71}Set-Value-Method" minOccurs="0"/>
28
 *         &lt;choice>
29
 *           &lt;element name="value" type="{urn:aewebservices71}Value" minOccurs="0"/>
30
 *           &lt;element name="values" type="{urn:aewebservices71}Value" maxOccurs="unbounded" minOccurs="0"/>
31
 *         &lt;/choice>
32
 *       &lt;/sequence>
33
 *     &lt;/restriction>
34
 *   &lt;/complexContent>
35
 * &lt;/complexType>
36
 * </pre>
37
 *
38
 *
39
 */
40
@XmlAccessorType(XmlAccessType.FIELD)
41
@XmlType(name = "NameValue", propOrder = {
42
    "name",
43
    "id",
44
    "uuid",
45
    "setValueBy",
46
    "setValueMethod",
47
    "value",
48
    "values"
49
})
50
public class NameValue {
51
52
 
53
    protected JAXBElement<String> name;
54
    protected BigInteger id;
55
    @XmlElementRef(name = "uuid", namespace = "urn:aewebservices71", type = JAXBElement.class)
56
    protected JAXBElement<String> uuid;
57
    @XmlElementRef(name = "setValueBy", namespace = "urn:aewebservices71", type = JAXBElement.class)
58
    protected JAXBElement<SetValueBy> setValueBy;
59
    @XmlElementRef(name = "setValueMethod", namespace = "urn:aewebservices71", type = JAXBElement.class)
60
    protected JAXBElement<SetValueMethod> setValueMethod;
61
    @XmlElementRef(name = "value", namespace = "urn:aewebservices71", type = JAXBElement.class)
62
    protected JAXBElement<Value> value;
63
    protected List<Value> values;
64
65
 
66
     * Gets the value of the name property.
67
     *
68
     * @return
69
     *     possible object is
70
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
71
     *
72
     */
73
    public JAXBElement<String> getName() {
74
        return name;
75
    }
76
77
 
78
     * Sets the value of the name property.
79
     *
80
     * @param value
81
     *     allowed object is
82
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
83
     *
84
     */
85
    public void setName(JAXBElement<String> value) {
86
        this.name = ((JAXBElement<String> ) value);
87
    }
88
89
 
90
     * Gets the value of the id property.
91
     *
92
     * @return
93
     *     possible object is
94
     *     {@link BigInteger }
95
     *
96
     */
97
    public BigInteger getId() {
98
        return id;
99
    }
100
101
 
102
     * Sets the value of the id property.
103
     *
104
     * @param value
105
     *     allowed object is
106
     *     {@link BigInteger }
107
     *
108
     */
109
    public void setId(BigInteger value) {
110
        this.id = value;
111
    }
112
113
 
114
     * Gets the value of the uuid property.
115
     *
116
     * @return
117
     *     possible object is
118
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
119
     *
120
     */
121
    public JAXBElement<String> getUuid() {
122
        return uuid;
123
    }
124
125
 
126
     * Sets the value of the uuid property.
127
     *
128
     * @param value
129
     *     allowed object is
130
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
131
     *
132
     */
133
    public void setUuid(JAXBElement<String> value) {
134
        this.uuid = ((JAXBElement<String> ) value);
135
    }
136
137
 
138
     * Gets the value of the setValueBy property.
139
     *
140
     * @return
141
     *     possible object is
142
     *     {@link JAXBElement }{@code <}{@link SetValueBy }{@code >}
143
     *
144
     */
145
    public JAXBElement<SetValueBy> getSetValueBy() {
146
        return setValueBy;
147
    }
148
149
 
150
     * Sets the value of the setValueBy property.
151
     *
152
     * @param value
153
     *     allowed object is
154
     *     {@link JAXBElement }{@code <}{@link SetValueBy }{@code >}
155
     *
156
     */
157
    public void setSetValueBy(JAXBElement<SetValueBy> value) {
158
        this.setValueBy = ((JAXBElement<SetValueBy> ) value);
159
    }
160
161
 
162
     * Gets the value of the setValueMethod property.
163
     *
164
     * @return
165
     *     possible object is
166
     *     {@link JAXBElement }{@code <}{@link SetValueMethod }{@code >}
167
     *
168
     */
169
    public JAXBElement<SetValueMethod> getSetValueMethod() {
170
        return setValueMethod;
171
    }
172
173
 
174
     * Sets the value of the setValueMethod property.
175
     *
176
     * @param value
177
     *     allowed object is
178
     *     {@link JAXBElement }{@code <}{@link SetValueMethod }{@code >}
179
     *
180
     */
181
    public void setSetValueMethod(JAXBElement<SetValueMethod> value) {
182
        this.setValueMethod = ((JAXBElement<SetValueMethod> ) value);
183
    }
184
185
 
186
     * Gets the value of the value property.
187
     *
188
     * @return
189
     *     possible object is
190
     *     {@link JAXBElement }{@code <}{@link Value }{@code >}
191
     *
192
     */
193
    public JAXBElement<Value> getValue() {
194
        return value;
195
    }
196
197
 
198
     * Sets the value of the value property.
199
     *
200
     * @param value
201
     *     allowed object is
202
     *     {@link JAXBElement }{@code <}{@link Value }{@code >}
203
     *
204
     */
205
    public void setValue(JAXBElement<Value> value) {
206
        this.value = ((JAXBElement<Value> ) value);
207
    }
208
209
 
210
     * Gets the value of the values property.
211
     *
212
     * <p>
213
     * This accessor method returns a reference to the live list,
214
     * not a snapshot. Therefore any modification you make to the
215
     * returned list will be present inside the JAXB object.
216
     * This is why there is not a <CODE>set</CODE> method for the values property.
217
     *
218
     * <p>
219
     * For example, to add a new item, do as follows:
220
     * <pre>
221
     *    getValues().add(newItem);
222
     * </pre>
223
     *
224
     *
225
     * <p>
226
     * Objects of the following type(s) are allowed in the list
227
     * {@link Value }
228
     *
229
     *
230
     */
231
    public List<Value> getValues() {
232
        if (values == null) {
233
            values = new ArrayList<Value>();
234
        }
235
        return this.values;
236
    }
237
238
 
239