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