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 ArrayList<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() {
89 //Constructor for sending location when pushing policies
90 public StdPAPPolicy(URI location) {
91 this.location = location;
94 //Constructor for Validating Config Policies
95 public StdPAPPolicy(String policyName, String body, String configType, String configPolicyType) {
96 this.policyName = policyName;
97 this.configBodyData = body;
98 this.configType = configType;
99 this.configPolicyType = configPolicyType;
102 //convenience constructor
103 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String configType,
104 String body, Boolean editPolicy, String domain, String riskLevel, String riskType, String guard, String ttlDate){
105 this(configPolicyType, policyName, description, onapName, configName, attributes, configType,
106 body, editPolicy, domain, 1, riskLevel, riskType, guard, ttlDate);
109 //Constructor for Create/Update Action Policies from API
110 public StdPAPPolicy(String policyName, String description, Map<String, String> attributes, List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
111 List<String> dynamicRuleAlgorithmField1, List<String> dynamicRuleAlgorithmField2, String actionPerformer,String actionAttribute, Boolean editPolicy,
112 String domain, int highestVersion) {
114 this.policyName = policyName;
115 this.policyDescription = description;
116 this.dyanamicFieldConfigAttributes = attributes;
117 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
118 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
119 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
120 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
121 this.actionPerformer = actionPerformer;
122 this.actionAttribute = actionAttribute;
123 this.editPolicy = editPolicy;
124 this.domain = domain;
125 this.highestVersion = highestVersion;
129 //Constructor for Create/Update Decision Policies
130 public StdPAPPolicy(String policyName, String description, String onapName, String providerComboBox,
131 Map<String, String> attributes, Map<String, String> settings, Map<String, String> treatments,
132 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo, List<String> dynamicRuleAlgorithmField1,
133 List<String> dynamicRuleAlgorithmField2, Map<String, String> dropDownMap, List<Object> dynamicVariableList,
134 List<String> dataTypeList, Boolean editPolicy, String domain, int highestVersion) {
136 this.policyName = policyName;
137 this.policyDescription = description;
138 this.onapName = onapName;
139 this.setProviderComboBox(providerComboBox);
140 this.dyanamicFieldConfigAttributes = attributes;
141 this.dynamicSettingsMap = settings;
142 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
143 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
144 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
145 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
146 this.dynamicVariableList = dynamicVariableList;
147 this.dataTypeList = dataTypeList;
148 this.dropDownMap = dropDownMap;
149 this.editPolicy = editPolicy;
150 this.domain = domain;
151 this.highestVersion = highestVersion;
152 this.treatments = treatments;
156 //Constructor for Create Config Policies from API and Admin Console
157 //Constructor for Updating Config Policies from the API
158 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String configType,
159 String body, Boolean editPolicy, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
161 this.configPolicyType = configPolicyType;
162 this.policyName = policyName;
163 this.policyDescription = description;
164 this.onapName = onapName;
165 this.configName = configName;
166 this.dyanamicFieldConfigAttributes = attributes;
167 this.configType = configType;
168 this.configBodyData = body;
169 this.editPolicy = editPolicy;
170 this.domain = domain;
171 this.highestVersion = highestVersion;
172 this.riskLevel = riskLevel;
173 this.riskType = riskType;
175 this.ttlDate = ttlDate;
178 //convenience constructor
179 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String body, String policyID,
180 String ruleID, String configType, Boolean editPolicy, String version, String domain, String riskLevel, String riskType, String guard, String ttlDate) {
181 this (configPolicyType, policyName, description, onapName, configName, attributes, body, policyID,
182 ruleID, configType, editPolicy, version, domain, 1, riskLevel, riskType, guard, ttlDate);
185 //Constructor for Updating Config Policies from Admin Console
186 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName, String configName, Map<String, String> attributes, String body, String policyID,
187 String ruleID, String configType, Boolean editPolicy, String version, String domain, 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, String riskType, String guard, String ttlDate) {
214 this.configPolicyType = configPolicyType;
215 this.policyName = policyName;
216 this.policyDescription = description;
217 this.configName = configName;
218 this.editPolicy = editPolicy;
219 this.domain = domain;
220 this.jsonBody = jsonBody;
221 this.highestVersion = highestVersion;
222 this.riskLevel = riskLevel;
223 this.riskType = riskType;
225 this.ttlDate = ttlDate;
229 //Constructor for Creating Goc Policies
230 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
231 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String eCompName, String riskLevel, String riskType, String guard, String ttlDate) {
233 this.configPolicyType = configPolicyType;
234 this.policyName = policyName;
235 this.policyDescription = description;
236 this.configName = configName;
237 this.editPolicy = editPolicy;
238 this.domain = domain;
239 this.jsonBody = jsonBody;
240 this.highestVersion = highestVersion;
241 this.onapName=eCompName;
242 this.riskLevel = riskLevel;
243 this.riskType = riskType;
245 this.ttlDate = ttlDate;
248 //Constructor for Creating BRMS Policies from the Admin Console
249 public StdPAPPolicy (String configPolicyType, String policyName, String description,
250 String configName, Boolean editPolicy, String domain,
251 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
252 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, ArrayList<String> brmsDependency) {
254 this.configPolicyType = configPolicyType;
255 this.policyName = policyName;
256 this.policyDescription = description;
257 this.configName = configName;
258 this.editPolicy = editPolicy;
259 this.domain = domain;
260 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
261 this.highestVersion = highestVersion;
262 this.onapName=eCompName;
263 this.configBodyData=configBodyData;
264 this.riskLevel = riskLevel;
265 this.riskType = riskType;
267 this.ttlDate = ttlDate;
268 this.brmsController = brmsController;
269 this.brmsDependency = brmsDependency;
272 //Constructor for Creating BRMS Param Policies from the Admin Console
273 public StdPAPPolicy (String configPolicyType, String policyName, String description,
274 String configName, Boolean editPolicy, String domain,
275 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
276 String configBodyData,Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, ArrayList<String> brmsDependency) {
278 this.configPolicyType = configPolicyType;
279 this.policyName = policyName;
280 this.policyDescription = description;
281 this.configName = configName;
282 this.editPolicy = editPolicy;
283 this.domain = domain;
284 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
285 this.highestVersion = highestVersion;
286 this.onapName=eCompName;
287 this.configBodyData=configBodyData;
288 this.drlRuleAndUIParams=drlRuleAndUIParams;
289 this.riskLevel = riskLevel;
290 this.riskType = riskType;
292 this.ttlDate = ttlDate;
293 this.brmsController = brmsController;
294 this.brmsDependency = brmsDependency;
297 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
298 public StdPAPPolicy (String configPolicyType, String policyName, String description, String onapName,
299 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType, Boolean editPolicy,
300 String domain, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
302 this.configPolicyType = configPolicyType;
303 this.policyName = policyName;
304 this.policyDescription = description;
305 this.onapName = onapName;
306 this.jsonBody = jsonBody;
308 this.oldPolicyFileName = oldPolicyFileName;
309 this.serviceType = serviceType;
310 this.editPolicy = editPolicy;
311 this.domain = domain;
312 this.highestVersion = highestVersion;
313 this.riskLevel = riskLevel;
314 this.riskType = riskType;
316 this.ttlDate = ttlDate;
319 //Constructor for Updating Config Firewall Policies from the Admin Console
320 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName, Boolean editPolicy, String domain, String policyID,
321 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
323 this.configPolicyType = configPolicyType;
324 this.policyName = policyName;
325 this.policyDescription = description;
326 this.configName = configName;
327 this.editPolicy = editPolicy;
328 this.domain = domain;
329 this.policyID = policyID;
330 this.ruleID = ruleID;
331 this.version = version;
332 this.jsonBody = jsonBody;
333 this.highestVersion = highestVersion;
334 this.riskLevel = riskLevel;
335 this.riskType = riskType;
337 this.ttlDate = ttlDate;
340 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
341 public StdPAPPolicy(String configPolicyType, String policyName, String description, String onapName, String configName, String serviceType, String uuid,
342 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy, String domain, int highestVersion, String riskLevel,
343 String riskType, String guard, String ttlDate) {
345 this.configPolicyType = configPolicyType;
346 this.policyName = policyName;
347 this.policyDescription = description;
348 this.onapName = onapName;
349 this.configName = configName;
350 this.serviceType = serviceType;
352 this.msLocation = msLocation;
353 this.priority = priority;
354 this.version = version;
355 this.jsonBody = jsonBody;
356 this.editPolicy = editPolicy;
357 this.domain = domain;
358 this.highestVersion = highestVersion;
359 this.riskLevel = riskLevel;
360 this.riskType = riskType;
362 this.ttlDate = ttlDate;
365 //Constructor for Updating Goc Policies from the Admin Console
366 public StdPAPPolicy (String configPolicyType, String policyName, String description,
367 String configName, Boolean editPolicy, String domain,
368 String policyID, String ruleID, String version,
369 String jsonBody, Integer highestVersion, String eCompName,String riskLevel, String riskType, String guard, String ttlDate) {
371 this.configPolicyType = configPolicyType;
372 this.policyName = policyName;
373 this.policyDescription = description;
374 this.configName = configName;
375 this.editPolicy = editPolicy;
376 this.domain = domain;
377 this.policyID = policyID;
378 this.ruleID = ruleID;
379 this.version = version;
380 this.jsonBody = jsonBody;
381 this.highestVersion = highestVersion;
382 this.onapName=eCompName;
383 this.riskLevel = riskLevel;
384 this.riskType = riskType;
386 this.ttlDate = ttlDate;
389 //Constructor for Updating Brms Policies from the Admin Console
390 public StdPAPPolicy (String configPolicyType, String policyName, String description,
391 String configName, Boolean editPolicy, String domain,
392 String policyID, String ruleID, String version,
393 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
394 String configBodyData , String riskLevel, String riskType, String guard, String ttlDate
396 this.configPolicyType = configPolicyType;
397 this.policyName = policyName;
398 this.policyDescription = description;
399 this.configName = configName;
400 this.editPolicy = editPolicy;
401 this.domain = domain;
402 this.policyID = policyID;
403 this.ruleID = ruleID;
404 this.version = version;
405 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
406 this.highestVersion = highestVersion;
407 this.onapName=eCompName;
408 this.configBodyData=configBodyData;
409 this.riskLevel = riskLevel;
410 this.riskType = riskType;
412 this.ttlDate = ttlDate;
415 //Constructor for Updating Brms Param Policies from the Admin Console
416 public StdPAPPolicy (String configPolicyType, String policyName, String description,
417 String configName, Boolean editPolicy, String domain,
418 String policyID, String ruleID, String version,
419 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
420 Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate
422 this.configPolicyType = configPolicyType;
423 this.policyName = policyName;
424 this.policyDescription = description;
425 this.configName = configName;
426 this.editPolicy = editPolicy;
427 this.domain = domain;
428 this.policyID = policyID;
429 this.ruleID = ruleID;
430 this.version = version;
431 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
432 this.highestVersion = highestVersion;
433 this.onapName=eCompName;
434 this.drlRuleAndUIParams=drlRuleAndUIParams;
435 this.riskLevel = riskLevel;
436 this.riskType = riskType;
438 this.ttlDate = ttlDate;
441 // Constructor for deleting policies from the API
442 public StdPAPPolicy(String policyName, String deleteCondition) {
443 this.policyName = policyName;
444 this.deleteCondition = deleteCondition;
447 // Constructor for creating dictionary items from the API>
448 public StdPAPPolicy(String dictionaryType, String dictionary, String dictionaryFields) {
449 this.dictionaryType = dictionaryType;
450 this.dictionary = dictionary;
451 this.dictionaryFields = dictionaryFields;
455 public String getPolicyName() {
460 public String getPolicyDescription() {
461 return policyDescription;
465 public String getOnapName() {
470 public String getConfigName() {
475 public Map<String, String> getDynamicFieldConfigAttributes() {
476 return dyanamicFieldConfigAttributes;
480 public String getConfigBodyData() {
481 return configBodyData;
485 public String getPolicyID() {
490 public String getRuleID() {
495 public String getConfigType() {
500 public Boolean isEditPolicy() {
505 public Boolean isDraft() {
510 public String getVersion() {
515 public String getDomainDir() {
520 public String getConfigPolicyType() {
521 return configPolicyType;
525 public String getJsonBody() {
530 public Integer getHighestVersion() {
531 return highestVersion;
535 public URI getLocation() {
540 public List<String> getDynamicRuleAlgorithmLabels() {
541 return dynamicRuleAlgorithmLabels;
545 public List<String> getDynamicRuleAlgorithmCombo() {
546 return dynamicRuleAlgorithmCombo;
550 public List<String> getDynamicRuleAlgorithmField1() {
551 return dynamicRuleAlgorithmField1;
555 public List<String> getDynamicRuleAlgorithmField2() {
556 return dynamicRuleAlgorithmField2;
560 public String getActionPerformer() {
561 return actionPerformer;
565 public String getActionAttribute() {
566 return actionAttribute;
570 public String getActionBody() {
575 public Map<String, String> getDropDownMap() {
580 public String getActionDictHeader() {
581 return actionDictHeader;
585 public String getActionDictType() {
586 return actionDictType;
590 public String getActionDictUrl() {
591 return actionDictUrl;
595 public String getActionDictMethod() {
596 return actionDictMethod;
600 public Map<String, String> getDynamicSettingsMap() {
601 return dynamicSettingsMap;
605 public List<Object> getDynamicVariableList() {
606 return dynamicVariableList;
610 public List<String> getDataTypeList() {
615 public String getOldPolicyFileName() {
616 return oldPolicyFileName;
620 public String getServiceType() {
625 public String getUuid() {
630 public String getMsLocation() {
635 public String getPriority() {
640 public String getDeleteCondition() {
641 return deleteCondition;
645 public String getDictionaryType() {
646 return dictionaryType;
650 public String getDictionary() {
655 public String getTTLDate(){
660 public String getDictionaryFields() {
661 return dictionaryFields;
665 public String getRiskType() {
670 public String getRiskLevel() {
675 public String getGuard() {
680 public Map<String, String> getTreatments() {
685 public String toString() {
686 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", onapName="
687 + onapName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" + dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
688 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" + ", version=" + ", domain=" + domain
689 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" + highestVersion + ", location=" + location
690 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" + dynamicRuleAlgorithmCombo
691 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" + dynamicRuleAlgorithmField2
692 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" + actionBody + ",dropDownMap=" + dropDownMap
693 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" + actionDictUrl
694 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + ",dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
695 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + ",serviceType=" + serviceType
696 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" + deleteCondition + ",dictionaryType=" + dictionaryType
697 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority="
698 + priority + ",deleteCondition=" + deleteCondition + ",riskType="+riskType + ",riskLevel="+riskLevel + ",guard="+ guard + ",ttlDate="+ ttlDate
699 + ",treatments=" + treatments + "]";
702 // Methods needed for JSON Deserialization
703 public void setPolicyName(String policyName) {
704 this.policyName = policyName;
707 public void setPolicyDescription(String policyDescription) {
708 this.policyDescription = policyDescription;
711 public void setOnapName(String onapName) {
712 this.onapName = onapName;
715 public void setConfigName(String configName) {
716 this.configName = configName;
719 public void setDyanamicFieldConfigAttributes(
720 Map<String, String> dyanamicFieldConfigAttributes) {
721 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
724 public void setConfigBodyData(String configBodyData) {
725 this.configBodyData = configBodyData;
728 public void setPolicyID(String policyID) {
729 this.policyID = policyID;
732 public void setRuleID(String ruleID) {
733 this.ruleID = ruleID;
736 public void setConfigType(String configType) {
737 this.configType = configType;
740 public void setEditPolicy(Boolean editPolicy) {
741 this.editPolicy = editPolicy;
744 public void setVersion(String version) {
745 this.version = version;
748 public void setDomainDir(String domain) {
749 this.domain = domain;
752 public void setConfigPolicyType(String configPolicyType) {
753 this.configPolicyType = configPolicyType;
756 public void setJsonBody(String jsonBody) {
757 this.jsonBody = jsonBody;
760 public void setHighestVersion(Integer highestVersion) {
761 this.highestVersion = highestVersion;
764 public void setLocation (URI location) {
765 this.location = location;
768 public void setDynamicRuleAlgorithmLabels(
769 List<String> dynamicRuleAlgorithmLabels) {
770 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
773 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
774 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
777 public void setDynamicRuleAlgorithmField1(
778 List<String> dynamicRuleAlgorithmField1) {
779 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
782 public void setDynamicRuleAlgorithmField2(
783 List<String> dynamicRuleAlgorithmField2) {
784 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
787 public void setActionPerformer(String actionPerformer) {
788 this.actionPerformer = actionPerformer;
791 public void setActionAttribute(String actionAttribute) {
792 this.actionAttribute = actionAttribute;
795 public void setActionBody(String actionBody) {
796 this.actionBody = actionBody;
799 public void setDropDownMap(Map<String, String> dropDownMap) {
800 this.dropDownMap = dropDownMap;
803 public void setActionDictHeader(String actionDictHeader) {
804 this.actionDictHeader = actionDictHeader;
807 public void setActionDictType(String actionDictType) {
808 this.actionDictType = actionDictType;
811 public void setActionDictUrl(String actionDictUrl) {
812 this.actionDictUrl = actionDictUrl;
815 public void setActionDictMethod(String actionDictMethod) {
816 this.actionDictMethod = actionDictMethod;
819 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
820 this.dynamicSettingsMap = dynamicSettingsMap;
823 public void setDynamicVariableList(List<Object> dynamicVariableList) {
824 this.dynamicVariableList = dynamicVariableList;
827 public void setDataTypeList(List<String> dataTypeList) {
828 this.dataTypeList = dataTypeList;
831 public void setDraft(Boolean draft) {
835 public void setOldPolicyFileName(String oldPolicyFileName) {
836 this.oldPolicyFileName = oldPolicyFileName;
839 public void setServiceType(String serviceType) {
840 this.serviceType = serviceType;
843 public Map<String, String> getDrlRuleAndUIParams() {
844 return drlRuleAndUIParams;
847 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
848 this.drlRuleAndUIParams = drlRuleAndUIParams;
851 public void setUuid(String uuid) {
855 public void setMsLocation(String msLocation) {
856 this.msLocation = msLocation;
859 public void setPriority(String priority) {
860 this.priority = priority;
863 public void setDeleteCondition(String deleteCondition) {
864 this.deleteCondition = deleteCondition;
867 public void setDictionaryType(String dictionaryType) {
868 this.dictionaryType = dictionaryType;
871 public void setDictionary(String dictionary) {
872 this.dictionary = dictionary;
875 public void setDictionaryFields(String dictionaryFields) {
876 this.dictionaryFields = dictionaryFields;
879 public String getProviderComboBox() {
880 return providerComboBox;
883 public void setProviderComboBox(String providerComboBox) {
884 this.providerComboBox = providerComboBox;
887 public void setRiskType(String riskType){
888 this.riskType = riskType;
891 public void setRiskLevel(String riskLevel){
892 this.riskLevel = riskLevel;
895 public void setGuard(String guard){
899 public void setTTLDate(String ttlDate){
900 this.ttlDate = ttlDate;
903 public String getBrmsController() {
904 return brmsController;
907 public void setBrmsController(String brmsController) {
908 this.brmsController = brmsController;
911 public ArrayList<String> getBrmsDependency() {
912 return brmsDependency;
915 public void setBrmsDependency(ArrayList<String> brmsDependency) {
916 this.brmsDependency = brmsDependency;
919 public void setTreatments(Map<String, String> treatments) {
920 this.treatments = treatments;