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.XmlRootElement;
11  import javax.xml.bind.annotation.XmlType;
12  import javax.xml.datatype.Duration;
13  import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
14  
15  
16  /**
17   * 
18   *             contains the current list of 
19   *            
20   * 
21   * <p>Java class for SetProcessListByMachineResponseMsg complex type.
22   * 
23   * <p>The following schema fragment specifies the expected content contained within this class.
24   * 
25   * <pre>
26   * &lt;complexType name="SetProcessListByMachineResponseMsg">
27   *   &lt;complexContent>
28   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *       &lt;sequence>
30   *         &lt;element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
31   *         &lt;element name="ReportingFrequency" type="{http://www.w3.org/2001/XMLSchema}duration"/>
32   *         &lt;element name="MachinePolicy" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}MachinePolicy"/>
33   *         &lt;element name="ProcessPolicy" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}ProcessPolicy" maxOccurs="unbounded" minOccurs="0"/>
34   *       &lt;/sequence>
35   *     &lt;/restriction>
36   *   &lt;/complexContent>
37   * &lt;/complexType>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlRootElement
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "SetProcessListByMachineResponseMsg", propOrder = {
45      "classification",
46      "reportingFrequency",
47      "machinePolicy",
48      "processPolicy"
49  })
50  public class SetProcessListByMachineResponseMsg
51      implements Serializable
52  {
53  
54      private final static long serialVersionUID = 1L;
55      @XmlElement(required = true, nillable = true)
56      protected SecurityWrapper classification;
57      @XmlElement(name = "ReportingFrequency", required = true)
58      protected Duration reportingFrequency;
59      @XmlElement(name = "MachinePolicy", required = true)
60      protected MachinePolicy machinePolicy;
61      @XmlElement(name = "ProcessPolicy")
62      protected List<ProcessPolicy> processPolicy;
63  
64      /**
65       * Gets the value of the classification property.
66       * 
67       * @return
68       *     possible object is
69       *     {@link SecurityWrapper }
70       *     
71       */
72      public SecurityWrapper getClassification() {
73          return classification;
74      }
75  
76      /**
77       * Sets the value of the classification property.
78       * 
79       * @param value
80       *     allowed object is
81       *     {@link SecurityWrapper }
82       *     
83       */
84      public void setClassification(SecurityWrapper value) {
85          this.classification = value;
86      }
87  
88      public boolean isSetClassification() {
89          return (this.classification!= null);
90      }
91  
92      /**
93       * Gets the value of the reportingFrequency property.
94       * 
95       * @return
96       *     possible object is
97       *     {@link Duration }
98       *     
99       */
100     public Duration getReportingFrequency() {
101         return reportingFrequency;
102     }
103 
104     /**
105      * Sets the value of the reportingFrequency property.
106      * 
107      * @param value
108      *     allowed object is
109      *     {@link Duration }
110      *     
111      */
112     public void setReportingFrequency(Duration value) {
113         this.reportingFrequency = value;
114     }
115 
116     public boolean isSetReportingFrequency() {
117         return (this.reportingFrequency!= null);
118     }
119 
120     /**
121      * Gets the value of the machinePolicy property.
122      * 
123      * @return
124      *     possible object is
125      *     {@link MachinePolicy }
126      *     
127      */
128     public MachinePolicy getMachinePolicy() {
129         return machinePolicy;
130     }
131 
132     /**
133      * Sets the value of the machinePolicy property.
134      * 
135      * @param value
136      *     allowed object is
137      *     {@link MachinePolicy }
138      *     
139      */
140     public void setMachinePolicy(MachinePolicy value) {
141         this.machinePolicy = value;
142     }
143 
144     public boolean isSetMachinePolicy() {
145         return (this.machinePolicy!= null);
146     }
147 
148     /**
149      * Gets the value of the processPolicy property.
150      * 
151      * <p>
152      * This accessor method returns a reference to the live list,
153      * not a snapshot. Therefore any modification you make to the
154      * returned list will be present inside the JAXB object.
155      * This is why there is not a <CODE>set</CODE> method for the processPolicy property.
156      * 
157      * <p>
158      * For example, to add a new item, do as follows:
159      * <pre>
160      *    getProcessPolicy().add(newItem);
161      * </pre>
162      * 
163      * 
164      * <p>
165      * Objects of the following type(s) are allowed in the list
166      * {@link ProcessPolicy }
167      * 
168      * 
169      */
170     public List<ProcessPolicy> getProcessPolicy() {
171         if (processPolicy == null) {
172             processPolicy = new ArrayList<ProcessPolicy>();
173         }
174         return this.processPolicy;
175     }
176 
177     public boolean isSetProcessPolicy() {
178         return ((this.processPolicy!= null)&&(!this.processPolicy.isEmpty()));
179     }
180 
181     public void unsetProcessPolicy() {
182         this.processPolicy = null;
183     }
184 
185 }