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 plugins
17 *
18 *
19 * <p>Java class for GetPluginListResponseMsg complex type.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <complexType name="GetPluginListResponseMsg">
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="plugins" type="{urn:org:miloss:fgsms:services:interfaces:policyConfiguration}plugin" maxOccurs="unbounded"/>
30 * </sequence>
31 * </restriction>
32 * </complexContent>
33 * </complexType>
34 * </pre>
35 *
36 *
37 */
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "GetPluginListResponseMsg", propOrder = {
40 "classification",
41 "plugins"
42 })
43 public class GetPluginListResponseMsg
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, nillable = true)
51 protected List<Plugin> plugins;
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 plugins 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 plugins property.
89 *
90 * <p>
91 * For example, to add a new item, do as follows:
92 * <pre>
93 * getPlugins().add(newItem);
94 * </pre>
95 *
96 *
97 * <p>
98 * Objects of the following type(s) are allowed in the list
99 * {@link Plugin }
100 *
101 *
102 */
103 public List<Plugin> getPlugins() {
104 if (plugins == null) {
105 plugins = new ArrayList<Plugin>();
106 }
107 return this.plugins;
108 }
109
110 public boolean isSetPlugins() {
111 return ((this.plugins!= null)&&(!this.plugins.isEmpty()));
112 }
113
114 public void unsetPlugins() {
115 this.plugins = null;
116 }
117
118 }