1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
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 * collection of user information
15 *
16 * <p>Java class for ArrayOfUserInfo complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType name="ArrayOfUserInfo">
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence>
25 * <element name="UserInfo" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}UserInfo" maxOccurs="unbounded"/>
26 * </sequence>
27 * </restriction>
28 * </complexContent>
29 * </complexType>
30 * </pre>
31 *
32 *
33 */
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "ArrayOfUserInfo", propOrder = {
36 "userInfo"
37 })
38 public class ArrayOfUserInfo
39 implements Serializable
40 {
41
42 private final static long serialVersionUID = 1L;
43 @XmlElement(name = "UserInfo", required = true, nillable = true)
44 protected List<UserInfo> userInfo;
45
46 /**
47 * Gets the value of the userInfo property.
48 *
49 * <p>
50 * This accessor method returns a reference to the live list,
51 * not a snapshot. Therefore any modification you make to the
52 * returned list will be present inside the JAXB object.
53 * This is why there is not a <CODE>set</CODE> method for the userInfo property.
54 *
55 * <p>
56 * For example, to add a new item, do as follows:
57 * <pre>
58 * getUserInfo().add(newItem);
59 * </pre>
60 *
61 *
62 * <p>
63 * Objects of the following type(s) are allowed in the list
64 * {@link UserInfo }
65 *
66 *
67 */
68 public List<UserInfo> getUserInfo() {
69 if (userInfo == null) {
70 userInfo = new ArrayList<UserInfo>();
71 }
72 return this.userInfo;
73 }
74
75 public boolean isSetUserInfo() {
76 return ((this.userInfo!= null)&&(!this.userInfo.isEmpty()));
77 }
78
79 public void unsetUserInfo() {
80 this.userInfo = null;
81 }
82
83 }