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