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