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.openecomp.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.openecomp.policy.xacml.api.pap.EcompPAPPolicy;
30 public class StdPAPPolicy implements EcompPAPPolicy, 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 ecompName = null;
37 private String configName = null;
38 private Map<String, String> dyanamicFieldConfigAttributes = new HashMap<String, String>();
39 private Map<String, String> dropDownMap = new HashMap<String, String>();
40 private Map<String, String> dynamicSettingsMap = new HashMap<String, String>();
41 private List<String> dynamicRuleAlgorithmLabels;
42 private List<String> dynamicRuleAlgorithmCombo;
43 private List<String> dynamicRuleAlgorithmField1;
44 private List<String> dynamicRuleAlgorithmField2;
45 private List<Object> dynamicVariableList;
46 private List<String> dataTypeList;
47 private String configBodyData = null;
48 private String policyID = null;
49 private String ruleID = null;
50 private String brmsController;
51 private ArrayList<String> brmsDependency;
52 private String configType = null;
53 private Boolean editPolicy = false;
54 private Boolean draft = false;
55 private String version = null;
56 private String domain = null;
57 private String configPolicyType = null;
58 private String jsonBody = null;
59 private String serviceType = null;
60 private Integer highestVersion = null;
61 private URI location = null;
62 private String actionPerformer = null;
63 private String actionAttribute = null;
64 private String actionBody = null;
65 private String actionDictHeader = null;
66 private String actionDictType = null;
67 private String actionDictUrl = null;
68 private String actionDictMethod = null;
69 private String uuid = null;
70 private String msLocation = null;
71 private String priority = null;
72 private Map<String,String> drlRuleAndUIParams=null;
73 private String deleteCondition = null;
74 private String dictionaryType = null;
75 private String dictionary = null;
76 private String dictionaryFields = null;
77 private String providerComboBox = null;
78 private String riskType = null;
79 private String guard = null;
80 private String riskLevel;
81 private String ttlDate = null;
84 public StdPAPPolicy() {
88 //Constructor for sending location when pushing policies
89 public StdPAPPolicy(URI location) {
90 this.location = location;
93 //Constructor for Validating Config Policies
94 public StdPAPPolicy(String policyName, String body, String configType, String configPolicyType) {
95 this.policyName = policyName;
96 this.configBodyData = body;
97 this.configType = configType;
98 this.configPolicyType = configPolicyType;
101 //convenience constructor
102 public StdPAPPolicy(String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String configType,
103 String body, Boolean editPolicy, String domain, String riskLevel, String riskType, String guard, String ttlDate){
104 this(configPolicyType, policyName, description, ecompName, configName, attributes, configType,
105 body, editPolicy, domain, 1, riskLevel, riskType, guard, ttlDate);
108 //Constructor for Create/Update Action Policies from API
109 public StdPAPPolicy(String policyName, String description, Map<String, String> attributes, List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
110 List<String> dynamicRuleAlgorithmField1, List<String> dynamicRuleAlgorithmField2, String actionPerformer,String actionAttribute, Boolean editPolicy,
111 String domain, int highestVersion) {
113 this.policyName = policyName;
114 this.policyDescription = description;
115 this.dyanamicFieldConfigAttributes = attributes;
116 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
117 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
118 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
119 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
120 this.actionPerformer = actionPerformer;
121 this.actionAttribute = actionAttribute;
122 this.editPolicy = editPolicy;
123 this.domain = domain;
124 this.highestVersion = highestVersion;
128 //Constructor for Create/Update Decision Policies from Admin Console
129 public StdPAPPolicy(String policyName, String description, String ecompName, String providerComboBox, Map<String, String> attributes, Map<String, String> settings,
130 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo, List<String> dynamicRuleAlgorithmField1,
131 List<String> dynamicRuleAlgorithmField2, Map<String, String> dropDownMap, List<Object> dynamicVariableList,
132 List<String> dataTypeList, Boolean editPolicy, String domain, int highestVersion) {
134 this.policyName = policyName;
135 this.policyDescription = description;
136 this.ecompName = ecompName;
137 this.setProviderComboBox(providerComboBox);
138 this.dyanamicFieldConfigAttributes = attributes;
139 this.dynamicSettingsMap = settings;
140 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
141 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
142 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
143 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
144 this.dynamicVariableList = dynamicVariableList;
145 this.dataTypeList = dataTypeList;
146 this.dropDownMap = dropDownMap;
147 this.editPolicy = editPolicy;
148 this.domain = domain;
149 this.highestVersion = highestVersion;
154 //Constructor for Create Config Policies from API and Admin Console
155 //Constructor for Updating Config Policies from the API
156 public StdPAPPolicy(String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String configType,
157 String body, Boolean editPolicy, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
159 this.configPolicyType = configPolicyType;
160 this.policyName = policyName;
161 this.policyDescription = description;
162 this.ecompName = ecompName;
163 this.configName = configName;
164 this.dyanamicFieldConfigAttributes = attributes;
165 this.configType = configType;
166 this.configBodyData = body;
167 this.editPolicy = editPolicy;
168 this.domain = domain;
169 this.highestVersion = highestVersion;
170 this.riskLevel = riskLevel;
171 this.riskType = riskType;
173 this.ttlDate = ttlDate;
176 //convenience constructor
177 public StdPAPPolicy (String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String body, String policyID,
178 String ruleID, String configType, Boolean editPolicy, String version, String domain, String riskLevel, String riskType, String guard, String ttlDate) {
179 this (configPolicyType, policyName, description, ecompName, 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 ecompName, String configName, Map<String, String> attributes, String body, String policyID,
185 String ruleID, String configType, Boolean editPolicy, String version, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
187 this.configPolicyType = configPolicyType;
188 this.policyName = policyName;
189 this.policyDescription = description;
190 this.ecompName = ecompName;
191 this.configName = configName;
192 this.dyanamicFieldConfigAttributes = attributes;
193 this.configBodyData = body;
194 this.policyID = policyID;
195 this.ruleID = ruleID;
196 this.configType = configType;
197 this.editPolicy = editPolicy;
198 this.version = version;
199 this.domain = domain;
200 this.highestVersion = highestVersion;
201 this.riskLevel = riskLevel;
202 this.riskType = riskType;
204 this.ttlDate = ttlDate;
208 //Constructor for Creating Config Firewall Policies
209 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
210 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
212 this.configPolicyType = configPolicyType;
213 this.policyName = policyName;
214 this.policyDescription = description;
215 this.configName = configName;
216 this.editPolicy = editPolicy;
217 this.domain = domain;
218 this.jsonBody = jsonBody;
219 this.highestVersion = highestVersion;
220 this.riskLevel = riskLevel;
221 this.riskType = riskType;
223 this.ttlDate = ttlDate;
227 //Constructor for Creating Goc Policies
228 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
229 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String eCompName, String riskLevel, String riskType, String guard, String ttlDate) {
231 this.configPolicyType = configPolicyType;
232 this.policyName = policyName;
233 this.policyDescription = description;
234 this.configName = configName;
235 this.editPolicy = editPolicy;
236 this.domain = domain;
237 this.jsonBody = jsonBody;
238 this.highestVersion = highestVersion;
239 this.ecompName=eCompName;
240 this.riskLevel = riskLevel;
241 this.riskType = riskType;
243 this.ttlDate = ttlDate;
246 //Constructor for Creating BRMS Policies from the Admin Console
247 public StdPAPPolicy (String configPolicyType, String policyName, String description,
248 String configName, Boolean editPolicy, String domain,
249 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
250 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, ArrayList<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.ecompName=eCompName;
261 this.configBodyData=configBodyData;
262 this.riskLevel = riskLevel;
263 this.riskType = riskType;
265 this.ttlDate = ttlDate;
266 this.brmsController = brmsController;
267 this.brmsDependency = brmsDependency;
270 //Constructor for Creating BRMS Param Policies from the Admin Console
271 public StdPAPPolicy (String configPolicyType, String policyName, String description,
272 String configName, Boolean editPolicy, String domain,
273 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
274 String configBodyData,Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate, String brmsController, ArrayList<String> brmsDependency) {
276 this.configPolicyType = configPolicyType;
277 this.policyName = policyName;
278 this.policyDescription = description;
279 this.configName = configName;
280 this.editPolicy = editPolicy;
281 this.domain = domain;
282 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
283 this.highestVersion = highestVersion;
284 this.ecompName=eCompName;
285 this.configBodyData=configBodyData;
286 this.drlRuleAndUIParams=drlRuleAndUIParams;
287 this.riskLevel = riskLevel;
288 this.riskType = riskType;
290 this.ttlDate = ttlDate;
291 this.brmsController = brmsController;
292 this.brmsDependency = brmsDependency;
295 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
296 public StdPAPPolicy (String configPolicyType, String policyName, String description, String ecompName,
297 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType, Boolean editPolicy,
298 String domain, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
300 this.configPolicyType = configPolicyType;
301 this.policyName = policyName;
302 this.policyDescription = description;
303 this.ecompName = ecompName;
304 this.jsonBody = jsonBody;
306 this.oldPolicyFileName = oldPolicyFileName;
307 this.serviceType = serviceType;
308 this.editPolicy = editPolicy;
309 this.domain = domain;
310 this.highestVersion = highestVersion;
311 this.riskLevel = riskLevel;
312 this.riskType = riskType;
314 this.ttlDate = ttlDate;
317 //Constructor for Updating Config Firewall Policies from the Admin Console
318 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName, Boolean editPolicy, String domain, String policyID,
319 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
321 this.configPolicyType = configPolicyType;
322 this.policyName = policyName;
323 this.policyDescription = description;
324 this.configName = configName;
325 this.editPolicy = editPolicy;
326 this.domain = domain;
327 this.policyID = policyID;
328 this.ruleID = ruleID;
329 this.version = version;
330 this.jsonBody = jsonBody;
331 this.highestVersion = highestVersion;
332 this.riskLevel = riskLevel;
333 this.riskType = riskType;
335 this.ttlDate = ttlDate;
338 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
339 public StdPAPPolicy(String configPolicyType, String policyName, String description, String ecompName, String configName, String serviceType, String uuid,
340 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy, String domain, int highestVersion, String riskLevel,
341 String riskType, String guard, String ttlDate) {
343 this.configPolicyType = configPolicyType;
344 this.policyName = policyName;
345 this.policyDescription = description;
346 this.ecompName = ecompName;
347 this.configName = configName;
348 this.serviceType = serviceType;
350 this.msLocation = msLocation;
351 this.priority = priority;
352 this.version = version;
353 this.jsonBody = jsonBody;
354 this.editPolicy = editPolicy;
355 this.domain = domain;
356 this.highestVersion = highestVersion;
357 this.riskLevel = riskLevel;
358 this.riskType = riskType;
360 this.ttlDate = ttlDate;
363 //Constructor for Updating Goc Policies from the Admin Console
364 public StdPAPPolicy (String configPolicyType, String policyName, String description,
365 String configName, Boolean editPolicy, String domain,
366 String policyID, String ruleID, String version,
367 String jsonBody, Integer highestVersion, String eCompName,String riskLevel, String riskType, String guard, String ttlDate) {
369 this.configPolicyType = configPolicyType;
370 this.policyName = policyName;
371 this.policyDescription = description;
372 this.configName = configName;
373 this.editPolicy = editPolicy;
374 this.domain = domain;
375 this.policyID = policyID;
376 this.ruleID = ruleID;
377 this.version = version;
378 this.jsonBody = jsonBody;
379 this.highestVersion = highestVersion;
380 this.ecompName=eCompName;
381 this.riskLevel = riskLevel;
382 this.riskType = riskType;
384 this.ttlDate = ttlDate;
387 //Constructor for Updating Brms Policies from the Admin Console
388 public StdPAPPolicy (String configPolicyType, String policyName, String description,
389 String configName, Boolean editPolicy, String domain,
390 String policyID, String ruleID, String version,
391 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
392 String configBodyData , String riskLevel, String riskType, String guard, String ttlDate
394 this.configPolicyType = configPolicyType;
395 this.policyName = policyName;
396 this.policyDescription = description;
397 this.configName = configName;
398 this.editPolicy = editPolicy;
399 this.domain = domain;
400 this.policyID = policyID;
401 this.ruleID = ruleID;
402 this.version = version;
403 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
404 this.highestVersion = highestVersion;
405 this.ecompName=eCompName;
406 this.configBodyData=configBodyData;
407 this.riskLevel = riskLevel;
408 this.riskType = riskType;
410 this.ttlDate = ttlDate;
413 //Constructor for Updating Brms Param Policies from the Admin Console
414 public StdPAPPolicy (String configPolicyType, String policyName, String description,
415 String configName, Boolean editPolicy, String domain,
416 String policyID, String ruleID, String version,
417 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
418 Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate
420 this.configPolicyType = configPolicyType;
421 this.policyName = policyName;
422 this.policyDescription = description;
423 this.configName = configName;
424 this.editPolicy = editPolicy;
425 this.domain = domain;
426 this.policyID = policyID;
427 this.ruleID = ruleID;
428 this.version = version;
429 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
430 this.highestVersion = highestVersion;
431 this.ecompName=eCompName;
432 this.drlRuleAndUIParams=drlRuleAndUIParams;
433 this.riskLevel = riskLevel;
434 this.riskType = riskType;
436 this.ttlDate = ttlDate;
439 // Constructor for deleting policies from the API
440 public StdPAPPolicy(String policyName, String deleteCondition) {
441 this.policyName = policyName;
442 this.deleteCondition = deleteCondition;
445 // Constructor for creating dictionary items from the API>
446 public StdPAPPolicy(String dictionaryType, String dictionary, String dictionaryFields) {
447 this.dictionaryType = dictionaryType;
448 this.dictionary = dictionary;
449 this.dictionaryFields = dictionaryFields;
453 public String getPolicyName() {
458 public String getPolicyDescription() {
459 return policyDescription;
463 public String getEcompName() {
468 public String getConfigName() {
473 public Map<String, String> getDynamicFieldConfigAttributes() {
474 return dyanamicFieldConfigAttributes;
478 public String getConfigBodyData() {
479 return configBodyData;
483 public String getPolicyID() {
488 public String getRuleID() {
493 public String getConfigType() {
498 public Boolean isEditPolicy() {
503 public Boolean isDraft() {
508 public String getVersion() {
513 public String getDomainDir() {
518 public String getConfigPolicyType() {
519 return configPolicyType;
523 public String getJsonBody() {
528 public Integer getHighestVersion() {
529 return highestVersion;
533 public URI getLocation() {
538 public List<String> getDynamicRuleAlgorithmLabels() {
539 return dynamicRuleAlgorithmLabels;
543 public List<String> getDynamicRuleAlgorithmCombo() {
544 return dynamicRuleAlgorithmCombo;
548 public List<String> getDynamicRuleAlgorithmField1() {
549 return dynamicRuleAlgorithmField1;
553 public List<String> getDynamicRuleAlgorithmField2() {
554 return dynamicRuleAlgorithmField2;
558 public String getActionPerformer() {
559 return actionPerformer;
563 public String getActionAttribute() {
564 return actionAttribute;
568 public String getActionBody() {
573 public Map<String, String> getDropDownMap() {
578 public String getActionDictHeader() {
579 return actionDictHeader;
583 public String getActionDictType() {
584 return actionDictType;
588 public String getActionDictUrl() {
589 return actionDictUrl;
593 public String getActionDictMethod() {
594 return actionDictMethod;
598 public Map<String, String> getDynamicSettingsMap() {
599 return dynamicSettingsMap;
603 public List<Object> getDynamicVariableList() {
604 return dynamicVariableList;
608 public List<String> getDataTypeList() {
613 public String getOldPolicyFileName() {
614 return oldPolicyFileName;
618 public String getServiceType() {
623 public String getUuid() {
628 public String getMsLocation() {
633 public String getPriority() {
638 public String getDeleteCondition() {
639 return deleteCondition;
643 public String getDictionaryType() {
644 return dictionaryType;
648 public String getDictionary() {
653 public String getTTLDate(){
658 public String getDictionaryFields() {
659 return dictionaryFields;
663 public String getRiskType() {
668 public String getRiskLevel() {
673 public String getGuard() {
678 public String toString() {
679 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", ecompName="
680 + ecompName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" + dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
681 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" + ", version=" + ", domain=" + domain
682 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" + highestVersion + ", location=" + location
683 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" + dynamicRuleAlgorithmCombo
684 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" + dynamicRuleAlgorithmField2
685 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" + actionBody + ",dropDownMap=" + dropDownMap
686 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" + actionDictUrl
687 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + ",dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
688 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + ",serviceType=" + serviceType
689 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" + deleteCondition + ",dictionaryType=" + dictionaryType
690 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority="
691 + priority + ",deleteCondition=" + deleteCondition + ",riskType="+riskType + ",riskLevel="+riskLevel + ",guard="+ guard + ",ttlDate="+ ttlDate + "]";
694 // Methods needed for JSON Deserialization
695 public void setPolicyName(String policyName) {
696 this.policyName = policyName;
699 public void setPolicyDescription(String policyDescription) {
700 this.policyDescription = policyDescription;
703 public void setEcompName(String ecompName) {
704 this.ecompName = ecompName;
707 public void setConfigName(String configName) {
708 this.configName = configName;
711 public void setDyanamicFieldConfigAttributes(
712 Map<String, String> dyanamicFieldConfigAttributes) {
713 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
716 public void setConfigBodyData(String configBodyData) {
717 this.configBodyData = configBodyData;
720 public void setPolicyID(String policyID) {
721 this.policyID = policyID;
724 public void setRuleID(String ruleID) {
725 this.ruleID = ruleID;
728 public void setConfigType(String configType) {
729 this.configType = configType;
732 public void setEditPolicy(Boolean editPolicy) {
733 this.editPolicy = editPolicy;
736 public void setVersion(String version) {
737 this.version = version;
740 public void setDomainDir(String domain) {
741 this.domain = domain;
744 public void setConfigPolicyType(String configPolicyType) {
745 this.configPolicyType = configPolicyType;
748 public void setJsonBody(String jsonBody) {
749 this.jsonBody = jsonBody;
752 public void setHighestVersion(Integer highestVersion) {
753 this.highestVersion = highestVersion;
756 public void setLocation (URI location) {
757 this.location = location;
760 public void setDynamicRuleAlgorithmLabels(
761 List<String> dynamicRuleAlgorithmLabels) {
762 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
765 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
766 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
769 public void setDynamicRuleAlgorithmField1(
770 List<String> dynamicRuleAlgorithmField1) {
771 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
774 public void setDynamicRuleAlgorithmField2(
775 List<String> dynamicRuleAlgorithmField2) {
776 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
779 public void setActionPerformer(String actionPerformer) {
780 this.actionPerformer = actionPerformer;
783 public void setActionAttribute(String actionAttribute) {
784 this.actionAttribute = actionAttribute;
787 public void setActionBody(String actionBody) {
788 this.actionBody = actionBody;
791 public void setDropDownMap(Map<String, String> dropDownMap) {
792 this.dropDownMap = dropDownMap;
795 public void setActionDictHeader(String actionDictHeader) {
796 this.actionDictHeader = actionDictHeader;
799 public void setActionDictType(String actionDictType) {
800 this.actionDictType = actionDictType;
803 public void setActionDictUrl(String actionDictUrl) {
804 this.actionDictUrl = actionDictUrl;
807 public void setActionDictMethod(String actionDictMethod) {
808 this.actionDictMethod = actionDictMethod;
811 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
812 this.dynamicSettingsMap = dynamicSettingsMap;
815 public void setDynamicVariableList(List<Object> dynamicVariableList) {
816 this.dynamicVariableList = dynamicVariableList;
819 public void setDataTypeList(List<String> dataTypeList) {
820 this.dataTypeList = dataTypeList;
823 public void setDraft(Boolean draft) {
827 public void setOldPolicyFileName(String oldPolicyFileName) {
828 this.oldPolicyFileName = oldPolicyFileName;
831 public void setServiceType(String serviceType) {
832 this.serviceType = serviceType;
835 public Map<String, String> getDrlRuleAndUIParams() {
836 return drlRuleAndUIParams;
839 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
840 this.drlRuleAndUIParams = drlRuleAndUIParams;
843 public void setUuid(String uuid) {
847 public void setMsLocation(String msLocation) {
848 this.msLocation = msLocation;
851 public void setPriority(String priority) {
852 this.priority = priority;
855 public void setDeleteCondition(String deleteCondition) {
856 this.deleteCondition = deleteCondition;
859 public void setDictionaryType(String dictionaryType) {
860 this.dictionaryType = dictionaryType;
863 public void setDictionary(String dictionary) {
864 this.dictionary = dictionary;
867 public void setDictionaryFields(String dictionaryFields) {
868 this.dictionaryFields = dictionaryFields;
871 public String getProviderComboBox() {
872 return providerComboBox;
875 public void setProviderComboBox(String providerComboBox) {
876 this.providerComboBox = providerComboBox;
879 public void setRiskType(String riskType){
880 this.riskType = riskType;
883 public void setRiskLevel(String riskLevel){
884 this.riskLevel = riskLevel;
887 public void setGuard(String guard){
891 public void setTTLDate(String ttlDate){
892 this.ttlDate = ttlDate;
895 public String getBrmsController() {
896 return brmsController;
899 public void setBrmsController(String brmsController) {
900 this.brmsController = brmsController;
903 public ArrayList<String> getBrmsDependency() {
904 return brmsDependency;
907 public void setBrmsDependency(ArrayList<String> brmsDependency) {
908 this.brmsDependency = brmsDependency;