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   *          request message, sets or replaces specific parameters, items not specified will not be affected  requires global admin privledges
17   *            
18   * 
19   * <p>Java class for SetGeneralSettingsRequestMsg complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType name="SetGeneralSettingsRequestMsg">
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="keyNameValueEnc" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}keyNameValueEnc" 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 = "SetGeneralSettingsRequestMsg", propOrder = {
40      "classification",
41      "keyNameValueEnc"
42  })
43  public class SetGeneralSettingsRequestMsg
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<KeyNameValueEnc> keyNameValueEnc;
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 keyNameValueEnc 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 keyNameValueEnc property.
89       * 
90       * <p>
91       * For example, to add a new item, do as follows:
92       * <pre>
93       *    getKeyNameValueEnc().add(newItem);
94       * </pre>
95       * 
96       * 
97       * <p>
98       * Objects of the following type(s) are allowed in the list
99       * {@link KeyNameValueEnc }
100      * 
101      * 
102      */
103     public List<KeyNameValueEnc> getKeyNameValueEnc() {
104         if (keyNameValueEnc == null) {
105             keyNameValueEnc = new ArrayList<KeyNameValueEnc>();
106         }
107         return this.keyNameValueEnc;
108     }
109 
110     public boolean isSetKeyNameValueEnc() {
111         return ((this.keyNameValueEnc!= null)&&(!this.keyNameValueEnc.isEmpty()));
112     }
113 
114     public void unsetKeyNameValueEnc() {
115         this.keyNameValueEnc = null;
116     }
117 
118 }