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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
59
60
61
62
63
64
65 public String getClassname() {
66 return classname;
67 }
68
69
70
71
72
73
74
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
87
88
89
90
91
92
93 public String getDisplayname() {
94 return displayname;
95 }
96
97
98
99
100
101
102
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
115
116
117
118
119
120
121 public String getPlugintype() {
122 return plugintype;
123 }
124
125
126
127
128
129
130
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
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 }