2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * Modified Copyright (C) 2018 Samsung Electronics Co., Ltd.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
21 package org.onap.policy.xacml.std.pap;
23 import java.io.Serializable;
25 import java.util.HashMap;
26 import java.util.List;
29 import org.onap.policy.xacml.api.pap.OnapPAPPolicy;
31 public class StdPAPPolicy implements OnapPAPPolicy, Serializable {
32 private static final long serialVersionUID = 5260230629397322000L;
34 private String policyName = null;
35 private String oldPolicyFileName = null;
36 private String policyDescription = null;
37 private String onapName = null;
38 private String configName = null;
39 private Map<String, String> dyanamicFieldConfigAttributes = new HashMap<>();
40 private Map<String, String> treatments = new HashMap<>();
41 private Map<String, String> dropDownMap = new HashMap<>();
42 private Map<String, String> dynamicSettingsMap = new HashMap<>();
43 private List<String> dynamicRuleAlgorithmLabels;
44 private List<String> dynamicRuleAlgorithmCombo;
45 private List<String> dynamicRuleAlgorithmField1;
46 private List<String> dynamicRuleAlgorithmField2;
47 private transient List<Object> dynamicVariableList;
48 private List<String> dataTypeList;
49 private String configBodyData = null;
50 private String policyID = null;
51 private String ruleID = null;
52 private String brmsController;
53 private List<String> brmsDependency;
54 private String configType = null;
55 private Boolean editPolicy = false;
56 private Boolean draft = false;
57 private String version = null;
58 private String domain = null;
59 private String configPolicyType = null;
60 private String jsonBody = null;
61 private String serviceType = null;
62 private Integer highestVersion = null;
63 private URI location = null;
64 private String actionPerformer = null;
65 private String actionAttribute = null;
66 private String actionBody = null;
67 private String actionDictHeader = null;
68 private String actionDictType = null;
69 private String actionDictUrl = null;
70 private String actionDictMethod = null;
71 private String uuid = null;
72 private String msLocation = null;
73 private String priority = null;
74 private transient Map<String, String> drlRuleAndUIParams = null;
75 private String deleteCondition = null;
76 private String dictionaryType = null;
77 private String dictionary = null;
78 private String dictionaryFields = null;
79 private String providerComboBox = null;
80 private String riskType = null;
81 private String guard = null;
82 private String riskLevel;
83 private String ttlDate = null;
86 public StdPAPPolicy() {
88 // Default empty constructor
92 //Constructor for sending location when pushing policies
93 public StdPAPPolicy(URI location) {
94 this.location = location;
97 //Constructor for Validating Config Policies
98 public StdPAPPolicy(String policyName, String body, String configType, String configPolicyType) {
99 this.policyName = policyName;
100 this.configBodyData = body;
101 this.configType = configType;
102 this.configPolicyType = configPolicyType;
107 * Create Config Policies from API and Admin Console
108 * Updating Config Policies from the API
109 * Create/Update Action Policies from API
110 * Create/Update Decision Policies
111 * @param stdPAPPolicyParams Input params object
113 public StdPAPPolicy(StdPAPPolicyParams stdPAPPolicyParams) {
114 this.configPolicyType=stdPAPPolicyParams.getConfigPolicyType();
115 this.policyName = stdPAPPolicyParams.getPolicyName();
116 this.policyDescription = stdPAPPolicyParams.getDescription();
117 this.onapName = stdPAPPolicyParams.getOnapName();
118 this.providerComboBox = stdPAPPolicyParams.getProviderComboBox();
119 this.configName = stdPAPPolicyParams.getConfigName();
120 this.dyanamicFieldConfigAttributes = stdPAPPolicyParams.getDyanamicFieldConfigAttributes();
121 this.dynamicSettingsMap = stdPAPPolicyParams.getDynamicSettingsMap();
122 this.configType = stdPAPPolicyParams.getConfigType();
123 this.configBodyData = stdPAPPolicyParams.getConfigBodyData();
124 this.editPolicy = stdPAPPolicyParams.getEditPolicy();
125 this.domain = stdPAPPolicyParams.getDomain();
126 this.highestVersion = stdPAPPolicyParams.getHighestVersion();
127 this.riskLevel = stdPAPPolicyParams.getRiskLevel();
128 this.riskType = stdPAPPolicyParams.getRiskType();
129 this.guard = stdPAPPolicyParams.getGuard();
130 this.ttlDate = stdPAPPolicyParams.getTtlDate();
131 this.dynamicRuleAlgorithmLabels = stdPAPPolicyParams.getDynamicRuleAlgorithmLabels();
132 this.dynamicRuleAlgorithmCombo = stdPAPPolicyParams.getDynamicRuleAlgorithmCombo();
133 this.dynamicRuleAlgorithmField1 = stdPAPPolicyParams.getDynamicRuleAlgorithmField1();
134 this.dynamicRuleAlgorithmField2 = stdPAPPolicyParams.getDynamicRuleAlgorithmField2();
135 this.dynamicVariableList = stdPAPPolicyParams.getDynamicVariableList();
136 this.dataTypeList = stdPAPPolicyParams.getDataTypeList();
137 this.dropDownMap = stdPAPPolicyParams.getDropDownMap();
138 this.actionPerformer = stdPAPPolicyParams.getActionPerformer();
139 this.actionAttribute = stdPAPPolicyParams.getActionAttribute();
140 this.treatments = stdPAPPolicyParams.getTreatments();
143 //convenience constructor
144 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
145 String configName, Map<String, String> attributes, String body, String policyID,
146 String ruleID, String configType, Boolean editPolicy, String version, String domain,
147 String riskLevel, String riskType, String guard, String ttlDate) {
148 this(configPolicyType, policyName, description, onapName, configName, attributes, body, policyID,
149 ruleID, configType, editPolicy, version, domain, 1, riskLevel, riskType, guard, ttlDate);
152 //Constructor for Updating Config Policies from Admin Console
153 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
154 String configName, Map<String, String> attributes, String body, String policyID,
155 String ruleID, String configType, Boolean editPolicy, String version, String domain,
156 int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
158 this.configPolicyType = configPolicyType;
159 this.policyName = policyName;
160 this.policyDescription = description;
161 this.onapName = onapName;
162 this.configName = configName;
163 this.dyanamicFieldConfigAttributes = attributes;
164 this.configBodyData = body;
165 this.policyID = policyID;
166 this.ruleID = ruleID;
167 this.configType = configType;
168 this.editPolicy = editPolicy;
169 this.version = version;
170 this.domain = domain;
171 this.highestVersion = highestVersion;
172 this.riskLevel = riskLevel;
173 this.riskType = riskType;
175 this.ttlDate = ttlDate;
179 //Constructor for Creating Config Firewall Policies
180 public StdPAPPolicy(String configPolicyType, String policyName, String description, String configName,
181 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String riskLevel,
182 String riskType, String guard, String ttlDate) {
184 this.configPolicyType = configPolicyType;
185 this.policyName = policyName;
186 this.policyDescription = description;
187 this.configName = configName;
188 this.editPolicy = editPolicy;
189 this.domain = domain;
190 this.jsonBody = jsonBody;
191 this.highestVersion = highestVersion;
192 this.riskLevel = riskLevel;
193 this.riskType = riskType;
195 this.ttlDate = ttlDate;
199 //Constructor for Creating Goc Policies
200 public StdPAPPolicy(String configPolicyType, String policyName, String description, String configName,
201 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String eCompName,
202 String riskLevel, String riskType, String guard, String ttlDate) {
204 this.configPolicyType = configPolicyType;
205 this.policyName = policyName;
206 this.policyDescription = description;
207 this.configName = configName;
208 this.editPolicy = editPolicy;
209 this.domain = domain;
210 this.jsonBody = jsonBody;
211 this.highestVersion = highestVersion;
212 this.onapName = eCompName;
213 this.riskLevel = riskLevel;
214 this.riskType = riskType;
216 this.ttlDate = ttlDate;
219 //Constructor for Creating BRMS Policies from the Admin Console
220 public StdPAPPolicy(String configPolicyType, String policyName, String description,
221 String configName, Boolean editPolicy, String domain,
222 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
223 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate,
224 String brmsController, List<String> brmsDependency) {
226 this.configPolicyType = configPolicyType;
227 this.policyName = policyName;
228 this.policyDescription = description;
229 this.configName = configName;
230 this.editPolicy = editPolicy;
231 this.domain = domain;
232 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
233 this.highestVersion = highestVersion;
234 this.onapName = eCompName;
235 this.configBodyData = configBodyData;
236 this.riskLevel = riskLevel;
237 this.riskType = riskType;
239 this.ttlDate = ttlDate;
240 this.brmsController = brmsController;
241 this.brmsDependency = brmsDependency;
244 //Constructor for Creating BRMS Param Policies from the Admin Console
245 public StdPAPPolicy(String configPolicyType, String policyName, String description,
246 String configName, Boolean editPolicy, String domain,
247 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
248 String configBodyData, Map<String, String> drlRuleAndUIParams, String riskLevel,
249 String riskType, String guard, String ttlDate, String brmsController,
250 List<String> brmsDependency) {
252 this.configPolicyType = configPolicyType;
253 this.policyName = policyName;
254 this.policyDescription = description;
255 this.configName = configName;
256 this.editPolicy = editPolicy;
257 this.domain = domain;
258 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
259 this.highestVersion = highestVersion;
260 this.onapName = eCompName;
261 this.configBodyData = configBodyData;
262 this.drlRuleAndUIParams = drlRuleAndUIParams;
263 this.riskLevel = riskLevel;
264 this.riskType = riskType;
266 this.ttlDate = ttlDate;
267 this.brmsController = brmsController;
268 this.brmsDependency = brmsDependency;
271 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
272 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
273 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType,
275 String domain, Integer highestVersion, String riskLevel, String riskType, String guard,
278 this.configPolicyType = configPolicyType;
279 this.policyName = policyName;
280 this.policyDescription = description;
281 this.onapName = onapName;
282 this.jsonBody = jsonBody;
284 this.oldPolicyFileName = oldPolicyFileName;
285 this.serviceType = serviceType;
286 this.editPolicy = editPolicy;
287 this.domain = domain;
288 this.highestVersion = highestVersion;
289 this.riskLevel = riskLevel;
290 this.riskType = riskType;
292 this.ttlDate = ttlDate;
295 //Constructor for Updating Config Firewall Policies from the Admin Console
296 public StdPAPPolicy(String configPolicyType, String policyName, String description, String configName,
297 Boolean editPolicy, String domain, String policyID,
298 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel,
299 String riskType, String guard, String ttlDate) {
301 this.configPolicyType = configPolicyType;
302 this.policyName = policyName;
303 this.policyDescription = description;
304 this.configName = configName;
305 this.editPolicy = editPolicy;
306 this.domain = domain;
307 this.policyID = policyID;
308 this.ruleID = ruleID;
309 this.version = version;
310 this.jsonBody = jsonBody;
311 this.highestVersion = highestVersion;
312 this.riskLevel = riskLevel;
313 this.riskType = riskType;
315 this.ttlDate = ttlDate;
318 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
319 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName,
320 String configName, String serviceType, String uuid,
321 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy,
322 String domain, int highestVersion, String riskLevel,
323 String riskType, String guard, String ttlDate) {
325 this.configPolicyType = configPolicyType;
326 this.policyName = policyName;
327 this.policyDescription = description;
328 this.onapName = onapName;
329 this.configName = configName;
330 this.serviceType = serviceType;
332 this.msLocation = msLocation;
333 this.priority = priority;
334 this.version = version;
335 this.jsonBody = jsonBody;
336 this.editPolicy = editPolicy;
337 this.domain = domain;
338 this.highestVersion = highestVersion;
339 this.riskLevel = riskLevel;
340 this.riskType = riskType;
342 this.ttlDate = ttlDate;
345 //Constructor for Updating Goc Policies from the Admin Console
346 public StdPAPPolicy(String configPolicyType, String policyName, String description,
347 String configName, Boolean editPolicy, String domain,
348 String policyID, String ruleID, String version,
349 String jsonBody, Integer highestVersion, String eCompName, String riskLevel, String riskType,
350 String guard, String ttlDate) {
352 this.configPolicyType = configPolicyType;
353 this.policyName = policyName;
354 this.policyDescription = description;
355 this.configName = configName;
356 this.editPolicy = editPolicy;
357 this.domain = domain;
358 this.policyID = policyID;
359 this.ruleID = ruleID;
360 this.version = version;
361 this.jsonBody = jsonBody;
362 this.highestVersion = highestVersion;
363 this.onapName = eCompName;
364 this.riskLevel = riskLevel;
365 this.riskType = riskType;
367 this.ttlDate = ttlDate;
370 //Constructor for Updating Brms Policies from the Admin Console
371 public StdPAPPolicy(String configPolicyType, String policyName, String description,
372 String configName, Boolean editPolicy, String domain,
373 String policyID, String ruleID, String version,
374 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
375 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate
377 this.configPolicyType = configPolicyType;
378 this.policyName = policyName;
379 this.policyDescription = description;
380 this.configName = configName;
381 this.editPolicy = editPolicy;
382 this.domain = domain;
383 this.policyID = policyID;
384 this.ruleID = ruleID;
385 this.version = version;
386 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
387 this.highestVersion = highestVersion;
388 this.onapName = eCompName;
389 this.configBodyData = configBodyData;
390 this.riskLevel = riskLevel;
391 this.riskType = riskType;
393 this.ttlDate = ttlDate;
396 //Constructor for Updating Brms Param Policies from the Admin Console
397 public StdPAPPolicy(String configPolicyType, String policyName, String description,
398 String configName, Boolean editPolicy, String domain,
399 String policyID, String ruleID, String version,
400 Map<String, String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
401 Map<String, String> drlRuleAndUIParams, String riskLevel, String riskType, String guard,
404 this.configPolicyType = configPolicyType;
405 this.policyName = policyName;
406 this.policyDescription = description;
407 this.configName = configName;
408 this.editPolicy = editPolicy;
409 this.domain = domain;
410 this.policyID = policyID;
411 this.ruleID = ruleID;
412 this.version = version;
413 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
414 this.highestVersion = highestVersion;
415 this.onapName = eCompName;
416 this.drlRuleAndUIParams = drlRuleAndUIParams;
417 this.riskLevel = riskLevel;
418 this.riskType = riskType;
420 this.ttlDate = ttlDate;
423 // Constructor for deleting policies from the API
424 public StdPAPPolicy(String policyName, String deleteCondition) {
425 this.policyName = policyName;
426 this.deleteCondition = deleteCondition;
429 // Constructor for creating dictionary items from the API>
430 public StdPAPPolicy(String dictionaryType, String dictionary, String dictionaryFields) {
431 this.dictionaryType = dictionaryType;
432 this.dictionary = dictionary;
433 this.dictionaryFields = dictionaryFields;
437 public String getPolicyName() {
442 public String getPolicyDescription() {
443 return policyDescription;
447 public String getOnapName() {
452 public String getConfigName() {
457 public Map<String, String> getDynamicFieldConfigAttributes() {
458 return dyanamicFieldConfigAttributes;
462 public String getConfigBodyData() {
463 return configBodyData;
467 public String getPolicyID() {
472 public String getRuleID() {
477 public String getConfigType() {
482 public Boolean isEditPolicy() {
487 public Boolean isDraft() {
492 public String getVersion() {
497 public String getDomainDir() {
502 public String getConfigPolicyType() {
503 return configPolicyType;
507 public String getJsonBody() {
512 public Integer getHighestVersion() {
513 return highestVersion;
517 public URI getLocation() {
522 public List<String> getDynamicRuleAlgorithmLabels() {
523 return dynamicRuleAlgorithmLabels;
527 public List<String> getDynamicRuleAlgorithmCombo() {
528 return dynamicRuleAlgorithmCombo;
532 public List<String> getDynamicRuleAlgorithmField1() {
533 return dynamicRuleAlgorithmField1;
537 public List<String> getDynamicRuleAlgorithmField2() {
538 return dynamicRuleAlgorithmField2;
542 public String getActionPerformer() {
543 return actionPerformer;
547 public String getActionAttribute() {
548 return actionAttribute;
552 public String getActionBody() {
557 public Map<String, String> getDropDownMap() {
562 public String getActionDictHeader() {
563 return actionDictHeader;
567 public String getActionDictType() {
568 return actionDictType;
572 public String getActionDictUrl() {
573 return actionDictUrl;
577 public String getActionDictMethod() {
578 return actionDictMethod;
582 public Map<String, String> getDynamicSettingsMap() {
583 return dynamicSettingsMap;
587 public List<Object> getDynamicVariableList() {
588 return dynamicVariableList;
592 public List<String> getDataTypeList() {
597 public String getOldPolicyFileName() {
598 return oldPolicyFileName;
602 public String getServiceType() {
607 public String getUuid() {
612 public String getMsLocation() {
617 public String getPriority() {
622 public String getDeleteCondition() {
623 return deleteCondition;
627 public String getDictionaryType() {
628 return dictionaryType;
632 public String getDictionary() {
637 public String getTTLDate() {
642 public String getDictionaryFields() {
643 return dictionaryFields;
647 public String getRiskType() {
652 public String getRiskLevel() {
657 public String getGuard() {
662 public Map<String, String> getTreatments() {
667 public String toString() {
668 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", onapName="
669 + onapName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" +
670 dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
671 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" +
672 ", version=" + ", domain=" + domain
673 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" +
674 highestVersion + ", location=" + location
675 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" +
676 dynamicRuleAlgorithmCombo
677 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" +
678 dynamicRuleAlgorithmField2
679 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" +
680 actionBody + ",dropDownMap=" + dropDownMap
681 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" +
683 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + "," +
684 "dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
685 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + "," +
686 "serviceType=" + serviceType
687 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" +
688 deleteCondition + ",dictionaryType=" + dictionaryType
689 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + "," +
690 "msLocation=" + msLocation + ",priority="
691 + priority + ",deleteCondition=" + deleteCondition + ",riskType=" + riskType + ",riskLevel=" +
692 riskLevel + ",guard=" + guard + ",ttlDate=" + ttlDate
693 + ",treatments=" + treatments + "]";
696 // Methods needed for JSON Deserialization
697 public void setPolicyName(String policyName) {
698 this.policyName = policyName;
701 public void setPolicyDescription(String policyDescription) {
702 this.policyDescription = policyDescription;
705 public void setOnapName(String onapName) {
706 this.onapName = onapName;
709 public void setConfigName(String configName) {
710 this.configName = configName;
713 public void setDyanamicFieldConfigAttributes(
714 Map<String, String> dyanamicFieldConfigAttributes) {
715 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
718 public void setConfigBodyData(String configBodyData) {
719 this.configBodyData = configBodyData;
722 public void setPolicyID(String policyID) {
723 this.policyID = policyID;
726 public void setRuleID(String ruleID) {
727 this.ruleID = ruleID;
730 public void setConfigType(String configType) {
731 this.configType = configType;
734 public void setEditPolicy(Boolean editPolicy) {
735 this.editPolicy = editPolicy;
738 public void setVersion(String version) {
739 this.version = version;
742 public void setDomainDir(String domain) {
743 this.domain = domain;
746 public void setConfigPolicyType(String configPolicyType) {
747 this.configPolicyType = configPolicyType;
750 public void setJsonBody(String jsonBody) {
751 this.jsonBody = jsonBody;
754 public void setHighestVersion(Integer highestVersion) {
755 this.highestVersion = highestVersion;
758 public void setLocation(URI location) {
759 this.location = location;
762 public void setDynamicRuleAlgorithmLabels(
763 List<String> dynamicRuleAlgorithmLabels) {
764 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
767 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
768 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
771 public void setDynamicRuleAlgorithmField1(
772 List<String> dynamicRuleAlgorithmField1) {
773 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
776 public void setDynamicRuleAlgorithmField2(
777 List<String> dynamicRuleAlgorithmField2) {
778 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
781 public void setActionPerformer(String actionPerformer) {
782 this.actionPerformer = actionPerformer;
785 public void setActionAttribute(String actionAttribute) {
786 this.actionAttribute = actionAttribute;
789 public void setActionBody(String actionBody) {
790 this.actionBody = actionBody;
793 public void setDropDownMap(Map<String, String> dropDownMap) {
794 this.dropDownMap = dropDownMap;
797 public void setActionDictHeader(String actionDictHeader) {
798 this.actionDictHeader = actionDictHeader;
801 public void setActionDictType(String actionDictType) {
802 this.actionDictType = actionDictType;
805 public void setActionDictUrl(String actionDictUrl) {
806 this.actionDictUrl = actionDictUrl;
809 public void setActionDictMethod(String actionDictMethod) {
810 this.actionDictMethod = actionDictMethod;
813 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
814 this.dynamicSettingsMap = dynamicSettingsMap;
817 public void setDynamicVariableList(List<Object> dynamicVariableList) {
818 this.dynamicVariableList = dynamicVariableList;
821 public void setDataTypeList(List<String> dataTypeList) {
822 this.dataTypeList = dataTypeList;
825 public void setDraft(Boolean draft) {
829 public void setOldPolicyFileName(String oldPolicyFileName) {
830 this.oldPolicyFileName = oldPolicyFileName;
833 public void setServiceType(String serviceType) {
834 this.serviceType = serviceType;
837 public Map<String, String> getDrlRuleAndUIParams() {
838 return drlRuleAndUIParams;
841 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
842 this.drlRuleAndUIParams = drlRuleAndUIParams;
845 public void setUuid(String uuid) {
849 public void setMsLocation(String msLocation) {
850 this.msLocation = msLocation;
853 public void setPriority(String priority) {
854 this.priority = priority;
857 public void setDeleteCondition(String deleteCondition) {
858 this.deleteCondition = deleteCondition;
861 public void setDictionaryType(String dictionaryType) {
862 this.dictionaryType = dictionaryType;
865 public void setDictionary(String dictionary) {
866 this.dictionary = dictionary;
869 public void setDictionaryFields(String dictionaryFields) {
870 this.dictionaryFields = dictionaryFields;
873 public String getProviderComboBox() {
874 return providerComboBox;
877 public void setProviderComboBox(String providerComboBox) {
878 this.providerComboBox = providerComboBox;
881 public void setRiskType(String riskType) {
882 this.riskType = riskType;
885 public void setRiskLevel(String riskLevel) {
886 this.riskLevel = riskLevel;
889 public void setGuard(String guard) {
893 public void setTTLDate(String ttlDate) {
894 this.ttlDate = ttlDate;
897 public String getBrmsController() {
898 return brmsController;
901 public void setBrmsController(String brmsController) {
902 this.brmsController = brmsController;
905 public List<String> getBrmsDependency() {
906 return brmsDependency;
909 public void setBrmsDependency(List<String> brmsDependency) {
910 this.brmsDependency = brmsDependency;
913 public void setTreatments(Map<String, String> treatments) {
914 this.treatments = treatments;