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.HashMap;
25 import java.util.List;
27 import org.openecomp.policy.xacml.api.pap.EcompPAPPolicy;
29 public class StdPAPPolicy implements EcompPAPPolicy, Serializable{
30 private static final long serialVersionUID = 5260230629397322000L;
32 private String policyName = null;
33 private String oldPolicyFileName = null;
34 private String policyDescription = null;
35 private String ecompName = null;
36 private String configName = null;
37 private Map<String, String> dyanamicFieldConfigAttributes = new HashMap<String, String>();
38 private Map<String, String> dropDownMap = new HashMap<String, String>();
39 private Map<String, String> dynamicSettingsMap = new HashMap<String, String>();
40 private List<String> dynamicRuleAlgorithmLabels;
41 private List<String> dynamicRuleAlgorithmCombo;
42 private List<String> dynamicRuleAlgorithmField1;
43 private List<String> dynamicRuleAlgorithmField2;
44 private List<Object> dynamicVariableList;
45 private List<String> dataTypeList;
46 private String configBodyData = null;
47 private String policyID = null;
48 private String ruleID = null;
49 private String configType = null;
50 private Boolean editPolicy = false;
51 private Boolean draft = false;
52 private String version = null;
53 private String domain = null;
54 private String configPolicyType = null;
55 private String jsonBody = null;
56 private String serviceType = null;
57 private Integer highestVersion = null;
58 private URI location = null;
59 private String actionPerformer = null;
60 private String actionAttribute = null;
61 private String actionBody = null;
62 private String actionDictHeader = null;
63 private String actionDictType = null;
64 private String actionDictUrl = null;
65 private String actionDictMethod = null;
66 private String uuid = null;
67 private String msLocation = null;
68 private String priority = null;
69 private Map<String,String> drlRuleAndUIParams=null;
70 private String deleteCondition = null;
71 private String dictionaryType = null;
72 private String dictionary = null;
73 private Map<String,String> dictionaryFields = new HashMap<String, String>();
74 private String providerComboBox = null;
75 private String riskType = null;
76 private String guard = null;
77 private String riskLevel;
78 private String ttlDate = null;
81 public StdPAPPolicy() {
85 //Constructor for sending location when pushing policies
86 public StdPAPPolicy(URI location) {
87 this.location = location;
90 //Constructor for Validating Config Policies
91 public StdPAPPolicy(String policyName, String body, String configType, String configPolicyType) {
92 this.policyName = policyName;
93 this.configBodyData = body;
94 this.configType = configType;
95 this.configPolicyType = configPolicyType;
98 //convenience constructor
99 public StdPAPPolicy(String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String configType,
100 String body, Boolean editPolicy, String domain, String riskLevel, String riskType, String guard, String ttlDate){
101 this(configPolicyType, policyName, description, ecompName, configName, attributes, configType,
102 body, editPolicy, domain, 1, riskLevel, riskType, guard, ttlDate);
105 //Constructor for Create/Update Action Policies from API
106 public StdPAPPolicy(String policyName, String description, Map<String, String> attributes, List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo,
107 List<String> dynamicRuleAlgorithmField1, List<String> dynamicRuleAlgorithmField2, String actionPerformer,String actionAttribute, Boolean editPolicy,
108 String domain, int highestVersion) {
110 this.policyName = policyName;
111 this.policyDescription = description;
112 this.dyanamicFieldConfigAttributes = attributes;
113 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
114 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
115 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
116 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
117 this.actionPerformer = actionPerformer;
118 this.actionAttribute = actionAttribute;
119 this.editPolicy = editPolicy;
120 this.domain = domain;
121 this.highestVersion = highestVersion;
125 //Constructor for Create/Update Decision Policies from Admin Console
126 public StdPAPPolicy(String policyName, String description, String ecompName, String providerComboBox, Map<String, String> attributes, Map<String, String> settings,
127 List<String> dynamicRuleAlgorithmLabels, List<String> dynamicRuleAlgorithmCombo, List<String> dynamicRuleAlgorithmField1,
128 List<String> dynamicRuleAlgorithmField2, Map<String, String> dropDownMap, List<Object> dynamicVariableList,
129 List<String> dataTypeList, Boolean editPolicy, String domain, int highestVersion) {
131 this.policyName = policyName;
132 this.policyDescription = description;
133 this.ecompName = ecompName;
134 this.setProviderComboBox(providerComboBox);
135 this.dyanamicFieldConfigAttributes = attributes;
136 this.dynamicSettingsMap = settings;
137 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
138 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
139 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
140 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
141 this.dynamicVariableList = dynamicVariableList;
142 this.dataTypeList = dataTypeList;
143 this.dropDownMap = dropDownMap;
144 this.editPolicy = editPolicy;
145 this.domain = domain;
146 this.highestVersion = highestVersion;
151 //Constructor for Create Config Policies from API and Admin Console
152 //Constructor for Updating Config Policies from the API
153 public StdPAPPolicy(String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String configType,
154 String body, Boolean editPolicy, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
156 this.configPolicyType = configPolicyType;
157 this.policyName = policyName;
158 this.policyDescription = description;
159 this.ecompName = ecompName;
160 this.configName = configName;
161 this.dyanamicFieldConfigAttributes = attributes;
162 this.configType = configType;
163 this.configBodyData = body;
164 this.editPolicy = editPolicy;
165 this.domain = domain;
166 this.highestVersion = highestVersion;
167 this.riskLevel = riskLevel;
168 this.riskType = riskType;
170 this.ttlDate = ttlDate;
173 //convenience constructor
174 public StdPAPPolicy (String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String body, String policyID,
175 String ruleID, String configType, Boolean editPolicy, String version, String domain, String riskLevel, String riskType, String guard, String ttlDate) {
176 this (configPolicyType, policyName, description, ecompName, configName, attributes, body, policyID,
177 ruleID, configType, editPolicy, version, domain, 1, riskLevel, riskType, guard, ttlDate);
180 //Constructor for Updating Config Policies from Admin Console
181 public StdPAPPolicy (String configPolicyType, String policyName, String description, String ecompName, String configName, Map<String, String> attributes, String body, String policyID,
182 String ruleID, String configType, Boolean editPolicy, String version, String domain, int highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
184 this.configPolicyType = configPolicyType;
185 this.policyName = policyName;
186 this.policyDescription = description;
187 this.ecompName = ecompName;
188 this.configName = configName;
189 this.dyanamicFieldConfigAttributes = attributes;
190 this.configBodyData = body;
191 this.policyID = policyID;
192 this.ruleID = ruleID;
193 this.configType = configType;
194 this.editPolicy = editPolicy;
195 this.version = version;
196 this.domain = domain;
197 this.highestVersion = highestVersion;
198 this.riskLevel = riskLevel;
199 this.riskType = riskType;
201 this.ttlDate = ttlDate;
205 //Constructor for Creating Config Firewall Policies
206 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
207 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
209 this.configPolicyType = configPolicyType;
210 this.policyName = policyName;
211 this.policyDescription = description;
212 this.configName = configName;
213 this.editPolicy = editPolicy;
214 this.domain = domain;
215 this.jsonBody = jsonBody;
216 this.highestVersion = highestVersion;
217 this.riskLevel = riskLevel;
218 this.riskType = riskType;
220 this.ttlDate = ttlDate;
224 //Constructor for Creating Goc Policies
225 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName,
226 Boolean editPolicy, String domain, String jsonBody, Integer highestVersion, String eCompName, String riskLevel, String riskType, String guard, String ttlDate) {
228 this.configPolicyType = configPolicyType;
229 this.policyName = policyName;
230 this.policyDescription = description;
231 this.configName = configName;
232 this.editPolicy = editPolicy;
233 this.domain = domain;
234 this.jsonBody = jsonBody;
235 this.highestVersion = highestVersion;
236 this.ecompName=eCompName;
237 this.riskLevel = riskLevel;
238 this.riskType = riskType;
240 this.ttlDate = ttlDate;
243 //Constructor for Creating BRMS Policies from the Admin Console
244 public StdPAPPolicy (String configPolicyType, String policyName, String description,
245 String configName, Boolean editPolicy, String domain,
246 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
247 String configBodyData, String riskLevel, String riskType, String guard, String ttlDate) {
249 this.configPolicyType = configPolicyType;
250 this.policyName = policyName;
251 this.policyDescription = description;
252 this.configName = configName;
253 this.editPolicy = editPolicy;
254 this.domain = domain;
255 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
256 this.highestVersion = highestVersion;
257 this.ecompName=eCompName;
258 this.configBodyData=configBodyData;
259 this.riskLevel = riskLevel;
260 this.riskType = riskType;
262 this.ttlDate = ttlDate;
265 //Constructor for Creating BRMS Param Policies from the Admin Console
266 public StdPAPPolicy (String configPolicyType, String policyName, String description,
267 String configName, Boolean editPolicy, String domain,
268 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
269 String configBodyData,Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate) {
271 this.configPolicyType = configPolicyType;
272 this.policyName = policyName;
273 this.policyDescription = description;
274 this.configName = configName;
275 this.editPolicy = editPolicy;
276 this.domain = domain;
277 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
278 this.highestVersion = highestVersion;
279 this.ecompName=eCompName;
280 this.configBodyData=configBodyData;
281 this.drlRuleAndUIParams=drlRuleAndUIParams;
282 this.riskLevel = riskLevel;
283 this.riskType = riskType;
285 this.ttlDate = ttlDate;
288 //Constructor for Creating CloseLoop_Fault and Performance Metric Policies
289 public StdPAPPolicy (String configPolicyType, String policyName, String description, String ecompName,
290 String jsonBody, Boolean draft, String oldPolicyFileName, String serviceType, Boolean editPolicy,
291 String domain, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
293 this.configPolicyType = configPolicyType;
294 this.policyName = policyName;
295 this.policyDescription = description;
296 this.ecompName = ecompName;
297 this.jsonBody = jsonBody;
299 this.oldPolicyFileName = oldPolicyFileName;
300 this.serviceType = serviceType;
301 this.editPolicy = editPolicy;
302 this.domain = domain;
303 this.highestVersion = highestVersion;
304 this.riskLevel = riskLevel;
305 this.riskType = riskType;
307 this.ttlDate = ttlDate;
310 //Constructor for Updating Config Firewall Policies from the Admin Console
311 public StdPAPPolicy (String configPolicyType, String policyName, String description, String configName, Boolean editPolicy, String domain, String policyID,
312 String ruleID, String version, String jsonBody, Integer highestVersion, String riskLevel, String riskType, String guard, String ttlDate) {
314 this.configPolicyType = configPolicyType;
315 this.policyName = policyName;
316 this.policyDescription = description;
317 this.configName = configName;
318 this.editPolicy = editPolicy;
319 this.domain = domain;
320 this.policyID = policyID;
321 this.ruleID = ruleID;
322 this.version = version;
323 this.jsonBody = jsonBody;
324 this.highestVersion = highestVersion;
325 this.riskLevel = riskLevel;
326 this.riskType = riskType;
328 this.ttlDate = ttlDate;
331 //Constructor for Micro Service Creating/Updating Policies from the Admin Console
332 public StdPAPPolicy(String configPolicyType, String policyName, String description, String ecompName, String configName, String serviceType, String uuid,
333 String msLocation, String jsonBody, String priority, String version, Boolean editPolicy, String domain, int highestVersion, String riskLevel,
334 String riskType, String guard, String ttlDate) {
336 this.configPolicyType = configPolicyType;
337 this.policyName = policyName;
338 this.policyDescription = description;
339 this.ecompName = ecompName;
340 this.configName = configName;
341 this.serviceType = serviceType;
343 this.msLocation = msLocation;
344 this.priority = priority;
345 this.version = version;
346 this.jsonBody = jsonBody;
347 this.editPolicy = editPolicy;
348 this.domain = domain;
349 this.highestVersion = highestVersion;
350 this.riskLevel = riskLevel;
351 this.riskType = riskType;
353 this.ttlDate = ttlDate;
356 //Constructor for Updating Goc Policies from the Admin Console
357 public StdPAPPolicy (String configPolicyType, String policyName, String description,
358 String configName, Boolean editPolicy, String domain,
359 String policyID, String ruleID, String version,
360 String jsonBody, Integer highestVersion, String eCompName,String riskLevel, String riskType, String guard, String ttlDate) {
362 this.configPolicyType = configPolicyType;
363 this.policyName = policyName;
364 this.policyDescription = description;
365 this.configName = configName;
366 this.editPolicy = editPolicy;
367 this.domain = domain;
368 this.policyID = policyID;
369 this.ruleID = ruleID;
370 this.version = version;
371 this.jsonBody = jsonBody;
372 this.highestVersion = highestVersion;
373 this.ecompName=eCompName;
374 this.riskLevel = riskLevel;
375 this.riskType = riskType;
377 this.ttlDate = ttlDate;
380 //Constructor for Updating Brms Policies from the Admin Console
381 public StdPAPPolicy (String configPolicyType, String policyName, String description,
382 String configName, Boolean editPolicy, String domain,
383 String policyID, String ruleID, String version,
384 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
385 String configBodyData , String riskLevel, String riskType, String guard, String ttlDate
387 this.configPolicyType = configPolicyType;
388 this.policyName = policyName;
389 this.policyDescription = description;
390 this.configName = configName;
391 this.editPolicy = editPolicy;
392 this.domain = domain;
393 this.policyID = policyID;
394 this.ruleID = ruleID;
395 this.version = version;
396 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
397 this.highestVersion = highestVersion;
398 this.ecompName=eCompName;
399 this.configBodyData=configBodyData;
400 this.riskLevel = riskLevel;
401 this.riskType = riskType;
403 this.ttlDate = ttlDate;
406 //Constructor for Updating Brms Param Policies from the Admin Console
407 public StdPAPPolicy (String configPolicyType, String policyName, String description,
408 String configName, Boolean editPolicy, String domain,
409 String policyID, String ruleID, String version,
410 Map<String,String> dyanamicFieldConfigAttributes, Integer highestVersion, String eCompName,
411 Map<String,String> drlRuleAndUIParams, String riskLevel, String riskType, String guard, String ttlDate
413 this.configPolicyType = configPolicyType;
414 this.policyName = policyName;
415 this.policyDescription = description;
416 this.configName = configName;
417 this.editPolicy = editPolicy;
418 this.domain = domain;
419 this.policyID = policyID;
420 this.ruleID = ruleID;
421 this.version = version;
422 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
423 this.highestVersion = highestVersion;
424 this.ecompName=eCompName;
425 this.drlRuleAndUIParams=drlRuleAndUIParams;
426 this.riskLevel = riskLevel;
427 this.riskType = riskType;
429 this.ttlDate = ttlDate;
432 // Constructor for deleting policies from the API
433 public StdPAPPolicy(String policyName, String deleteCondition) {
434 this.policyName = policyName;
435 this.deleteCondition = deleteCondition;
438 // Constructor for creating dictionary items from the API
439 public StdPAPPolicy(String dictionaryType, String dictionary, Map<String,String> dictionaryFields) {
440 this.dictionaryType = dictionaryType;
441 this.dictionary = dictionary;
442 this.dictionaryFields = dictionaryFields;
446 public String getPolicyName() {
451 public String getPolicyDescription() {
452 return policyDescription;
456 public String getEcompName() {
461 public String getConfigName() {
466 public Map<String, String> getDynamicFieldConfigAttributes() {
467 return dyanamicFieldConfigAttributes;
471 public String getConfigBodyData() {
472 return configBodyData;
476 public String getPolicyID() {
481 public String getRuleID() {
486 public String getConfigType() {
491 public Boolean isEditPolicy() {
496 public Boolean isDraft() {
501 public String getVersion() {
506 public String getDomainDir() {
511 public String getConfigPolicyType() {
512 return configPolicyType;
516 public String getJsonBody() {
521 public Integer getHighestVersion() {
522 return highestVersion;
526 public URI getLocation() {
531 public List<String> getDynamicRuleAlgorithmLabels() {
532 return dynamicRuleAlgorithmLabels;
536 public List<String> getDynamicRuleAlgorithmCombo() {
537 return dynamicRuleAlgorithmCombo;
541 public List<String> getDynamicRuleAlgorithmField1() {
542 return dynamicRuleAlgorithmField1;
546 public List<String> getDynamicRuleAlgorithmField2() {
547 return dynamicRuleAlgorithmField2;
551 public String getActionPerformer() {
552 return actionPerformer;
556 public String getActionAttribute() {
557 return actionAttribute;
561 public String getActionBody() {
566 public Map<String, String> getDropDownMap() {
571 public String getActionDictHeader() {
572 return actionDictHeader;
576 public String getActionDictType() {
577 return actionDictType;
581 public String getActionDictUrl() {
582 return actionDictUrl;
586 public String getActionDictMethod() {
587 return actionDictMethod;
591 public Map<String, String> getDynamicSettingsMap() {
592 return dynamicSettingsMap;
596 public List<Object> getDynamicVariableList() {
597 return dynamicVariableList;
601 public List<String> getDataTypeList() {
606 public String getOldPolicyFileName() {
607 return oldPolicyFileName;
611 public String getServiceType() {
616 public String getUuid() {
621 public String getMsLocation() {
626 public String getPriority() {
631 public String getDeleteCondition() {
632 return deleteCondition;
636 public String getDictionaryType() {
637 return dictionaryType;
641 public String getDictionary() {
646 public String getTTLDate(){
651 public Map<String, String> getDictionaryFields() {
652 return dictionaryFields;
656 public String getRiskType() {
661 public String getRiskLevel() {
666 public String getGuard() {
671 public String toString() {
672 return "StdPAPPolicy [policyName=" + policyName + ", policyDescription=" + policyDescription + ", ecompName="
673 + ecompName + ", configName=" + configName + ", dyanamicFieldConfigAttributes=" + dyanamicFieldConfigAttributes + ", configBodyData=" + configBodyData
674 + ", policyID=" + policyID + ", ruleID=" + ruleID + ", configType=" + configType + ", editPolicy=" + ", version=" + ", domain=" + domain
675 + ", configPolicyType=" + configPolicyType + ", jsonBody=" + jsonBody + ", highestVersion=" + highestVersion + ", location=" + location
676 + ",dynamicRuleAlgorithmLabels=" + dynamicRuleAlgorithmLabels + ",dynamicRuleAlgorithmCombo=" + dynamicRuleAlgorithmCombo
677 + ",dynamicRuleAlgorithmField1=" + dynamicRuleAlgorithmField1 + ",dynamicRuleAlgorithmField2=" + dynamicRuleAlgorithmField2
678 + ",actionPerformer=" + actionPerformer + ",actionAttribute=" + actionAttribute + ",actionBody=" + actionBody + ",dropDownMap=" + dropDownMap
679 + ",actionDictHeader=" + actionDictHeader + ",actionDictType=" + actionDictType + ",actionDictUrl=" + actionDictUrl
680 + ",actionDictMethod=" + actionDictMethod + ",dynamicSettingsMap=" + dynamicSettingsMap + ",dynamicVariableList=" + dynamicVariableList + ",providerComboBox=" + providerComboBox
681 + ",dataTypeList=" + dataTypeList + ",draft=" + ",oldPolicyFileName=" + oldPolicyFileName + ",serviceType=" + serviceType
682 + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority=" + priority + ",deleteCondition=" + deleteCondition + ",dictionaryType=" + dictionaryType
683 + ",dictionary=" + dictionary + ",dictionaryFields=" + dictionaryFields + ",uuid=" + uuid + ",msLocation=" + msLocation + ",priority="
684 + priority + ",deleteCondition=" + deleteCondition + ",riskType="+riskType + ",riskLevel="+riskLevel + ",guard="+ guard + ",ttlDate="+ ttlDate + "]";
687 // Methods needed for JSON Deserialization
688 public void setPolicyName(String policyName) {
689 this.policyName = policyName;
692 public void setPolicyDescription(String policyDescription) {
693 this.policyDescription = policyDescription;
696 public void setEcompName(String ecompName) {
697 this.ecompName = ecompName;
700 public void setConfigName(String configName) {
701 this.configName = configName;
704 public void setDyanamicFieldConfigAttributes(
705 Map<String, String> dyanamicFieldConfigAttributes) {
706 this.dyanamicFieldConfigAttributes = dyanamicFieldConfigAttributes;
709 public void setConfigBodyData(String configBodyData) {
710 this.configBodyData = configBodyData;
713 public void setPolicyID(String policyID) {
714 this.policyID = policyID;
717 public void setRuleID(String ruleID) {
718 this.ruleID = ruleID;
721 public void setConfigType(String configType) {
722 this.configType = configType;
725 public void setEditPolicy(Boolean editPolicy) {
726 this.editPolicy = editPolicy;
729 public void setVersion(String version) {
730 this.version = version;
733 public void setDomainDir(String domain) {
734 this.domain = domain;
737 public void setConfigPolicyType(String configPolicyType) {
738 this.configPolicyType = configPolicyType;
741 public void setJsonBody(String jsonBody) {
742 this.jsonBody = jsonBody;
745 public void setHighestVersion(Integer highestVersion) {
746 this.highestVersion = highestVersion;
749 public void setLocation (URI location) {
750 this.location = location;
753 public void setDynamicRuleAlgorithmLabels(
754 List<String> dynamicRuleAlgorithmLabels) {
755 this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
758 public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
759 this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
762 public void setDynamicRuleAlgorithmField1(
763 List<String> dynamicRuleAlgorithmField1) {
764 this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
767 public void setDynamicRuleAlgorithmField2(
768 List<String> dynamicRuleAlgorithmField2) {
769 this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
772 public void setActionPerformer(String actionPerformer) {
773 this.actionPerformer = actionPerformer;
776 public void setActionAttribute(String actionAttribute) {
777 this.actionAttribute = actionAttribute;
780 public void setActionBody(String actionBody) {
781 this.actionBody = actionBody;
784 public void setDropDownMap(Map<String, String> dropDownMap) {
785 this.dropDownMap = dropDownMap;
788 public void setActionDictHeader(String actionDictHeader) {
789 this.actionDictHeader = actionDictHeader;
792 public void setActionDictType(String actionDictType) {
793 this.actionDictType = actionDictType;
796 public void setActionDictUrl(String actionDictUrl) {
797 this.actionDictUrl = actionDictUrl;
800 public void setActionDictMethod(String actionDictMethod) {
801 this.actionDictMethod = actionDictMethod;
804 public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
805 this.dynamicSettingsMap = dynamicSettingsMap;
808 public void setDynamicVariableList(List<Object> dynamicVariableList) {
809 this.dynamicVariableList = dynamicVariableList;
812 public void setDataTypeList(List<String> dataTypeList) {
813 this.dataTypeList = dataTypeList;
816 public void setDraft(Boolean draft) {
820 public void setOldPolicyFileName(String oldPolicyFileName) {
821 this.oldPolicyFileName = oldPolicyFileName;
824 public void setServiceType(String serviceType) {
825 this.serviceType = serviceType;
829 public Map<String, String> getDrlRuleAndUIParams() {
830 return drlRuleAndUIParams;
833 public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
834 this.drlRuleAndUIParams = drlRuleAndUIParams;
837 public void setUuid(String uuid) {
841 public void setMsLocation(String msLocation) {
842 this.msLocation = msLocation;
845 public void setPriority(String priority) {
846 this.priority = priority;
849 public void setDeleteCondition(String deleteCondition) {
850 this.deleteCondition = deleteCondition;
853 public void setDictionaryType(String dictionaryType) {
854 this.dictionaryType = dictionaryType;
857 public void setDictionary(String dictionary) {
858 this.dictionary = dictionary;
861 public void setDictionaryFields(Map<String, String> dictionaryFields) {
862 this.dictionaryFields = dictionaryFields;
865 public String getProviderComboBox() {
866 return providerComboBox;
869 public void setProviderComboBox(String providerComboBox) {
870 this.providerComboBox = providerComboBox;
873 public void setRiskType(String riskType){
874 this.riskType = riskType;
877 public void setRiskLevel(String riskLevel){
878 this.riskLevel = riskLevel;
881 public void setGuard(String guard){
885 public void setTTLDate(String ttlDate){
886 this.ttlDate = ttlDate;