View Javadoc
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  import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
12  
13  
14  /**
15   * 
16   *          returns the email address of the current user
17   *            
18   * 
19   * <p>Java class for SetMyEmailAddressRequestMsg complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType name="SetMyEmailAddressRequestMsg">
25   *   &lt;complexContent>
26   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *       &lt;sequence>
28   *         &lt;element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
29   *         &lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="4"/>
30   *       &lt;/sequence>
31   *     &lt;/restriction>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "SetMyEmailAddressRequestMsg", propOrder = {
40      "classification",
41      "email"
42  })
43  public class SetMyEmailAddressRequestMsg
44      implements Serializable
45  {
46  
47      private final static long serialVersionUID = 1L;
48      @XmlElement(required = true)
49      protected SecurityWrapper classification;
50      @XmlElement(required = false, nillable = true)
51      protected List<String> email;
52  
53      /**
54       * Gets the value of the classification property.
55       * 
56       * @return
57       *     possible object is
58       *     {@link SecurityWrapper }
59       *     
60       */
61      public SecurityWrapper getClassification() {
62          return classification;
63      }
64  
65      /**
66       * Sets the value of the classification property.
67       * 
68       * @param value
69       *     allowed object is
70       *     {@link SecurityWrapper }
71       *     
72       */
73      public void setClassification(SecurityWrapper value) {
74          this.classification = value;
75      }
76  
77      public boolean isSetClassification() {
78          return (this.classification!= null);
79      }
80  
81      /**
82       * Gets the value of the email property.
83       * 
84       * <p>
85       * This accessor method returns a reference to the live list,
86       * not a snapshot. Therefore any modification you make to the
87       * returned list will be present inside the JAXB object.
88       * This is why there is not a <CODE>set</CODE> method for the email property.
89       * 
90       * <p>
91       * For example, to add a new item, do as follows:
92       * <pre>
93       *    getEmail().add(newItem);
94       * </pre>
95       * 
96       * 
97       * <p>
98       * Objects of the following type(s) are allowed in the list
99       * {@link String }
100      * 
101      * 
102      */
103     public List<String> getEmail() {
104         if (email == null) {
105             email = new ArrayList<String>();
106         }
107         return this.email;
108     }
109 
110     public boolean isSetEmail() {
111         return ((this.email!= null)&&(!this.email.isEmpty()));
112     }
113 
114     public void unsetEmail() {
115         this.email = null;
116     }
117 
118 }