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.NameValuePair;
12 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
13
14
15 /**
16 *
17 * plugin info
18 *
19 *
20 * <p>Java class for GetPluginInformationResponseMsg complex type.
21 *
22 * <p>The following schema fragment specifies the expected content contained within this class.
23 *
24 * <pre>
25 * <complexType name="GetPluginInformationResponseMsg">
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <sequence>
29 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
30 * <element name="help" type="{http://www.w3.org/2001/XMLSchema}string"/>
31 * <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
32 * <element name="requiredParameter" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePair" maxOccurs="unbounded"/>
33 * <element name="optionalParameter" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePair" maxOccurs="unbounded"/>
34 * </sequence>
35 * </restriction>
36 * </complexContent>
37 * </complexType>
38 * </pre>
39 *
40 *
41 */
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "GetPluginInformationResponseMsg", propOrder = {
44 "classification",
45 "help",
46 "displayName",
47 "requiredParameter",
48 "optionalParameter"
49 })
50 public class GetPluginInformationResponseMsg
51 implements Serializable
52 {
53
54 private final static long serialVersionUID = 1L;
55 @XmlElement(required = true, nillable = true)
56 protected SecurityWrapper classification;
57 @XmlElement(required = true, nillable = true)
58 protected String help;
59 @XmlElement(required = true, nillable = true)
60 protected String displayName;
61 @XmlElement(required = false, nillable = true)
62 protected List<NameValuePair> requiredParameter;
63 @XmlElement(required = false, nillable = true)
64 protected List<NameValuePair> optionalParameter;
65
66 /**
67 * Gets the value of the classification property.
68 *
69 * @return
70 * possible object is
71 * {@link SecurityWrapper }
72 *
73 */
74 public SecurityWrapper getClassification() {
75 return classification;
76 }
77
78 /**
79 * Sets the value of the classification property.
80 *
81 * @param value
82 * allowed object is
83 * {@link SecurityWrapper }
84 *
85 */
86 public void setClassification(SecurityWrapper value) {
87 this.classification = value;
88 }
89
90 public boolean isSetClassification() {
91 return (this.classification!= null);
92 }
93
94 /**
95 * Gets the value of the help property.
96 *
97 * @return
98 * possible object is
99 * {@link String }
100 *
101 */
102 public String getHelp() {
103 return help;
104 }
105
106 /**
107 * Sets the value of the help property.
108 *
109 * @param value
110 * allowed object is
111 * {@link String }
112 *
113 */
114 public void setHelp(String value) {
115 this.help = value;
116 }
117
118 public boolean isSetHelp() {
119 return (this.help!= null);
120 }
121
122 /**
123 * Gets the value of the displayName property.
124 *
125 * @return
126 * possible object is
127 * {@link String }
128 *
129 */
130 public String getDisplayName() {
131 return displayName;
132 }
133
134 /**
135 * Sets the value of the displayName property.
136 *
137 * @param value
138 * allowed object is
139 * {@link String }
140 *
141 */
142 public void setDisplayName(String value) {
143 this.displayName = value;
144 }
145
146 public boolean isSetDisplayName() {
147 return (this.displayName!= null);
148 }
149
150 /**
151 * Gets the value of the requiredParameter property.
152 *
153 * <p>
154 * This accessor method returns a reference to the live list,
155 * not a snapshot. Therefore any modification you make to the
156 * returned list will be present inside the JAXB object.
157 * This is why there is not a <CODE>set</CODE> method for the requiredParameter property.
158 *
159 * <p>
160 * For example, to add a new item, do as follows:
161 * <pre>
162 * getRequiredParameter().add(newItem);
163 * </pre>
164 *
165 *
166 * <p>
167 * Objects of the following type(s) are allowed in the list
168 * {@link NameValuePair }
169 *
170 *
171 */
172 public List<NameValuePair> getRequiredParameter() {
173 if (requiredParameter == null) {
174 requiredParameter = new ArrayList<NameValuePair>();
175 }
176 return this.requiredParameter;
177 }
178
179 public boolean isSetRequiredParameter() {
180 return ((this.requiredParameter!= null)&&(!this.requiredParameter.isEmpty()));
181 }
182
183 public void unsetRequiredParameter() {
184 this.requiredParameter = null;
185 }
186
187 /**
188 * Gets the value of the optionalParameter property.
189 *
190 * <p>
191 * This accessor method returns a reference to the live list,
192 * not a snapshot. Therefore any modification you make to the
193 * returned list will be present inside the JAXB object.
194 * This is why there is not a <CODE>set</CODE> method for the optionalParameter property.
195 *
196 * <p>
197 * For example, to add a new item, do as follows:
198 * <pre>
199 * getOptionalParameter().add(newItem);
200 * </pre>
201 *
202 *
203 * <p>
204 * Objects of the following type(s) are allowed in the list
205 * {@link NameValuePair }
206 *
207 *
208 */
209 public List<NameValuePair> getOptionalParameter() {
210 if (optionalParameter == null) {
211 optionalParameter = new ArrayList<NameValuePair>();
212 }
213 return this.optionalParameter;
214 }
215
216 public boolean isSetOptionalParameter() {
217 return ((this.optionalParameter!= null)&&(!this.optionalParameter.isEmpty()));
218 }
219
220 public void unsetOptionalParameter() {
221 this.optionalParameter = null;
222 }
223
224 }