1
2 package org.miloss.fgsms.services.interfaces.common;
3
4 import java.io.Serializable;
5 import java.util.ArrayList;
6 import java.util.List;
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.XmlType;
11
12
13 /**
14 * All fields must be limited to 128 chars or less
15 *
16 * <p>Java class for NameValuePairSet complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType name="NameValuePairSet">
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence maxOccurs="unbounded">
25 * <element name="Items" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePair"/>
26 * </sequence>
27 * </restriction>
28 * </complexContent>
29 * </complexType>
30 * </pre>
31 *
32 *
33 */
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "NameValuePairSet", propOrder = {
36 "items"
37 })
38 public class NameValuePairSet implements Serializable{
39
40 @XmlElement(name = "Items", required = true)
41 protected List<NameValuePair> items;
42
43 /**
44 * Gets the value of the items property.
45 *
46 * <p>
47 * This accessor method returns a reference to the live list,
48 * not a snapshot. Therefore any modification you make to the
49 * returned list will be present inside the JAXB object.
50 * This is why there is not a <CODE>set</CODE> method for the items property.
51 *
52 * <p>
53 * For example, to add a new item, do as follows:
54 * <pre>
55 * getItems().add(newItem);
56 * </pre>
57 *
58 *
59 * <p>
60 * Objects of the following type(s) are allowed in the list
61 * {@link NameValuePair }
62 *
63 *
64 */
65 public List<NameValuePair> getItems() {
66 if (items == null) {
67 items = new ArrayList<NameValuePair>();
68 }
69 return this.items;
70 }
71
72 }