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;
28 import org.onap.policy.xacml.api.pap.OnapPAPPolicy;
30 public class StdPAPPolicy implements OnapPAPPolicy, Serializable {
31 private static final long serialVersionUID = 5260230629397322000L;
33 private String policyName = null;
34 private String oldPolicyFileName = null;
35 private String policyDescription = null;
36 private String onapName = null;
37 private String configName = null;
38 private Map<String, String> dyanamicFieldConfigAttributes = new HashMap<>();
39 private Map<String, String> treatments = new HashMap<>();
40 private Map<String, String> dropDownMap = new HashMap<>();
41 private Map<String, String> dynamicSettingsMap = new HashMap<>();
42 private List<String> dynamicRuleAlgorithmLabels;
43 private List<String> dynamicRuleAlgorithmCombo;
44 private List<String> dynamicRuleAlgorithmField1;
45 private List<String> dynamicRuleAlgorithmField2;
46 private transient List<Object> dynamicVariableList;
47 private List<String> dataTypeList;
48 private String configBodyData = null;
49 private String policyID = null;
50 private String ruleID = null;
51 private String brmsController;
52 private List<String> brmsDependency;
53 private String configType = null;
54 private Boolean editPolicy = false;
55 private Boolean draft = false;
56 private String version = null;
57 private String domain = null;
58 private String configPolicyType = null;
59 private String jsonBody = null;
60 private String serviceType = null;
61 private Integer highestVersion = null;
62 private URI location = null;
63 private String actionPerformer = null;
64 private String actionAttribute = null;
65 private String actionBody = null;
66 private String actionDictHeader = null;
67 private String actionDictType = null;
68 private String actionDictUrl = null;
69 private String actionDictMethod = null;
70 private String uuid = null;
71 private String msLocation = null;
72 private String priority = null;
73 private transient Map<String, String> drlRuleAndUIParams = null;
74 private String deleteCondition = null;
75 private String dictionaryType = null;
76 private String dictionary = null;
77 private String dictionaryFields = null;
78 private String providerComboBox = null;
79 private String riskType = null;
80 private String guard = null;
81 private String riskLevel;
82 private String ttlDate = null;
85 public StdPAPPolicy() {
87 // Default empty constructor
91 //Constructor for sending location when pushing policies
92 public StdPAPPolicy(URI location) {
93 this.location = location;
96 //Constructor for Validating Config Policies
97 public StdPAPPolicy(String policyName, String body, String configType, String configPolicyType) {
98 this.policyName = policyName;
99 this.configBodyData = body;
100 this.configType = configType;
101 this.configPolicyType = configPolicyType;
104 //Constructor for Create Config Policies from API and Admin Console
105 //Constructor for Updating Config Policies from the API
106 //convenience constructor
107 public StdPAPPolicy(StdPAPPolicyParams stdPAPPolicyParams) {
108 this.configPolicyType=stdPAPPolicyParams.getConfigPolicyType();
109 this.policyName = stdPAPPolicyParams.getPolicyName();
110 this.policyDescription = stdPAPPolicyParams.getDescription();
111 this.onapName = stdPAPPolicyParams.getOnapName();
112 this.configName = stdPAPPolicyParams.getConfigName();
113 this.dyanamicFieldConfigAttributes = stdPAPPolicyParams.getAttributes();
114 this.configType = stdPAPPolicyParams.getConfigType();
115 this.configBodyData = stdPAPPolicyParams.getConfigBodyData();
116 this.editPolicy = stdPAPPolicyParams.getEditPolicy();
117 this.domain = stdPAPPolicyParams.getDomain();
118 this.highestVersion = stdPAPPolicyParams.getHighestVersion();
119 this.riskLevel = stdPAPPolicyParams.getRiskLevel();
120 this.riskType = stdPAPPolicyParams.getRiskType();
121 this.guard = stdPAPPolicyParams.getGuard();
122 this.ttlDate = stdPAPPolicyParams.getTtlDate();
125 //Constructor for Create/Update Action Policies from API
126 public StdPAPPolicy(String policyName, String description, Map<String, String> attributes,
127 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
128 List<String> dynamicRuleAlgorithmField1, List<String> dynamicRuleAlgorithmField2,
129 String actionPerformer, String actionAttribute, Boolean editPolicy,
130 String domain, int highestVersion) {
132 this.policyName = policyName;
133 this.policyDescription = description;
134 this.dyanamicFieldConfigAttributes = attributes;
135 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
136 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
137 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
138 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
139 this.actionPerformer = actionPerformer;
140 this.actionAttribute = actionAttribute;
141 this.editPolicy = editPolicy;
142 this.domain = domain;
143 this.highestVersion = highestVersion;
147 //Constructor for Create/Update Decision Policies
148 public StdPAPPolicy(String policyName, String description, String onapName, String providerComboBox,
149 Map<String, String> attributes, Map<String, String> settings, Map<String, String> treatments,
150 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
151 List<String> dynamicRuleAlgorithmField1,
152 List<String> dynamicRuleAlgorithmField2, Map<String, String> dropDownMap,
153 List<Object> dynamicVariableList,
154 List<String> dataTypeList, Boolean editPolicy, String domain, int highestVersion) {
155 this.policyName = policyName;
156 this.policyDescription = description;
157 this.onapName = onapName;
158 this.setProviderComboBox(providerComboBox);
159 this.dyanamicFieldConfigAttributes = attributes;
160 this.dynamicSettingsMap = settings;
161 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
162 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
163 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
164 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
165 this.dynamicVariableList = dynamicVariableList;
166 this.dataTypeList = dataTypeList;
167 this.dropDownMap = dropDownMap;
168 this.editPolicy = editPolicy;
169 this.domain = domain;
170 this.highestVersion = highestVersion;
171 this.treatments = treatments;
174 //convenience constructor
175 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
176 String configName, Map<String, String> attributes, String body, String policyID,
177 String ruleID, String configType, Boolean editPolicy, String version, String domain,
178 String riskLevel, String riskType, String guard, String ttlDate) {
179 this(configPolicyType, policyName, description, onapName, configName, attributes, body, policyID,
180 ruleID, configType, editPolicy, version, domain, 1, riskLevel, riskType, guard, ttlDate);
183 //Constructor for Updating Config Policies from Admin Console
184 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
185 String configName, Map<String, String> attributes, String body, String policyID,
186 String ruleID, String configType, Boolean editPolicy, String version, String domain,
187 int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
189 this.configPolicyType = configPolicyType;
190 this.policyName = policyName;
191 this.policyDescription = description;
192 this.onapName = onapName;
193 this.configName = configName;
194 this.dyanamicFieldConfigAttributes = attributes;
195 this.configBodyData = body;
196 this.policyID = policyID;
197 this.ruleID = ruleID;
198 this.configType = configType;
199 this.editPolicy = editPolicy;
200 this.version = version;
201 this.domain = domain;
202 this.highestVersion = highestVersion;
203 this.riskLevel = riskLevel;
204 this.riskType = riskType;
206 this.ttlDate = ttlDate;
210 //Constructor for Creating Config Firewall Policies
211 public StdPAPPolicy(String configPolicyType, String policyName, String description, String configName,
212 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String riskLevel,
213 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,
233 String riskLevel, String riskType, String guard, String ttlDate) {
235 this.configPolicyType = configPolicyType;
236 this.policyName = policyName;
237 this.policyDescription = description;
238 this.configName = configName;
239 this.editPolicy = editPolicy;
240 this.domain = domain;
241 this.jsonBody = jsonBody;
242 this.highestVersion = highestVersion;
243 this.onapName = eCompName;
244 this.riskLevel = riskLevel;
245 this.riskType = riskType;
247 this.ttlDate = ttlDate;
250 //Constructor for Creating BRMS Policies from the Admin Console
251 public StdPAPPolicy(String configPolicyType, String policyName, String description,
252 String configName, Boolean editPolicy, String domain,
253 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
254 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate,
255 String brmsController, List<String> brmsDependency) {
257 this.configPolicyType = configPolicyType;
258 this.policyName = policyName;
259 this.policyDescription = description;
260 this.configName = configName;
261 this.editPolicy = editPolicy;
262 this.domain = domain;
263 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
264 this.highestVersion = highestVersion;
265 this.onapName = eCompName;
266 this.configBodyData = configBodyData;
267 this.riskLevel = riskLevel;
268 this.riskType = riskType;
270 this.ttlDate = ttlDate;
271 this.brmsController = brmsController;
272 this.brmsDependency = brmsDependency;
275 //Constructor for Creating BRMS Param Policies from the Admin Console
276 public StdPAPPolicy(String configPolicyType, String policyName, String description,
277 String configName, Boolean editPolicy, String domain,
278 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
279 String configBodyData, Map<String, String> drlRuleAndUIParams, String riskLevel,
280 String riskType, String guard, String ttlDate, String brmsController,
281 List<String> brmsDependency) {
283 this.configPolicyType = configPolicyType;
284 this.policyName = policyName;
285 this.policyDescription = description;
286 this.configName = configName;
287 this.editPolicy = editPolicy;
288 this.domain = domain;
289 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
290 this.highestVersion = highestVersion;
291 this.onapName = eCompName;
292 this.configBodyData = configBodyData;
293 this.drlRuleAndUIParams = drlRuleAndUIParams;
294 this.riskLevel = riskLevel;
295 this.riskType = riskType;
297 this.ttlDate = ttlDate;
298 this.brmsController = brmsController;
299 this.brmsDependency = brmsDependency;
302 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
303 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
304 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType,
306 String domain, Integer highestVersion, String riskLevel, String riskType, String guard,
309 this.configPolicyType = configPolicyType;
310 this.policyName = policyName;
311 this.policyDescription = description;
312 this.onapName = onapName;
313 this.jsonBody = jsonBody;
315 this.oldPolicyFileName = oldPolicyFileName;
316 this.serviceType = serviceType;
317 this.editPolicy = editPolicy;
318 this.domain = domain;
319 this.highestVersion = highestVersion;
320 this.riskLevel = riskLevel;
321 this.riskType = riskType;
323 this.ttlDate = ttlDate;
326 //Constructor for Updating Config Firewall Policies from the Admin Console
327 public StdPAPPolicy(String configPolicyType, String policyName, String description, String configName,
328 Boolean editPolicy, String domain, String policyID,
329 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel,
330 String riskType, String guard, String ttlDate) {
332 this.configPolicyType = configPolicyType;
333 this.policyName = policyName;
334 this.policyDescription = description;
335 this.configName = configName;
336 this.editPolicy = editPolicy;
337 this.domain = domain;
338 this.policyID = policyID;
339 this.ruleID = ruleID;
340 this.version = version;
341 this.jsonBody = jsonBody;
342 this.highestVersion = highestVersion;
343 this.riskLevel = riskLevel;
344 this.riskType = riskType;
346 this.ttlDate = ttlDate;
349 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
350 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
351 String configName, String serviceType, String uuid,
352 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy,
353 String domain, int highestVersion, String riskLevel,
354 String riskType, String guard, String ttlDate) {
356 this.configPolicyType = configPolicyType;
357 this.policyName = policyName;
358 this.policyDescription = description;
359 this.onapName = onapName;
360 this.configName = configName;
361 this.serviceType = serviceType;
363 this.msLocation = msLocation;
364 this.priority = priority;
365 this.version = version;
366 this.jsonBody = jsonBody;
367 this.editPolicy = editPolicy;
368 this.domain = domain;
369 this.highestVersion = highestVersion;
370 this.riskLevel = riskLevel;
371 this.riskType = riskType;
373 this.ttlDate = ttlDate;
376 //Constructor for Updating Goc Policies from the Admin Console
377 public StdPAPPolicy(String configPolicyType, String policyName, String description,
378 String configName, Boolean editPolicy, String domain,
379 String policyID, String ruleID, String version,
380 String jsonBody, Integer highestVersion, String eCompName, String riskLevel, String riskType,
381 String guard, String ttlDate) {
383 this.configPolicyType = configPolicyType;
384 this.policyName = policyName;
385 this.policyDescription = description;
386 this.configName = configName;
387 this.editPolicy = editPolicy;
388 this.domain = domain;
389 this.policyID = policyID;
390 this.ruleID = ruleID;
391 this.version = version;
392 this.jsonBody = jsonBody;
393 this.highestVersion = highestVersion;
394 this.onapName = eCompName;
395 this.riskLevel = riskLevel;
396 this.riskType = riskType;
398 this.ttlDate = ttlDate;
401 //Constructor for Updating Brms Policies from the Admin Console
402 public StdPAPPolicy(String configPolicyType, String policyName, String description,
403 String configName, Boolean editPolicy, String domain,
404 String policyID, String ruleID, String version,
405 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
406 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate
408 this.configPolicyType = configPolicyType;
409 this.policyName = policyName;
410 this.policyDescription = description;
411 this.configName = configName;
412 this.editPolicy = editPolicy;
413 this.domain = domain;
414 this.policyID = policyID;
415 this.ruleID = ruleID;
416 this.version = version;
417 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
418 this.highestVersion = highestVersion;
419 this.onapName = eCompName;
420 this.configBodyData = configBodyData;
421 this.riskLevel = riskLevel;
422 this.riskType = riskType;
424 this.ttlDate = ttlDate;
427 //Constructor for Updating Brms Param Policies from the Admin Console
428 public StdPAPPolicy(String configPolicyType, String policyName, String description,
429 String configName, Boolean editPolicy, String domain,
430 String policyID, String ruleID, String version,
431 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
432 Map<String, String> drlRuleAndUIParams, String riskLevel, String riskType, String guard,
435 this.configPolicyType = configPolicyType;
436 this.policyName = policyName;
437 this.policyDescription = description;
438 this.configName = configName;
439 this.editPolicy = editPolicy;
440 this.domain = domain;
441 this.policyID = policyID;
442 this.ruleID = ruleID;
443 this.version = version;
444 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
445 this.highestVersion = highestVersion;
446 this.onapName = eCompName;
447 this.drlRuleAndUIParams = drlRuleAndUIParams;
448 this.riskLevel = riskLevel;
449 this.riskType = riskType;
451 this.ttlDate = ttlDate;
454 // Constructor for deleting policies from the API
455 public StdPAPPolicy(String policyName, String deleteCondition) {
456 this.policyName = policyName;
457 this.deleteCondition = deleteCondition;
460 // Constructor for creating dictionary items from the API>
461 public StdPAPPolicy(String dictionaryType, String dictionary, String dictionaryFields) {
462 this.dictionaryType = dictionaryType;
463 this.dictionary = dictionary;
464 this.dictionaryFields = dictionaryFields;
468 public String getPolicyName() {
473 public String getPolicyDescription() {
474 return policyDescription;
478 public String getOnapName() {
483 public String getConfigName() {
488 public Map<String, String> getDynamicFieldConfigAttributes() {
489 return dyanamicFieldConfigAttributes;
493 public String getConfigBodyData() {
494 return configBodyData;
498 public String getPolicyID() {
503 public String getRuleID() {
508 public String getConfigType() {
513 public Boolean isEditPolicy() {
518 public Boolean isDraft() {
523 public String getVersion() {
528 public String getDomainDir() {
533 public String getConfigPolicyType() {
534 return configPolicyType;
538 public String getJsonBody() {
543 public Integer getHighestVersion() {
544 return highestVersion;
548 public URI getLocation() {
553 public List<String> getDynamicRuleAlgorithmLabels() {
554 return dynamicRuleAlgorithmLabels;
558 public List<String> getDynamicRuleAlgorithmCombo() {
559 return dynamicRuleAlgorithmCombo;
563 public List<String> getDynamicRuleAlgorithmField1() {
564 return dynamicRuleAlgorithmField1;
568 public List<String> getDynamicRuleAlgorithmField2() {
569 return dynamicRuleAlgorithmField2;
573 public String getActionPerformer() {
574 return actionPerformer;
578 public String getActionAttribute() {
579 return actionAttribute;
583 public String getActionBody() {
588 public Map<String, String> getDropDownMap() {
593 public String getActionDictHeader() {
594 return actionDictHeader;
598 public String getActionDictType() {
599 return actionDictType;
603 public String getActionDictUrl() {
604 return actionDictUrl;
608 public String getActionDictMethod() {
609 return actionDictMethod;
613 public Map<String, String> getDynamicSettingsMap() {
614 return dynamicSettingsMap;
618 public List<Object> getDynamicVariableList() {
619 return dynamicVariableList;
623 public List<String> getDataTypeList() {
628 public String getOldPolicyFileName() {
629 return oldPolicyFileName;
633 public String getServiceType() {
638 public String getUuid() {
643 public String getMsLocation() {
648 public String getPriority() {
653 public String getDeleteCondition() {
654 return deleteCondition;
658 public String getDictionaryType() {
659 return dictionaryType;
663 public String getDictionary() {
668 public String getTTLDate() {
673 public String getDictionaryFields() {
674 return dictionaryFields;
678 public String getRiskType() {
683 public String getRiskLevel() {
688 public String getGuard() {
693 public Map<String, String> getTreatments() {
698 public String toString() {
699 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", onapName="
700 + onapName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" +
701 dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
702 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" +
703 ", version=" + ", domain=" + domain
704 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" +
705 highestVersion + ", location=" + location
706 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" +
707 dynamicRuleAlgorithmCombo
708 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" +
709 dynamicRuleAlgorithmField2
710 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" +
711 actionBody + ",dropDownMap=" + dropDownMap
712 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" +
714 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + "," +
715 "dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
716 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + "," +
717 "serviceType=" + serviceType
718 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" +
719 deleteCondition + ",dictionaryType=" + dictionaryType
720 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + "," +
721 "msLocation=" + msLocation + ",priority="
722 + priority + ",deleteCondition=" + deleteCondition + ",riskType=" + riskType + ",riskLevel=" +
723 riskLevel + ",guard=" + guard + ",ttlDate=" + ttlDate
724 + ",treatments=" + treatments + "]";
727 // Methods needed for JSON Deserialization
728 public void setPolicyName(String policyName) {
729 this.policyName = policyName;
732 public void setPolicyDescription(String policyDescription) {
733 this.policyDescription = policyDescription;
736 public void setOnapName(String onapName) {
737 this.onapName = onapName;
740 public void setConfigName(String configName) {
741 this.configName = configName;
744 public void setDyanamicFieldConfigAttributes(
745 Map<String, String> dyanamicFieldConfigAttributes) {
746 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
749 public void setConfigBodyData(String configBodyData) {
750 this.configBodyData = configBodyData;
753 public void setPolicyID(String policyID) {
754 this.policyID = policyID;
757 public void setRuleID(String ruleID) {
758 this.ruleID = ruleID;
761 public void setConfigType(String configType) {
762 this.configType = configType;
765 public void setEditPolicy(Boolean editPolicy) {
766 this.editPolicy = editPolicy;
769 public void setVersion(String version) {
770 this.version = version;
773 public void setDomainDir(String domain) {
774 this.domain = domain;
777 public void setConfigPolicyType(String configPolicyType) {
778 this.configPolicyType = configPolicyType;
781 public void setJsonBody(String jsonBody) {
782 this.jsonBody = jsonBody;
785 public void setHighestVersion(Integer highestVersion) {
786 this.highestVersion = highestVersion;
789 public void setLocation(URI location) {
790 this.location = location;
793 public void setDynamicRuleAlgorithmLabels(
794 List<String> dynamicRuleAlgorithmLabels) {
795 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
798 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
799 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
802 public void setDynamicRuleAlgorithmField1(
803 List<String> dynamicRuleAlgorithmField1) {
804 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
807 public void setDynamicRuleAlgorithmField2(
808 List<String> dynamicRuleAlgorithmField2) {
809 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
812 public void setActionPerformer(String actionPerformer) {
813 this.actionPerformer = actionPerformer;
816 public void setActionAttribute(String actionAttribute) {
817 this.actionAttribute = actionAttribute;
820 public void setActionBody(String actionBody) {
821 this.actionBody = actionBody;
824 public void setDropDownMap(Map<String, String> dropDownMap) {
825 this.dropDownMap = dropDownMap;
828 public void setActionDictHeader(String actionDictHeader) {
829 this.actionDictHeader = actionDictHeader;
832 public void setActionDictType(String actionDictType) {
833 this.actionDictType = actionDictType;
836 public void setActionDictUrl(String actionDictUrl) {
837 this.actionDictUrl = actionDictUrl;
840 public void setActionDictMethod(String actionDictMethod) {
841 this.actionDictMethod = actionDictMethod;
844 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
845 this.dynamicSettingsMap = dynamicSettingsMap;
848 public void setDynamicVariableList(List<Object> dynamicVariableList) {
849 this.dynamicVariableList = dynamicVariableList;
852 public void setDataTypeList(List<String> dataTypeList) {
853 this.dataTypeList = dataTypeList;
856 public void setDraft(Boolean draft) {
860 public void setOldPolicyFileName(String oldPolicyFileName) {
861 this.oldPolicyFileName = oldPolicyFileName;
864 public void setServiceType(String serviceType) {
865 this.serviceType = serviceType;
868 public Map<String, String> getDrlRuleAndUIParams() {
869 return drlRuleAndUIParams;
872 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
873 this.drlRuleAndUIParams = drlRuleAndUIParams;
876 public void setUuid(String uuid) {
880 public void setMsLocation(String msLocation) {
881 this.msLocation = msLocation;
884 public void setPriority(String priority) {
885 this.priority = priority;
888 public void setDeleteCondition(String deleteCondition) {
889 this.deleteCondition = deleteCondition;
892 public void setDictionaryType(String dictionaryType) {
893 this.dictionaryType = dictionaryType;
896 public void setDictionary(String dictionary) {
897 this.dictionary = dictionary;
900 public void setDictionaryFields(String dictionaryFields) {
901 this.dictionaryFields = dictionaryFields;
904 public String getProviderComboBox() {
905 return providerComboBox;
908 public void setProviderComboBox(String providerComboBox) {
909 this.providerComboBox = providerComboBox;
912 public void setRiskType(String riskType) {
913 this.riskType = riskType;
916 public void setRiskLevel(String riskLevel) {
917 this.riskLevel = riskLevel;
920 public void setGuard(String guard) {
924 public void setTTLDate(String ttlDate) {
925 this.ttlDate = ttlDate;
928 public String getBrmsController() {
929 return brmsController;
932 public void setBrmsController(String brmsController) {
933 this.brmsController = brmsController;
936 public List<String> getBrmsDependency() {
937 return brmsDependency;
940 public void setBrmsDependency(List<String> brmsDependency) {
941 this.brmsDependency = brmsDependency;
944 public void setTreatments(Map<String, String> treatments) {
945 this.treatments = treatments;