2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
20 package org.onap.policy.xacml.std.pap;
22 import java.io.Serializable;
24 import java.util.HashMap;
25 import java.util.List;
27 import org.onap.policy.xacml.api.pap.OnapPAPPolicy;
29 public class StdPAPPolicy implements OnapPAPPolicy, Serializable{
30 private static final long serialVersionUID = 5260230629397322000L;
32 private String policyName = null;
33 private String oldPolicyFileName = null;
34 private String policyDescription = null;
35 private String onapName = null;
36 private String configName = null;
37 private Map<String, String> dyanamicFieldConfigAttributes = new HashMap<>();
38 private Map<String, String> treatments = new HashMap<>();
39 private Map<String, String> dropDownMap = new HashMap<>();
40 private Map<String, String> dynamicSettingsMap = new HashMap<>();
41 private List<String> dynamicRuleAlgorithmLabels;
42 private List<String> dynamicRuleAlgorithmCombo;
43 private List<String> dynamicRuleAlgorithmField1;
44 private List<String> dynamicRuleAlgorithmField2;
45 private transient List<Object> dynamicVariableList;
46 private List<String> dataTypeList;
47 private String configBodyData = null;
48 private String policyID = null;
49 private String ruleID = null;
50 private String brmsController;
51 private List<String> brmsDependency;
52 private String configType = null;
53 private Boolean editPolicy = false;
54 private Boolean draft = false;
55 private String version = null;
56 private String domain = null;
57 private String configPolicyType = null;
58 private String jsonBody = null;
59 private String serviceType = null;
60 private Integer highestVersion = null;
61 private URI location = null;
62 private String actionPerformer = null;
63 private String actionAttribute = null;
64 private String actionBody = null;
65 private String actionDictHeader = null;
66 private String actionDictType = null;
67 private String actionDictUrl = null;
68 private String actionDictMethod = null;
69 private String uuid = null;
70 private String msLocation = null;
71 private String priority = null;
72 private Map<String,String> drlRuleAndUIParams=null;
73 private String deleteCondition = null;
74 private String dictionaryType = null;
75 private String dictionary = null;
76 private String dictionaryFields = null;
77 private String providerComboBox = null;
78 private String riskType = null;
79 private String guard = null;
80 private String riskLevel;
81 private String ttlDate = null;
84 public StdPAPPolicy() {
86 // Default empty constructor
90 //Constructor for sending location when pushing policies
91 public StdPAPPolicy(URI location) {
92 this.location = location;
95 //Constructor for Validating Config Policies
96 public StdPAPPolicy(String policyName, String body, String configType, String configPolicyType) {
97 this.policyName = policyName;
98 this.configBodyData = body;
99 this.configType = configType;
100 this.configPolicyType = configPolicyType;
103 //convenience constructor
104 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String configType,
105 String body, Boolean editPolicy, String domain, String riskLevel, String riskType, String guard, String ttlDate){
106 this(configPolicyType, policyName, description, onapName, configName, attributes, configType,
107 body, editPolicy, domain, 1, riskLevel, riskType, guard, ttlDate);
110 //Constructor for Create/Update Action Policies from API
111 public StdPAPPolicy(String policyName, String description, Map<String, String> attributes, List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
112 List<String> dynamicRuleAlgorithmField1, List<String> dynamicRuleAlgorithmField2, String actionPerformer,String actionAttribute, Boolean editPolicy,
113 String domain, int highestVersion) {
115 this.policyName = policyName;
116 this.policyDescription = description;
117 this.dyanamicFieldConfigAttributes = attributes;
118 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
119 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
120 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
121 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
122 this.actionPerformer = actionPerformer;
123 this.actionAttribute = actionAttribute;
124 this.editPolicy = editPolicy;
125 this.domain = domain;
126 this.highestVersion = highestVersion;
130 //Constructor for Create/Update Decision Policies
131 public StdPAPPolicy(String policyName, String description, String onapName, String providerComboBox,
132 Map<String, String> attributes, Map<String, String> settings, Map<String, String> treatments,
133 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo, List<String> dynamicRuleAlgorithmField1,
134 List<String> dynamicRuleAlgorithmField2, Map<String, String> dropDownMap, List<Object> dynamicVariableList,
135 List<String> dataTypeList, Boolean editPolicy, String domain, int highestVersion) {
137 this.policyName = policyName;
138 this.policyDescription = description;
139 this.onapName = onapName;
140 this.setProviderComboBox(providerComboBox);
141 this.dyanamicFieldConfigAttributes = attributes;
142 this.dynamicSettingsMap = settings;
143 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
144 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
145 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
146 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
147 this.dynamicVariableList = dynamicVariableList;
148 this.dataTypeList = dataTypeList;
149 this.dropDownMap = dropDownMap;
150 this.editPolicy = editPolicy;
151 this.domain = domain;
152 this.highestVersion = highestVersion;
153 this.treatments = treatments;
157 //Constructor for Create Config Policies from API and Admin Console
158 //Constructor for Updating Config Policies from the API
159 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String configType,
160 String body, Boolean editPolicy, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
162 this.configPolicyType = configPolicyType;
163 this.policyName = policyName;
164 this.policyDescription = description;
165 this.onapName = onapName;
166 this.configName = configName;
167 this.dyanamicFieldConfigAttributes = attributes;
168 this.configType = configType;
169 this.configBodyData = body;
170 this.editPolicy = editPolicy;
171 this.domain = domain;
172 this.highestVersion = highestVersion;
173 this.riskLevel = riskLevel;
174 this.riskType = riskType;
176 this.ttlDate = ttlDate;
179 //convenience constructor
180 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String body, String policyID,
181 String ruleID, String configType, Boolean editPolicy, String version, String domain, String riskLevel, String riskType, String guard, String ttlDate) {
182 this (configPolicyType, policyName, description, onapName, configName, attributes, body, policyID,
183 ruleID, configType, editPolicy, version, domain, 1, riskLevel, riskType, guard, ttlDate);
186 //Constructor for Updating Config Policies from Admin Console
187 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String body, String policyID,
188 String ruleID, String configType, Boolean editPolicy, String version, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
190 this.configPolicyType = configPolicyType;
191 this.policyName = policyName;
192 this.policyDescription = description;
193 this.onapName = onapName;
194 this.configName = configName;
195 this.dyanamicFieldConfigAttributes = attributes;
196 this.configBodyData = body;
197 this.policyID = policyID;
198 this.ruleID = ruleID;
199 this.configType = configType;
200 this.editPolicy = editPolicy;
201 this.version = version;
202 this.domain = domain;
203 this.highestVersion = highestVersion;
204 this.riskLevel = riskLevel;
205 this.riskType = riskType;
207 this.ttlDate = ttlDate;
211 //Constructor for Creating Config Firewall Policies
212 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
213 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
215 this.configPolicyType = configPolicyType;
216 this.policyName = policyName;
217 this.policyDescription = description;
218 this.configName = configName;
219 this.editPolicy = editPolicy;
220 this.domain = domain;
221 this.jsonBody = jsonBody;
222 this.highestVersion = highestVersion;
223 this.riskLevel = riskLevel;
224 this.riskType = riskType;
226 this.ttlDate = ttlDate;
230 //Constructor for Creating Goc Policies
231 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
232 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String eCompName, String riskLevel, String riskType, String guard, String ttlDate) {
234 this.configPolicyType = configPolicyType;
235 this.policyName = policyName;
236 this.policyDescription = description;
237 this.configName = configName;
238 this.editPolicy = editPolicy;
239 this.domain = domain;
240 this.jsonBody = jsonBody;
241 this.highestVersion = highestVersion;
242 this.onapName=eCompName;
243 this.riskLevel = riskLevel;
244 this.riskType = riskType;
246 this.ttlDate = ttlDate;
249 //Constructor for Creating BRMS Policies from the Admin Console
250 public StdPAPPolicy (String configPolicyType, String policyName, String description,
251 String configName, Boolean editPolicy, String domain,
252 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
253 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, List<String> brmsDependency) {
255 this.configPolicyType = configPolicyType;
256 this.policyName = policyName;
257 this.policyDescription = description;
258 this.configName = configName;
259 this.editPolicy = editPolicy;
260 this.domain = domain;
261 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
262 this.highestVersion = highestVersion;
263 this.onapName=eCompName;
264 this.configBodyData=configBodyData;
265 this.riskLevel = riskLevel;
266 this.riskType = riskType;
268 this.ttlDate = ttlDate;
269 this.brmsController = brmsController;
270 this.brmsDependency = brmsDependency;
273 //Constructor for Creating BRMS Param Policies from the Admin Console
274 public StdPAPPolicy (String configPolicyType, String policyName, String description,
275 String configName, Boolean editPolicy, String domain,
276 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
277 String configBodyData,Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, List<String> brmsDependency) {
279 this.configPolicyType = configPolicyType;
280 this.policyName = policyName;
281 this.policyDescription = description;
282 this.configName = configName;
283 this.editPolicy = editPolicy;
284 this.domain = domain;
285 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
286 this.highestVersion = highestVersion;
287 this.onapName=eCompName;
288 this.configBodyData=configBodyData;
289 this.drlRuleAndUIParams=drlRuleAndUIParams;
290 this.riskLevel = riskLevel;
291 this.riskType = riskType;
293 this.ttlDate = ttlDate;
294 this.brmsController = brmsController;
295 this.brmsDependency = brmsDependency;
298 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
299 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName,
300 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType, Boolean editPolicy,
301 String domain, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
303 this.configPolicyType = configPolicyType;
304 this.policyName = policyName;
305 this.policyDescription = description;
306 this.onapName = onapName;
307 this.jsonBody = jsonBody;
309 this.oldPolicyFileName = oldPolicyFileName;
310 this.serviceType = serviceType;
311 this.editPolicy = editPolicy;
312 this.domain = domain;
313 this.highestVersion = highestVersion;
314 this.riskLevel = riskLevel;
315 this.riskType = riskType;
317 this.ttlDate = ttlDate;
320 //Constructor for Updating Config Firewall Policies from the Admin Console
321 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName, Boolean editPolicy, String domain, String policyID,
322 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
324 this.configPolicyType = configPolicyType;
325 this.policyName = policyName;
326 this.policyDescription = description;
327 this.configName = configName;
328 this.editPolicy = editPolicy;
329 this.domain = domain;
330 this.policyID = policyID;
331 this.ruleID = ruleID;
332 this.version = version;
333 this.jsonBody = jsonBody;
334 this.highestVersion = highestVersion;
335 this.riskLevel = riskLevel;
336 this.riskType = riskType;
338 this.ttlDate = ttlDate;
341 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
342 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, String serviceType, String uuid,
343 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy, String domain, int highestVersion, String riskLevel,
344 String riskType, String guard, String ttlDate) {
346 this.configPolicyType = configPolicyType;
347 this.policyName = policyName;
348 this.policyDescription = description;
349 this.onapName = onapName;
350 this.configName = configName;
351 this.serviceType = serviceType;
353 this.msLocation = msLocation;
354 this.priority = priority;
355 this.version = version;
356 this.jsonBody = jsonBody;
357 this.editPolicy = editPolicy;
358 this.domain = domain;
359 this.highestVersion = highestVersion;
360 this.riskLevel = riskLevel;
361 this.riskType = riskType;
363 this.ttlDate = ttlDate;
366 //Constructor for Updating Goc Policies from the Admin Console
367 public StdPAPPolicy (String configPolicyType, String policyName, String description,
368 String configName, Boolean editPolicy, String domain,
369 String policyID, String ruleID, String version,
370 String jsonBody, Integer highestVersion, String eCompName,String riskLevel, String riskType, String guard, String ttlDate) {
372 this.configPolicyType = configPolicyType;
373 this.policyName = policyName;
374 this.policyDescription = description;
375 this.configName = configName;
376 this.editPolicy = editPolicy;
377 this.domain = domain;
378 this.policyID = policyID;
379 this.ruleID = ruleID;
380 this.version = version;
381 this.jsonBody = jsonBody;
382 this.highestVersion = highestVersion;
383 this.onapName=eCompName;
384 this.riskLevel = riskLevel;
385 this.riskType = riskType;
387 this.ttlDate = ttlDate;
390 //Constructor for Updating Brms Policies from the Admin Console
391 public StdPAPPolicy (String configPolicyType, String policyName, String description,
392 String configName, Boolean editPolicy, String domain,
393 String policyID, String ruleID, String version,
394 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
395 String configBodyData , String riskLevel, String riskType, String guard, String ttlDate
397 this.configPolicyType = configPolicyType;
398 this.policyName = policyName;
399 this.policyDescription = description;
400 this.configName = configName;
401 this.editPolicy = editPolicy;
402 this.domain = domain;
403 this.policyID = policyID;
404 this.ruleID = ruleID;
405 this.version = version;
406 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
407 this.highestVersion = highestVersion;
408 this.onapName=eCompName;
409 this.configBodyData=configBodyData;
410 this.riskLevel = riskLevel;
411 this.riskType = riskType;
413 this.ttlDate = ttlDate;
416 //Constructor for Updating Brms Param Policies from the Admin Console
417 public StdPAPPolicy (String configPolicyType, String policyName, String description,
418 String configName, Boolean editPolicy, String domain,
419 String policyID, String ruleID, String version,
420 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
421 Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate
423 this.configPolicyType = configPolicyType;
424 this.policyName = policyName;
425 this.policyDescription = description;
426 this.configName = configName;
427 this.editPolicy = editPolicy;
428 this.domain = domain;
429 this.policyID = policyID;
430 this.ruleID = ruleID;
431 this.version = version;
432 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
433 this.highestVersion = highestVersion;
434 this.onapName=eCompName;
435 this.drlRuleAndUIParams=drlRuleAndUIParams;
436 this.riskLevel = riskLevel;
437 this.riskType = riskType;
439 this.ttlDate = ttlDate;
442 // Constructor for deleting policies from the API
443 public StdPAPPolicy(String policyName, String deleteCondition) {
444 this.policyName = policyName;
445 this.deleteCondition = deleteCondition;
448 // Constructor for creating dictionary items from the API>
449 public StdPAPPolicy(String dictionaryType, String dictionary, String dictionaryFields) {
450 this.dictionaryType = dictionaryType;
451 this.dictionary = dictionary;
452 this.dictionaryFields = dictionaryFields;
456 public String getPolicyName() {
461 public String getPolicyDescription() {
462 return policyDescription;
466 public String getOnapName() {
471 public String getConfigName() {
476 public Map<String, String> getDynamicFieldConfigAttributes() {
477 return dyanamicFieldConfigAttributes;
481 public String getConfigBodyData() {
482 return configBodyData;
486 public String getPolicyID() {
491 public String getRuleID() {
496 public String getConfigType() {
501 public Boolean isEditPolicy() {
506 public Boolean isDraft() {
511 public String getVersion() {
516 public String getDomainDir() {
521 public String getConfigPolicyType() {
522 return configPolicyType;
526 public String getJsonBody() {
531 public Integer getHighestVersion() {
532 return highestVersion;
536 public URI getLocation() {
541 public List<String> getDynamicRuleAlgorithmLabels() {
542 return dynamicRuleAlgorithmLabels;
546 public List<String> getDynamicRuleAlgorithmCombo() {
547 return dynamicRuleAlgorithmCombo;
551 public List<String> getDynamicRuleAlgorithmField1() {
552 return dynamicRuleAlgorithmField1;
556 public List<String> getDynamicRuleAlgorithmField2() {
557 return dynamicRuleAlgorithmField2;
561 public String getActionPerformer() {
562 return actionPerformer;
566 public String getActionAttribute() {
567 return actionAttribute;
571 public String getActionBody() {
576 public Map<String, String> getDropDownMap() {
581 public String getActionDictHeader() {
582 return actionDictHeader;
586 public String getActionDictType() {
587 return actionDictType;
591 public String getActionDictUrl() {
592 return actionDictUrl;
596 public String getActionDictMethod() {
597 return actionDictMethod;
601 public Map<String, String> getDynamicSettingsMap() {
602 return dynamicSettingsMap;
606 public List<Object> getDynamicVariableList() {
607 return dynamicVariableList;
611 public List<String> getDataTypeList() {
616 public String getOldPolicyFileName() {
617 return oldPolicyFileName;
621 public String getServiceType() {
626 public String getUuid() {
631 public String getMsLocation() {
636 public String getPriority() {
641 public String getDeleteCondition() {
642 return deleteCondition;
646 public String getDictionaryType() {
647 return dictionaryType;
651 public String getDictionary() {
656 public String getTTLDate(){
661 public String getDictionaryFields() {
662 return dictionaryFields;
666 public String getRiskType() {
671 public String getRiskLevel() {
676 public String getGuard() {
681 public Map<String, String> getTreatments() {
686 public String toString() {
687 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", onapName="
688 + onapName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" + dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
689 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" + ", version=" + ", domain=" + domain
690 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" + highestVersion + ", location=" + location
691 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" + dynamicRuleAlgorithmCombo
692 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" + dynamicRuleAlgorithmField2
693 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" + actionBody + ",dropDownMap=" + dropDownMap
694 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" + actionDictUrl
695 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + ",dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
696 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + ",serviceType=" + serviceType
697 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" + deleteCondition + ",dictionaryType=" + dictionaryType
698 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority="
699 + priority + ",deleteCondition=" + deleteCondition + ",riskType="+riskType + ",riskLevel="+riskLevel + ",guard="+ guard + ",ttlDate="+ ttlDate
700 + ",treatments=" + treatments + "]";
703 // Methods needed for JSON Deserialization
704 public void setPolicyName(String policyName) {
705 this.policyName = policyName;
708 public void setPolicyDescription(String policyDescription) {
709 this.policyDescription = policyDescription;
712 public void setOnapName(String onapName) {
713 this.onapName = onapName;
716 public void setConfigName(String configName) {
717 this.configName = configName;
720 public void setDyanamicFieldConfigAttributes(
721 Map<String, String> dyanamicFieldConfigAttributes) {
722 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
725 public void setConfigBodyData(String configBodyData) {
726 this.configBodyData = configBodyData;
729 public void setPolicyID(String policyID) {
730 this.policyID = policyID;
733 public void setRuleID(String ruleID) {
734 this.ruleID = ruleID;
737 public void setConfigType(String configType) {
738 this.configType = configType;
741 public void setEditPolicy(Boolean editPolicy) {
742 this.editPolicy = editPolicy;
745 public void setVersion(String version) {
746 this.version = version;
749 public void setDomainDir(String domain) {
750 this.domain = domain;
753 public void setConfigPolicyType(String configPolicyType) {
754 this.configPolicyType = configPolicyType;
757 public void setJsonBody(String jsonBody) {
758 this.jsonBody = jsonBody;
761 public void setHighestVersion(Integer highestVersion) {
762 this.highestVersion = highestVersion;
765 public void setLocation (URI location) {
766 this.location = location;
769 public void setDynamicRuleAlgorithmLabels(
770 List<String> dynamicRuleAlgorithmLabels) {
771 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
774 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
775 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
778 public void setDynamicRuleAlgorithmField1(
779 List<String> dynamicRuleAlgorithmField1) {
780 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
783 public void setDynamicRuleAlgorithmField2(
784 List<String> dynamicRuleAlgorithmField2) {
785 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
788 public void setActionPerformer(String actionPerformer) {
789 this.actionPerformer = actionPerformer;
792 public void setActionAttribute(String actionAttribute) {
793 this.actionAttribute = actionAttribute;
796 public void setActionBody(String actionBody) {
797 this.actionBody = actionBody;
800 public void setDropDownMap(Map<String, String> dropDownMap) {
801 this.dropDownMap = dropDownMap;
804 public void setActionDictHeader(String actionDictHeader) {
805 this.actionDictHeader = actionDictHeader;
808 public void setActionDictType(String actionDictType) {
809 this.actionDictType = actionDictType;
812 public void setActionDictUrl(String actionDictUrl) {
813 this.actionDictUrl = actionDictUrl;
816 public void setActionDictMethod(String actionDictMethod) {
817 this.actionDictMethod = actionDictMethod;
820 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
821 this.dynamicSettingsMap = dynamicSettingsMap;
824 public void setDynamicVariableList(List<Object> dynamicVariableList) {
825 this.dynamicVariableList = dynamicVariableList;
828 public void setDataTypeList(List<String> dataTypeList) {
829 this.dataTypeList = dataTypeList;
832 public void setDraft(Boolean draft) {
836 public void setOldPolicyFileName(String oldPolicyFileName) {
837 this.oldPolicyFileName = oldPolicyFileName;
840 public void setServiceType(String serviceType) {
841 this.serviceType = serviceType;
844 public Map<String, String> getDrlRuleAndUIParams() {
845 return drlRuleAndUIParams;
848 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
849 this.drlRuleAndUIParams = drlRuleAndUIParams;
852 public void setUuid(String uuid) {
856 public void setMsLocation(String msLocation) {
857 this.msLocation = msLocation;
860 public void setPriority(String priority) {
861 this.priority = priority;
864 public void setDeleteCondition(String deleteCondition) {
865 this.deleteCondition = deleteCondition;
868 public void setDictionaryType(String dictionaryType) {
869 this.dictionaryType = dictionaryType;
872 public void setDictionary(String dictionary) {
873 this.dictionary = dictionary;
876 public void setDictionaryFields(String dictionaryFields) {
877 this.dictionaryFields = dictionaryFields;
880 public String getProviderComboBox() {
881 return providerComboBox;
884 public void setProviderComboBox(String providerComboBox) {
885 this.providerComboBox = providerComboBox;
888 public void setRiskType(String riskType){
889 this.riskType = riskType;
892 public void setRiskLevel(String riskLevel){
893 this.riskLevel = riskLevel;
896 public void setGuard(String guard){
900 public void setTTLDate(String ttlDate){
901 this.ttlDate = ttlDate;
904 public String getBrmsController() {
905 return brmsController;
908 public void setBrmsController(String brmsController) {
909 this.brmsController = brmsController;
912 public List<String> getBrmsDependency() {
913 return brmsDependency;
916 public void setBrmsDependency(List<String> brmsDependency) {
917 this.brmsDependency = brmsDependency;
920 public void setTreatments(Map<String, String> treatments) {
921 this.treatments = treatments;