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   *             sets a list of properties for sending email alerts, requires global admin privledges
17   *            
18   * 
19   * <p>Java class for SetMailSettingsRequestMsg complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType name="SetMailSettingsRequestMsg">
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="propertiesList" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}propertiesList" maxOccurs="unbounded"/>
30   *       &lt;/sequence>
31   *     &lt;/restriction>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "SetMailSettingsRequestMsg", propOrder = {
40      "classification",
41      "propertiesList"
42  })
43  public class SetMailSettingsRequestMsg
44      implements Serializable
45  {
46  
47      private final static long serialVersionUID = 1L;
48      @XmlElement(required = true, nillable = true)
49      protected SecurityWrapper classification;
50      @XmlElement(required = true)
51      protected List<PropertiesList> propertiesList;
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 propertiesList 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 propertiesList property.
89       * 
90       * <p>
91       * For example, to add a new item, do as follows:
92       * <pre>
93       *    getPropertiesList().add(newItem);
94       * </pre>
95       * 
96       * 
97       * <p>
98       * Objects of the following type(s) are allowed in the list
99       * {@link PropertiesList }
100      * 
101      * 
102      */
103     public List<PropertiesList> getPropertiesList() {
104         if (propertiesList == null) {
105             propertiesList = new ArrayList<PropertiesList>();
106         }
107         return this.propertiesList;
108     }
109 
110     public boolean isSetPropertiesList() {
111         return ((this.propertiesList!= null)&&(!this.propertiesList.isEmpty()));
112     }
113 
114     public void unsetPropertiesList() {
115         this.propertiesList = null;
116     }
117 
118 }