2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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.ArrayList;
25 import java.util.HashMap;
26 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 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 //convenience constructor
105 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String configType,
106 String body, Boolean editPolicy, String domain, String riskLevel, String riskType, String guard, String ttlDate){
107 this(configPolicyType, policyName, description, onapName, configName, attributes, configType,
108 body, editPolicy, domain, 1, riskLevel, riskType, guard, ttlDate);
111 //Constructor for Create/Update Action Policies from API
112 public StdPAPPolicy(String policyName, String description, Map<String, String> attributes, List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
113 List<String> dynamicRuleAlgorithmField1, List<String> dynamicRuleAlgorithmField2, String actionPerformer,String actionAttribute, Boolean editPolicy,
114 String domain, int highestVersion) {
116 this.policyName = policyName;
117 this.policyDescription = description;
118 this.dyanamicFieldConfigAttributes = attributes;
119 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
120 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
121 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
122 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
123 this.actionPerformer = actionPerformer;
124 this.actionAttribute = actionAttribute;
125 this.editPolicy = editPolicy;
126 this.domain = domain;
127 this.highestVersion = highestVersion;
131 //Constructor for Create/Update Decision Policies
132 public StdPAPPolicy(String policyName, String description, String onapName, String providerComboBox,
133 Map<String, String> attributes, Map<String, String> settings, Map<String, String> treatments,
134 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo, List<String> dynamicRuleAlgorithmField1,
135 List<String> dynamicRuleAlgorithmField2, Map<String, String> dropDownMap, List<Object> dynamicVariableList,
136 List<String> dataTypeList, Boolean editPolicy, String domain, int highestVersion) {
138 this.policyName = policyName;
139 this.policyDescription = description;
140 this.onapName = onapName;
141 this.setProviderComboBox(providerComboBox);
142 this.dyanamicFieldConfigAttributes = attributes;
143 this.dynamicSettingsMap = settings;
144 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
145 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
146 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
147 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
148 this.dynamicVariableList = dynamicVariableList;
149 this.dataTypeList = dataTypeList;
150 this.dropDownMap = dropDownMap;
151 this.editPolicy = editPolicy;
152 this.domain = domain;
153 this.highestVersion = highestVersion;
154 this.treatments = treatments;
158 //Constructor for Create Config Policies from API and Admin Console
159 //Constructor for Updating Config Policies from the API
160 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String configType,
161 String body, Boolean editPolicy, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
163 this.configPolicyType = configPolicyType;
164 this.policyName = policyName;
165 this.policyDescription = description;
166 this.onapName = onapName;
167 this.configName = configName;
168 this.dyanamicFieldConfigAttributes = attributes;
169 this.configType = configType;
170 this.configBodyData = body;
171 this.editPolicy = editPolicy;
172 this.domain = domain;
173 this.highestVersion = highestVersion;
174 this.riskLevel = riskLevel;
175 this.riskType = riskType;
177 this.ttlDate = ttlDate;
180 //convenience constructor
181 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String body, String policyID,
182 String ruleID, String configType, Boolean editPolicy, String version, String domain, String riskLevel, String riskType, String guard, String ttlDate) {
183 this (configPolicyType, policyName, description, onapName, configName, attributes, body, policyID,
184 ruleID, configType, editPolicy, version, domain, 1, riskLevel, riskType, guard, ttlDate);
187 //Constructor for Updating Config Policies from Admin Console
188 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String body, String policyID,
189 String ruleID, String configType, Boolean editPolicy, String version, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
191 this.configPolicyType = configPolicyType;
192 this.policyName = policyName;
193 this.policyDescription = description;
194 this.onapName = onapName;
195 this.configName = configName;
196 this.dyanamicFieldConfigAttributes = attributes;
197 this.configBodyData = body;
198 this.policyID = policyID;
199 this.ruleID = ruleID;
200 this.configType = configType;
201 this.editPolicy = editPolicy;
202 this.version = version;
203 this.domain = domain;
204 this.highestVersion = highestVersion;
205 this.riskLevel = riskLevel;
206 this.riskType = riskType;
208 this.ttlDate = ttlDate;
212 //Constructor for Creating Config Firewall Policies
213 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
214 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
216 this.configPolicyType = configPolicyType;
217 this.policyName = policyName;
218 this.policyDescription = description;
219 this.configName = configName;
220 this.editPolicy = editPolicy;
221 this.domain = domain;
222 this.jsonBody = jsonBody;
223 this.highestVersion = highestVersion;
224 this.riskLevel = riskLevel;
225 this.riskType = riskType;
227 this.ttlDate = ttlDate;
231 //Constructor for Creating Goc Policies
232 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
233 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String eCompName, 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, String brmsController, List<String> brmsDependency) {
256 this.configPolicyType = configPolicyType;
257 this.policyName = policyName;
258 this.policyDescription = description;
259 this.configName = configName;
260 this.editPolicy = editPolicy;
261 this.domain = domain;
262 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
263 this.highestVersion = highestVersion;
264 this.onapName=eCompName;
265 this.configBodyData=configBodyData;
266 this.riskLevel = riskLevel;
267 this.riskType = riskType;
269 this.ttlDate = ttlDate;
270 this.brmsController = brmsController;
271 this.brmsDependency = brmsDependency;
274 //Constructor for Creating BRMS Param Policies from the Admin Console
275 public StdPAPPolicy (String configPolicyType, String policyName, String description,
276 String configName, Boolean editPolicy, String domain,
277 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
278 String configBodyData,Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, List<String> brmsDependency) {
280 this.configPolicyType = configPolicyType;
281 this.policyName = policyName;
282 this.policyDescription = description;
283 this.configName = configName;
284 this.editPolicy = editPolicy;
285 this.domain = domain;
286 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
287 this.highestVersion = highestVersion;
288 this.onapName=eCompName;
289 this.configBodyData=configBodyData;
290 this.drlRuleAndUIParams=drlRuleAndUIParams;
291 this.riskLevel = riskLevel;
292 this.riskType = riskType;
294 this.ttlDate = ttlDate;
295 this.brmsController = brmsController;
296 this.brmsDependency = brmsDependency;
299 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
300 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName,
301 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType, Boolean editPolicy,
302 String domain, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
304 this.configPolicyType = configPolicyType;
305 this.policyName = policyName;
306 this.policyDescription = description;
307 this.onapName = onapName;
308 this.jsonBody = jsonBody;
310 this.oldPolicyFileName = oldPolicyFileName;
311 this.serviceType = serviceType;
312 this.editPolicy = editPolicy;
313 this.domain = domain;
314 this.highestVersion = highestVersion;
315 this.riskLevel = riskLevel;
316 this.riskType = riskType;
318 this.ttlDate = ttlDate;
321 //Constructor for Updating Config Firewall Policies from the Admin Console
322 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName, Boolean editPolicy, String domain, String policyID,
323 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
325 this.configPolicyType = configPolicyType;
326 this.policyName = policyName;
327 this.policyDescription = description;
328 this.configName = configName;
329 this.editPolicy = editPolicy;
330 this.domain = domain;
331 this.policyID = policyID;
332 this.ruleID = ruleID;
333 this.version = version;
334 this.jsonBody = jsonBody;
335 this.highestVersion = highestVersion;
336 this.riskLevel = riskLevel;
337 this.riskType = riskType;
339 this.ttlDate = ttlDate;
342 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
343 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, String serviceType, String uuid,
344 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy, String domain, int highestVersion, String riskLevel,
345 String riskType, String guard, String ttlDate) {
347 this.configPolicyType = configPolicyType;
348 this.policyName = policyName;
349 this.policyDescription = description;
350 this.onapName = onapName;
351 this.configName = configName;
352 this.serviceType = serviceType;
354 this.msLocation = msLocation;
355 this.priority = priority;
356 this.version = version;
357 this.jsonBody = jsonBody;
358 this.editPolicy = editPolicy;
359 this.domain = domain;
360 this.highestVersion = highestVersion;
361 this.riskLevel = riskLevel;
362 this.riskType = riskType;
364 this.ttlDate = ttlDate;
367 //Constructor for Updating Goc Policies from the Admin Console
368 public StdPAPPolicy (String configPolicyType, String policyName, String description,
369 String configName, Boolean editPolicy, String domain,
370 String policyID, String ruleID, String version,
371 String jsonBody, Integer highestVersion, String eCompName,String riskLevel, String riskType, String guard, String ttlDate) {
373 this.configPolicyType = configPolicyType;
374 this.policyName = policyName;
375 this.policyDescription = description;
376 this.configName = configName;
377 this.editPolicy = editPolicy;
378 this.domain = domain;
379 this.policyID = policyID;
380 this.ruleID = ruleID;
381 this.version = version;
382 this.jsonBody = jsonBody;
383 this.highestVersion = highestVersion;
384 this.onapName=eCompName;
385 this.riskLevel = riskLevel;
386 this.riskType = riskType;
388 this.ttlDate = ttlDate;
391 //Constructor for Updating Brms Policies from the Admin Console
392 public StdPAPPolicy (String configPolicyType, String policyName, String description,
393 String configName, Boolean editPolicy, String domain,
394 String policyID, String ruleID, String version,
395 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
396 String configBodyData , String riskLevel, String riskType, String guard, String ttlDate
398 this.configPolicyType = configPolicyType;
399 this.policyName = policyName;
400 this.policyDescription = description;
401 this.configName = configName;
402 this.editPolicy = editPolicy;
403 this.domain = domain;
404 this.policyID = policyID;
405 this.ruleID = ruleID;
406 this.version = version;
407 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
408 this.highestVersion = highestVersion;
409 this.onapName=eCompName;
410 this.configBodyData=configBodyData;
411 this.riskLevel = riskLevel;
412 this.riskType = riskType;
414 this.ttlDate = ttlDate;
417 //Constructor for Updating Brms Param Policies from the Admin Console
418 public StdPAPPolicy (String configPolicyType, String policyName, String description,
419 String configName, Boolean editPolicy, String domain,
420 String policyID, String ruleID, String version,
421 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
422 Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate
424 this.configPolicyType = configPolicyType;
425 this.policyName = policyName;
426 this.policyDescription = description;
427 this.configName = configName;
428 this.editPolicy = editPolicy;
429 this.domain = domain;
430 this.policyID = policyID;
431 this.ruleID = ruleID;
432 this.version = version;
433 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
434 this.highestVersion = highestVersion;
435 this.onapName=eCompName;
436 this.drlRuleAndUIParams=drlRuleAndUIParams;
437 this.riskLevel = riskLevel;
438 this.riskType = riskType;
440 this.ttlDate = ttlDate;
443 // Constructor for deleting policies from the API
444 public StdPAPPolicy(String policyName, String deleteCondition) {
445 this.policyName = policyName;
446 this.deleteCondition = deleteCondition;
449 // Constructor for creating dictionary items from the API>
450 public StdPAPPolicy(String dictionaryType, String dictionary, String dictionaryFields) {
451 this.dictionaryType = dictionaryType;
452 this.dictionary = dictionary;
453 this.dictionaryFields = dictionaryFields;
457 public String getPolicyName() {
462 public String getPolicyDescription() {
463 return policyDescription;
467 public String getOnapName() {
472 public String getConfigName() {
477 public Map<String, String> getDynamicFieldConfigAttributes() {
478 return dyanamicFieldConfigAttributes;
482 public String getConfigBodyData() {
483 return configBodyData;
487 public String getPolicyID() {
492 public String getRuleID() {
497 public String getConfigType() {
502 public Boolean isEditPolicy() {
507 public Boolean isDraft() {
512 public String getVersion() {
517 public String getDomainDir() {
522 public String getConfigPolicyType() {
523 return configPolicyType;
527 public String getJsonBody() {
532 public Integer getHighestVersion() {
533 return highestVersion;
537 public URI getLocation() {
542 public List<String> getDynamicRuleAlgorithmLabels() {
543 return dynamicRuleAlgorithmLabels;
547 public List<String> getDynamicRuleAlgorithmCombo() {
548 return dynamicRuleAlgorithmCombo;
552 public List<String> getDynamicRuleAlgorithmField1() {
553 return dynamicRuleAlgorithmField1;
557 public List<String> getDynamicRuleAlgorithmField2() {
558 return dynamicRuleAlgorithmField2;
562 public String getActionPerformer() {
563 return actionPerformer;
567 public String getActionAttribute() {
568 return actionAttribute;
572 public String getActionBody() {
577 public Map<String, String> getDropDownMap() {
582 public String getActionDictHeader() {
583 return actionDictHeader;
587 public String getActionDictType() {
588 return actionDictType;
592 public String getActionDictUrl() {
593 return actionDictUrl;
597 public String getActionDictMethod() {
598 return actionDictMethod;
602 public Map<String, String> getDynamicSettingsMap() {
603 return dynamicSettingsMap;
607 public List<Object> getDynamicVariableList() {
608 return dynamicVariableList;
612 public List<String> getDataTypeList() {
617 public String getOldPolicyFileName() {
618 return oldPolicyFileName;
622 public String getServiceType() {
627 public String getUuid() {
632 public String getMsLocation() {
637 public String getPriority() {
642 public String getDeleteCondition() {
643 return deleteCondition;
647 public String getDictionaryType() {
648 return dictionaryType;
652 public String getDictionary() {
657 public String getTTLDate(){
662 public String getDictionaryFields() {
663 return dictionaryFields;
667 public String getRiskType() {
672 public String getRiskLevel() {
677 public String getGuard() {
682 public Map<String, String> getTreatments() {
687 public String toString() {
688 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", onapName="
689 + onapName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" + dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
690 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" + ", version=" + ", domain=" + domain
691 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" + highestVersion + ", location=" + location
692 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" + dynamicRuleAlgorithmCombo
693 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" + dynamicRuleAlgorithmField2
694 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" + actionBody + ",dropDownMap=" + dropDownMap
695 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" + actionDictUrl
696 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + ",dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
697 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + ",serviceType=" + serviceType
698 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" + deleteCondition + ",dictionaryType=" + dictionaryType
699 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority="
700 + priority + ",deleteCondition=" + deleteCondition + ",riskType="+riskType + ",riskLevel="+riskLevel + ",guard="+ guard + ",ttlDate="+ ttlDate
701 + ",treatments=" + treatments + "]";
704 // Methods needed for JSON Deserialization
705 public void setPolicyName(String policyName) {
706 this.policyName = policyName;
709 public void setPolicyDescription(String policyDescription) {
710 this.policyDescription = policyDescription;
713 public void setOnapName(String onapName) {
714 this.onapName = onapName;
717 public void setConfigName(String configName) {
718 this.configName = configName;
721 public void setDyanamicFieldConfigAttributes(
722 Map<String, String> dyanamicFieldConfigAttributes) {
723 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
726 public void setConfigBodyData(String configBodyData) {
727 this.configBodyData = configBodyData;
730 public void setPolicyID(String policyID) {
731 this.policyID = policyID;
734 public void setRuleID(String ruleID) {
735 this.ruleID = ruleID;
738 public void setConfigType(String configType) {
739 this.configType = configType;
742 public void setEditPolicy(Boolean editPolicy) {
743 this.editPolicy = editPolicy;
746 public void setVersion(String version) {
747 this.version = version;
750 public void setDomainDir(String domain) {
751 this.domain = domain;
754 public void setConfigPolicyType(String configPolicyType) {
755 this.configPolicyType = configPolicyType;
758 public void setJsonBody(String jsonBody) {
759 this.jsonBody = jsonBody;
762 public void setHighestVersion(Integer highestVersion) {
763 this.highestVersion = highestVersion;
766 public void setLocation (URI location) {
767 this.location = location;
770 public void setDynamicRuleAlgorithmLabels(
771 List<String> dynamicRuleAlgorithmLabels) {
772 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
775 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
776 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
779 public void setDynamicRuleAlgorithmField1(
780 List<String> dynamicRuleAlgorithmField1) {
781 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
784 public void setDynamicRuleAlgorithmField2(
785 List<String> dynamicRuleAlgorithmField2) {
786 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
789 public void setActionPerformer(String actionPerformer) {
790 this.actionPerformer = actionPerformer;
793 public void setActionAttribute(String actionAttribute) {
794 this.actionAttribute = actionAttribute;
797 public void setActionBody(String actionBody) {
798 this.actionBody = actionBody;
801 public void setDropDownMap(Map<String, String> dropDownMap) {
802 this.dropDownMap = dropDownMap;
805 public void setActionDictHeader(String actionDictHeader) {
806 this.actionDictHeader = actionDictHeader;
809 public void setActionDictType(String actionDictType) {
810 this.actionDictType = actionDictType;
813 public void setActionDictUrl(String actionDictUrl) {
814 this.actionDictUrl = actionDictUrl;
817 public void setActionDictMethod(String actionDictMethod) {
818 this.actionDictMethod = actionDictMethod;
821 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
822 this.dynamicSettingsMap = dynamicSettingsMap;
825 public void setDynamicVariableList(List<Object> dynamicVariableList) {
826 this.dynamicVariableList = dynamicVariableList;
829 public void setDataTypeList(List<String> dataTypeList) {
830 this.dataTypeList = dataTypeList;
833 public void setDraft(Boolean draft) {
837 public void setOldPolicyFileName(String oldPolicyFileName) {
838 this.oldPolicyFileName = oldPolicyFileName;
841 public void setServiceType(String serviceType) {
842 this.serviceType = serviceType;
845 public Map<String, String> getDrlRuleAndUIParams() {
846 return drlRuleAndUIParams;
849 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
850 this.drlRuleAndUIParams = drlRuleAndUIParams;
853 public void setUuid(String uuid) {
857 public void setMsLocation(String msLocation) {
858 this.msLocation = msLocation;
861 public void setPriority(String priority) {
862 this.priority = priority;
865 public void setDeleteCondition(String deleteCondition) {
866 this.deleteCondition = deleteCondition;
869 public void setDictionaryType(String dictionaryType) {
870 this.dictionaryType = dictionaryType;
873 public void setDictionary(String dictionary) {
874 this.dictionary = dictionary;
877 public void setDictionaryFields(String dictionaryFields) {
878 this.dictionaryFields = dictionaryFields;
881 public String getProviderComboBox() {
882 return providerComboBox;
885 public void setProviderComboBox(String providerComboBox) {
886 this.providerComboBox = providerComboBox;
889 public void setRiskType(String riskType){
890 this.riskType = riskType;
893 public void setRiskLevel(String riskLevel){
894 this.riskLevel = riskLevel;
897 public void setGuard(String guard){
901 public void setTTLDate(String ttlDate){
902 this.ttlDate = ttlDate;
905 public String getBrmsController() {
906 return brmsController;
909 public void setBrmsController(String brmsController) {
910 this.brmsController = brmsController;
913 public List<String> getBrmsDependency() {
914 return brmsDependency;
917 public void setBrmsDependency(List<String> brmsDependency) {
918 this.brmsDependency = brmsDependency;
921 public void setTreatments(Map<String, String> treatments) {
922 this.treatments = treatments;