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