XACML Platform Enhancements
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / adapter / PolicyRestAdapter.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP-PAP-REST
4  * ================================================================================
5  * Copyright (C) 2017-2018 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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.policy.rest.adapter;
22
23 import java.util.LinkedHashMap;
24 import java.util.List;
25 import java.util.Map;
26 import javax.persistence.EntityManagerFactory;
27 import org.onap.policy.rest.jpa.OnapName;
28
29 public class PolicyRestAdapter {
30
31     /*
32      * 
33      * Note : Make Sure if any variables are added in PolicyRestAdapter.java, add them to PolicyElasticData.java file
34      * 
35      * 
36      */
37
38     // Common
39     private Object data;
40     private String policyName = null;
41     private String configBodyData = null;
42     private String configType = null;
43     private String policyID = null;
44     private String policyType = null;
45     private String comboPolicyType;
46     private String configPolicyType = null;
47     private String policyDescription = null;
48     private String onapName = null;
49     private String configName = null;
50     private String ruleID = null;
51     private String parentPath;
52     private boolean isValidData = false;
53     private String adminNotification = null;
54     private boolean isEditPolicy = false;
55     private boolean isViewPolicy = false;
56     private boolean isDraft = false;
57     private Object policyData = null;
58     private String gitPath;
59     private boolean readOnly;
60     private String configHome;
61     private String configUrl;
62     private String finalPolicyPath;
63     private String version;
64     private String jsonBody;
65     private String apiflag;
66     private String prevJsonBody;
67     private Integer highestVersion;
68     private EntityManagerFactory entityManagerFactory = null;
69     private Boolean policyExists = false;
70     private String oldPolicyFileName = null;
71     private String domain = null;
72     private String userId;
73     private String newFileName;
74     private String clWarning = null;
75     private String newCLName = null;
76     private String existingCLName = null;
77     // Used by GUI
78     private OnapName onapNameField;
79     private Object jsonBodyData;
80     private String dirPath;
81     private String configBodyPath;
82     private List<Object> attributes;
83     private List<Object> settings;
84     private List<Object> ruleAlgorithmschoices;
85
86     private Map<?, ?> serviceTypePolicyName;
87
88     private Map<?, ?> verticaMetrics;
89     private Map<?, ?> description;
90     private Map<?, ?> attributeFields;
91
92     // ClosedLoop
93     private String clearTimeOut;
94     private String trapMaxAge;
95     private String verificationclearTimeOut;
96     private Map<String, String> dynamicLayoutMap;
97     private ClosedLoopFaultTrapDatas trapDatas;
98     private ClosedLoopFaultTrapDatas faultDatas;
99
100     // FireWall
101     private String fwPolicyType;
102     private List<Object> fwattributes;
103     private String parentForChild;
104     private String securityZone;
105
106     // Action & Decision
107     private String ruleCombiningAlgId = null;
108     private Map<String, String> dynamicFieldConfigAttributes;
109     private Map<String, String> dynamicSettingsMap;
110     private Map<String, String> dropDownMap;
111     private String actionPerformer = null;
112     private String actionAttribute = null;
113     private List<String> dynamicRuleAlgorithmLabels;
114     private List<String> dynamicRuleAlgorithmCombo;
115     private List<String> dynamicRuleAlgorithmField1;
116     private List<String> dynamicRuleAlgorithmField2;
117     private List<Object> dynamicVariableList;
118     private List<String> dataTypeList;
119     private String actionAttributeValue;
120     private String ruleProvider;
121     private String actionBody = null;
122     private String actionDictHeader = null;
123     private String actionDictType = null;
124     private String actionDictUrl = null;
125     private String actionDictMethod = null;
126     private YAMLParams yamlparams;
127     private List<String> blackListEntries;
128     private List<String> appendBlackListEntries;
129     private String blackListEntryType;
130     private String rawXacmlPolicy;
131
132     public String getRawXacmlPolicy() {
133         return rawXacmlPolicy;
134     }
135
136     public void setRawXacmlPolicy(String rawXacmlPolicy) {
137         this.rawXacmlPolicy = rawXacmlPolicy;
138     }
139
140     // Rainy Day Decision
141     private RainyDayParams rainyday;
142     private Map<String, String> rainydayMap;
143     private List<String> errorCodeList;
144     private List<String> treatmentList;
145
146     // MicroSerice
147     private String serviceType = null;
148     private String uuid = null;
149     private String location = null;
150     private String priority = null;
151     private String msLocation = null;
152     private Object policyJSON = null;
153
154     // BRMS Policies
155     private String ruleName;
156     private Map<String, String> brmsParamBody = null;
157     private String brmsController = null;
158     private List<String> brmsDependency = null;
159     private LinkedHashMap<?, ?> ruleData;
160     private LinkedHashMap<?, ?> ruleListData;
161     private Map<String, String> drlRuleAndUIParams = null;
162
163     // Safe Policy
164     private String policyScope;
165     private String providerComboBox = null;
166     private String riskType;
167     private String riskLevel;
168     private String guard = null;
169     private String ttlDate;
170     private Map<String, String> matching;
171
172     private List<Object> triggerSignatures;
173     private List<Object> symptomSignatures;
174     private String logicalConnector;
175     private String policyStatus;
176     private String gocServerScope;
177     private String supressionType;
178
179     public List<Object> getTriggerSignatures() {
180         return triggerSignatures;
181     }
182
183     public void setTriggerSignatures(List<Object> triggerSignatures) {
184         this.triggerSignatures = triggerSignatures;
185     }
186
187     public List<Object> getSymptomSignatures() {
188         return symptomSignatures;
189     }
190
191     public void setSymptomSignatures(List<Object> symptomSignatures) {
192         this.symptomSignatures = symptomSignatures;
193     }
194
195     public String getLogicalConnector() {
196         return logicalConnector;
197     }
198
199     public void setLogicalConnector(String logicalConnector) {
200         this.logicalConnector = logicalConnector;
201     }
202
203     public String getPolicyStatus() {
204         return policyStatus;
205     }
206
207     public void setPolicyStatus(String policyStatus) {
208         this.policyStatus = policyStatus;
209     }
210
211     public String getGocServerScope() {
212         return gocServerScope;
213     }
214
215     public void setGocServerScope(String gocServerScope) {
216         this.gocServerScope = gocServerScope;
217     }
218
219     public String getSupressionType() {
220         return supressionType;
221     }
222
223     public void setSupressionType(String supressionType) {
224         this.supressionType = supressionType;
225     }
226
227     /********************************************************************************/
228
229     public String getComboPolicyType() {
230         return comboPolicyType;
231     }
232
233     public void setComboPolicyType(String comboPolicyType) {
234         this.comboPolicyType = comboPolicyType;
235     }
236
237     public String getGitPath() {
238         return gitPath;
239     }
240
241     public void setGitPath(String gitPath) {
242         this.gitPath = gitPath;
243     }
244
245     public String getOldPolicyFileName() {
246         return oldPolicyFileName;
247     }
248
249     public void setOldPolicyFileName(String oldPolicyFileName) {
250         this.oldPolicyFileName = oldPolicyFileName;
251     }
252
253     public String getDomainDir() {
254         return domain;
255     }
256
257     public void setDomainDir(String domain) {
258         this.domain = domain;
259     }
260
261     public Integer getHighestVersion() {
262         return highestVersion;
263     }
264
265     public void setHighestVersion(Integer highestVersion) {
266         this.highestVersion = highestVersion;
267     }
268
269     public Object getData() {
270         return data;
271     }
272
273     public void setData(Object data) {
274         this.data = data;
275     }
276
277     public String getPolicyName() {
278         return policyName;
279     }
280
281     public void setPolicyName(String policyName) {
282         this.policyName = policyName;
283     }
284
285     public String getConfigBodyData() {
286         return configBodyData;
287     }
288
289     public void setConfigBodyData(String configBodyData) {
290         this.configBodyData = configBodyData;
291     }
292
293     public String getConfigType() {
294         return configType;
295     }
296
297     public void setConfigType(String configType) {
298         this.configType = configType;
299     }
300
301     public String getPolicyID() {
302         return policyID;
303     }
304
305     public void setPolicyID(String policyID) {
306         this.policyID = policyID;
307     }
308
309     public String getPolicyType() {
310         return policyType;
311     }
312
313     public void setPolicyType(String policyType) {
314         this.policyType = policyType;
315     }
316
317     public String getPolicyDescription() {
318         return policyDescription;
319     }
320
321     public void setPolicyDescription(String policyDescription) {
322         this.policyDescription = policyDescription;
323     }
324
325     public String getOnapName() {
326         return onapName;
327     }
328
329     public void setOnapName(String onapName) {
330         this.onapName = onapName;
331     }
332
333     public String getConfigName() {
334         return configName;
335     }
336
337     public void setConfigName(String configName) {
338         this.configName = configName;
339     }
340
341     public String getRuleID() {
342         return ruleID;
343     }
344
345     public void setRuleID(String ruleID) {
346         this.ruleID = ruleID;
347     }
348
349     public String getRuleCombiningAlgId() {
350         return ruleCombiningAlgId;
351     }
352
353     public void setRuleCombiningAlgId(String ruleCombiningAlgId) {
354         this.ruleCombiningAlgId = ruleCombiningAlgId;
355     }
356
357     public Map<String, String> getDynamicFieldConfigAttributes() {
358         return dynamicFieldConfigAttributes;
359     }
360
361     public void setDynamicFieldConfigAttributes(Map<String, String> dynamicFieldConfigAttributes) {
362         this.dynamicFieldConfigAttributes = dynamicFieldConfigAttributes;
363     }
364
365     public String getParentPath() {
366         return parentPath;
367     }
368
369     public void setParentPath(String parentPath) {
370         this.parentPath = parentPath;
371     }
372
373     public boolean isEditPolicy() {
374         return isEditPolicy;
375     }
376
377     public void setEditPolicy(boolean isEditPolicy) {
378         this.isEditPolicy = isEditPolicy;
379     }
380
381     public boolean isViewPolicy() {
382         return isViewPolicy;
383     }
384
385     public void setViewPolicy(boolean isViewPolicy) {
386         this.isViewPolicy = isViewPolicy;
387     }
388
389     public Object getPolicyData() {
390         return policyData;
391     }
392
393     public void setPolicyData(Object policyData) {
394         this.policyData = policyData;
395     }
396
397     public boolean isReadOnly() {
398         return readOnly;
399     }
400
401     public void setReadOnly(boolean readOnly) {
402         this.readOnly = readOnly;
403     }
404
405     public boolean isValidData() {
406         return isValidData;
407     }
408
409     public void setValidData(boolean isValidData) {
410         this.isValidData = isValidData;
411     }
412
413     public String getAdminNotification() {
414         return adminNotification;
415     }
416
417     public void setAdminNotification(String adminNotification) {
418         this.adminNotification = adminNotification;
419     }
420
421     public String getConfigHome() {
422         return configHome;
423     }
424
425     public void setConfigHome(String configHome) {
426         this.configHome = configHome;
427     }
428
429     public String getConfigUrl() {
430         return configUrl;
431     }
432
433     public void setConfigUrl(String configUrl) {
434         this.configUrl = configUrl;
435     }
436
437     public String getFinalPolicyPath() {
438         return finalPolicyPath;
439     }
440
441     public void setFinalPolicyPath(String finalPolicyPath) {
442         this.finalPolicyPath = finalPolicyPath;
443     }
444
445     public String getVersion() {
446         return version;
447     }
448
449     public void setVersion(String version) {
450         this.version = version;
451     }
452
453     public String getJsonBody() {
454         return jsonBody;
455     }
456
457     public void setJsonBody(String jsonBody) {
458         this.jsonBody = jsonBody;
459     }
460
461     public String getPrevJsonBody() {
462         return prevJsonBody;
463     }
464
465     public void setPrevJsonBody(String prevJsonBody) {
466         this.prevJsonBody = prevJsonBody;
467     }
468
469     public String getApiflag() {
470         return apiflag;
471     }
472
473     public void setApiflag(String apiflag) {
474         this.apiflag = apiflag;
475     }
476
477     /**
478      * @return the actionPerformer
479      */
480     public String getActionPerformer() {
481         return actionPerformer;
482     }
483
484     /**
485      * @param actionPerformer the actionPerformer to set
486      */
487     public void setActionPerformer(String actionPerformer) {
488         this.actionPerformer = actionPerformer;
489     }
490
491     /**
492      * @return the actionAttribute
493      */
494     public String getActionAttribute() {
495         return actionAttribute;
496     }
497
498     /**
499      * @param actionAttribute the actionAttribute to set
500      */
501     public void setActionAttribute(String actionAttribute) {
502         this.actionAttribute = actionAttribute;
503     }
504
505     /**
506      * @return the dynamicRuleAlgorithmLabels
507      */
508     public List<String> getDynamicRuleAlgorithmLabels() {
509         return dynamicRuleAlgorithmLabels;
510     }
511
512     /**
513      * @param dynamicRuleAlgorithmLabels the dynamicRuleAlgorithmLabels to set
514      */
515     public void setDynamicRuleAlgorithmLabels(List<String> dynamicRuleAlgorithmLabels) {
516         this.dynamicRuleAlgorithmLabels = dynamicRuleAlgorithmLabels;
517     }
518
519     /**
520      * @return the dynamicRuleAlgorithmCombo
521      */
522     public List<String> getDynamicRuleAlgorithmCombo() {
523         return dynamicRuleAlgorithmCombo;
524     }
525
526     /**
527      * @param dynamicRuleAlgorithmCombo the dynamicRuleAlgorithmCombo to set
528      */
529     public void setDynamicRuleAlgorithmCombo(List<String> dynamicRuleAlgorithmCombo) {
530         this.dynamicRuleAlgorithmCombo = dynamicRuleAlgorithmCombo;
531     }
532
533     /**
534      * @return the dynamicRuleAlgorithmField1
535      */
536     public List<String> getDynamicRuleAlgorithmField1() {
537         return dynamicRuleAlgorithmField1;
538     }
539
540     /**
541      * @param dynamicRuleAlgorithmField1 the dynamicRuleAlgorithmField1 to set
542      */
543     public void setDynamicRuleAlgorithmField1(List<String> dynamicRuleAlgorithmField1) {
544         this.dynamicRuleAlgorithmField1 = dynamicRuleAlgorithmField1;
545     }
546
547     /**
548      * @return the dynamicRuleAlgorithmField2
549      */
550     public List<String> getDynamicRuleAlgorithmField2() {
551         return dynamicRuleAlgorithmField2;
552     }
553
554     /**
555      * @param dynamicRuleAlgorithmField2 the dynamicRuleAlgorithmField2 to set
556      */
557     public void setDynamicRuleAlgorithmField2(List<String> dynamicRuleAlgorithmField2) {
558         this.dynamicRuleAlgorithmField2 = dynamicRuleAlgorithmField2;
559     }
560
561     public Map<String, String> getDropDownMap() {
562         return dropDownMap;
563     }
564
565     public void setDropDownMap(Map<String, String> dropDownMap) {
566         this.dropDownMap = dropDownMap;
567     }
568
569     public Map<String, String> getDynamicSettingsMap() {
570         return dynamicSettingsMap;
571     }
572
573     public void setDynamicSettingsMap(Map<String, String> dynamicSettingsMap) {
574         this.dynamicSettingsMap = dynamicSettingsMap;
575     }
576
577     public List<Object> getDynamicVariableList() {
578         return dynamicVariableList;
579     }
580
581     public void setDynamicVariableList(List<Object> dynamicVariableList) {
582         this.dynamicVariableList = dynamicVariableList;
583     }
584
585     public List<String> getDataTypeList() {
586         return dataTypeList;
587     }
588
589     public void setDataTypeList(List<String> dataTypeList) {
590         this.dataTypeList = dataTypeList;
591     }
592
593     public boolean isDraft() {
594         return isDraft;
595     }
596
597     public void setDraft(boolean isDraft) {
598         this.isDraft = isDraft;
599     }
600
601     public String getConfigPolicyType() {
602         return configPolicyType;
603     }
604
605     public void setConfigPolicyType(String configPolicyType) {
606         this.configPolicyType = configPolicyType;
607     }
608
609     public String getServiceType() {
610         return serviceType;
611     }
612
613     public void setServiceType(String serviceType) {
614         this.serviceType = serviceType;
615     }
616
617     public String getUuid() {
618         return uuid;
619     }
620
621     public void setUuid(String uuid) {
622         this.uuid = uuid;
623     }
624
625     public String getLocation() {
626         return location;
627     }
628
629     public void setLocation(String location) {
630         this.location = location;
631     }
632
633     public String getPriority() {
634         return priority;
635     }
636
637     public void setPriority(String priority) {
638         this.priority = priority;
639     }
640
641     public Map<String, String> getBrmsParamBody() {
642         return brmsParamBody;
643     }
644
645     public void setBrmsParamBody(Map<String, String> brmsParamBody) {
646         this.brmsParamBody = brmsParamBody;
647     }
648
649     public EntityManagerFactory getEntityManagerFactory() {
650         return entityManagerFactory;
651     }
652
653     public void setEntityManagerFactory(EntityManagerFactory entityManagerFactory) {
654         this.entityManagerFactory = entityManagerFactory;
655     }
656
657     /**
658      * @return the policyExists
659      */
660     public Boolean getPolicyExists() {
661         return policyExists;
662     }
663
664     /**
665      * @param policyExists the policyExists to set
666      */
667     public void setPolicyExists(Boolean policyExists) {
668         this.policyExists = policyExists;
669     }
670
671     public String getPolicyScope() {
672         return policyScope;
673     }
674
675     public void setPolicyScope(String domainDir) {
676         this.policyScope = domainDir;
677     }
678
679     public String getProviderComboBox() {
680         return providerComboBox;
681     }
682
683     public void setProviderComboBox(String providerComboBox) {
684         this.providerComboBox = providerComboBox;
685     }
686
687     public String getRiskType() {
688         return riskType;
689     }
690
691     public void setRiskType(String riskType) {
692         this.riskType = riskType;
693     }
694
695     public String getGuard() {
696         return guard;
697     }
698
699     public void setGuard(String guard) {
700         this.guard = guard;
701     }
702
703     public String getRiskLevel() {
704         return riskLevel;
705     }
706
707     public void setRiskLevel(String riskLevel) {
708         this.riskLevel = riskLevel;
709     }
710
711     public String getTtlDate() {
712         return ttlDate;
713     }
714
715     public void setTtlDate(String ttlDate) {
716         this.ttlDate = ttlDate;
717     }
718
719     public String getBrmsController() {
720         return brmsController;
721     }
722
723     public void setBrmsController(String brmsController) {
724         this.brmsController = brmsController;
725     }
726
727     public List<String> getBrmsDependency() {
728         return brmsDependency;
729     }
730
731     public void setBrmsDependency(List<String> brmsDependency) {
732         this.brmsDependency = brmsDependency;
733     }
734
735     public Map<String, String> getMatching() {
736         return matching;
737     }
738
739     public void setMatching(Map<String, String> matching) {
740         this.matching = matching;
741     }
742
743     public String getUserId() {
744         return userId;
745     }
746
747     public void setUserId(String userId) {
748         this.userId = userId;
749     }
750
751     public String getNewFileName() {
752         return newFileName;
753     }
754
755     public void setNewFileName(String newFileName) {
756         this.newFileName = newFileName;
757     }
758
759     public OnapName getOnapNameField() {
760         return onapNameField;
761     }
762
763     public void setOnapNameField(OnapName onapNameField) {
764         this.onapNameField = onapNameField;
765     }
766
767     public Object getJsonBodyData() {
768         return jsonBodyData;
769     }
770
771     public void setJsonBodyData(Object jsonBodyData) {
772         this.jsonBodyData = jsonBodyData;
773     }
774
775     public String getDirPath() {
776         return dirPath;
777     }
778
779     public void setDirPath(String dirPath) {
780         this.dirPath = dirPath;
781     }
782
783     public String getConfigBodyPath() {
784         return configBodyPath;
785     }
786
787     public void setConfigBodyPath(String configBodyPath) {
788         this.configBodyPath = configBodyPath;
789     }
790
791     public List<Object> getAttributes() {
792         return attributes;
793     }
794
795     public void setAttributes(List<Object> attributes) {
796         this.attributes = attributes;
797     }
798
799     public List<Object> getSettings() {
800         return settings;
801     }
802
803     public void setSettings(List<Object> settings) {
804         this.settings = settings;
805     }
806
807     public List<Object> getRuleAlgorithmschoices() {
808         return ruleAlgorithmschoices;
809     }
810
811     public void setRuleAlgorithmschoices(List<Object> ruleAlgorithmschoices) {
812         this.ruleAlgorithmschoices = ruleAlgorithmschoices;
813     }
814
815     public Map<?, ?> getServiceTypePolicyName() {
816         return serviceTypePolicyName;
817     }
818
819     public void setServiceTypePolicyName(Map<?, ?> serviceTypePolicyName) {
820         this.serviceTypePolicyName = serviceTypePolicyName;
821     }
822
823     public Map<?, ?> getVerticaMetrics() {
824         return verticaMetrics;
825     }
826
827     public void setVerticaMetrics(Map<?, ?> verticaMetrics) {
828         this.verticaMetrics = verticaMetrics;
829     }
830
831     public Map<?, ?> getDescription() {
832         return description;
833     }
834
835     public void setDescription(LinkedHashMap<?, ?> description) {
836         this.description = description;
837     }
838
839     public Map<?, ?> getAttributeFields() {
840         return attributeFields;
841     }
842
843     public void setAttributeFields(LinkedHashMap<?, ?> attributeFields) {
844         this.attributeFields = attributeFields;
845     }
846
847     public String getClearTimeOut() {
848         return clearTimeOut;
849     }
850
851     public void setClearTimeOut(String clearTimeOut) {
852         this.clearTimeOut = clearTimeOut;
853     }
854
855     public String getTrapMaxAge() {
856         return trapMaxAge;
857     }
858
859     public void setTrapMaxAge(String trapMaxAge) {
860         this.trapMaxAge = trapMaxAge;
861     }
862
863     public String getVerificationclearTimeOut() {
864         return verificationclearTimeOut;
865     }
866
867     public void setVerificationclearTimeOut(String verificationclearTimeOut) {
868         this.verificationclearTimeOut = verificationclearTimeOut;
869     }
870
871     public Map<String, String> getDynamicLayoutMap() {
872         return dynamicLayoutMap;
873     }
874
875     public void setDynamicLayoutMap(Map<String, String> dynamicLayoutMap) {
876         this.dynamicLayoutMap = dynamicLayoutMap;
877     }
878
879     public String getFwPolicyType() {
880         return fwPolicyType;
881     }
882
883     public void setFwPolicyType(String fwPolicyType) {
884         this.fwPolicyType = fwPolicyType;
885     }
886
887     public List<Object> getFwattributes() {
888         return fwattributes;
889     }
890
891     public void setFwattributes(List<Object> fwattributes) {
892         this.fwattributes = fwattributes;
893     }
894
895     public String getParentForChild() {
896         return parentForChild;
897     }
898
899     public void setParentForChild(String parentForChild) {
900         this.parentForChild = parentForChild;
901     }
902
903     public String getRuleName() {
904         return ruleName;
905     }
906
907     public void setRuleName(String ruleName) {
908         this.ruleName = ruleName;
909     }
910
911     public LinkedHashMap<?, ?> getRuleData() {
912         return ruleData;
913     }
914
915     public void setRuleData(LinkedHashMap<?, ?> ruleData) {
916         this.ruleData = ruleData;
917     }
918
919     public LinkedHashMap<?, ?> getRuleListData() {
920         return ruleListData;
921     }
922
923     public void setRuleListData(LinkedHashMap<?, ?> ruleListData) {
924         this.ruleListData = ruleListData;
925     }
926
927     public String getSecurityZone() {
928         return securityZone;
929     }
930
931     public void setSecurityZone(String securityZone) {
932         this.securityZone = securityZone;
933     }
934
935     public String getActionAttributeValue() {
936         return actionAttributeValue;
937     }
938
939     public void setActionAttributeValue(String actionAttributeValue) {
940         this.actionAttributeValue = actionAttributeValue;
941     }
942
943     public String getRuleProvider() {
944         return ruleProvider;
945     }
946
947     public void setRuleProvider(String ruleProvider) {
948         this.ruleProvider = ruleProvider;
949     }
950
951     public String getMsLocation() {
952         return msLocation;
953     }
954
955     public void setMsLocation(String msLocation) {
956         this.msLocation = msLocation;
957     }
958
959     public Map<String, String> getDrlRuleAndUIParams() {
960         return drlRuleAndUIParams;
961     }
962
963     public void setDrlRuleAndUIParams(Map<String, String> drlRuleAndUIParams) {
964         this.drlRuleAndUIParams = drlRuleAndUIParams;
965     }
966
967     public String getActionBody() {
968         return actionBody;
969     }
970
971     public void setActionBody(String actionBody) {
972         this.actionBody = actionBody;
973     }
974
975     public String getActionDictHeader() {
976         return actionDictHeader;
977     }
978
979     public void setActionDictHeader(String actionDictHeader) {
980         this.actionDictHeader = actionDictHeader;
981     }
982
983     public String getActionDictType() {
984         return actionDictType;
985     }
986
987     public void setActionDictType(String actionDictType) {
988         this.actionDictType = actionDictType;
989     }
990
991     public String getActionDictUrl() {
992         return actionDictUrl;
993     }
994
995     public void setActionDictUrl(String actionDictUrl) {
996         this.actionDictUrl = actionDictUrl;
997     }
998
999     public String getActionDictMethod() {
1000         return actionDictMethod;
1001     }
1002
1003     public void setActionDictMethod(String actionDictMethod) {
1004         this.actionDictMethod = actionDictMethod;
1005     }
1006
1007     public String getClWarning() {
1008         return clWarning;
1009     }
1010
1011     public void setClWarning(String clWarning) {
1012         this.clWarning = clWarning;
1013     }
1014
1015     public String getNewCLName() {
1016         return newCLName;
1017     }
1018
1019     public void setNewCLName(String newCLName) {
1020         this.newCLName = newCLName;
1021     }
1022
1023     public String getExistingCLName() {
1024         return existingCLName;
1025     }
1026
1027     public void setExistingCLName(String existingCLName) {
1028         this.existingCLName = existingCLName;
1029     }
1030
1031     public YAMLParams getYamlparams() {
1032         return yamlparams;
1033     }
1034
1035     public void setYamlparams(YAMLParams yamlparams) {
1036         this.yamlparams = yamlparams;
1037     }
1038
1039     /**
1040      * @return the rainyday
1041      */
1042     public RainyDayParams getRainyday() {
1043         return rainyday;
1044     }
1045
1046     /**
1047      * @param rainyday the rainyday to set
1048      */
1049     public void setRainyday(RainyDayParams rainyday) {
1050         this.rainyday = rainyday;
1051     }
1052
1053     /**
1054      * @return the errorCodeList
1055      */
1056     public List<String> getErrorCodeList() {
1057         return errorCodeList;
1058     }
1059
1060     /**
1061      * @param errorCodeList the errorCodeList to set
1062      */
1063     public void setErrorCodeList(List<String> errorCodeList) {
1064         this.errorCodeList = errorCodeList;
1065     }
1066
1067     /**
1068      * @return the treatmentList
1069      */
1070     public List<String> getTreatmentList() {
1071         return treatmentList;
1072     }
1073
1074     /**
1075      * @param treatmentList the treatmentList to set
1076      */
1077     public void setTreatmentList(List<String> treatmentList) {
1078         this.treatmentList = treatmentList;
1079     }
1080
1081     /**
1082      * @return the rainydayMap
1083      */
1084     public Map<String, String> getRainydayMap() {
1085         return rainydayMap;
1086     }
1087
1088     /**
1089      * @param rainydayMap the rainydayMap to set
1090      */
1091     public void setRainydayMap(Map<String, String> rainydayMap) {
1092         this.rainydayMap = rainydayMap;
1093     }
1094
1095     /**
1096      * @return the policyJSON
1097      */
1098     public Object getPolicyJSON() {
1099         return policyJSON;
1100     }
1101
1102     /**
1103      * @param policyJSON the policyJSON to set
1104      */
1105     public void setPolicyJSON(Object policyJSON) {
1106         this.policyJSON = policyJSON;
1107     }
1108
1109     public ClosedLoopFaultTrapDatas getTrapDatas() {
1110         return trapDatas;
1111     }
1112
1113     public void setTrapDatas(ClosedLoopFaultTrapDatas trapDatas) {
1114         this.trapDatas = trapDatas;
1115     }
1116
1117     public ClosedLoopFaultTrapDatas getFaultDatas() {
1118         return faultDatas;
1119     }
1120
1121     public void setFaultDatas(ClosedLoopFaultTrapDatas faultDatas) {
1122         this.faultDatas = faultDatas;
1123     }
1124
1125     public List<String> getAppendBlackListEntries() {
1126         return appendBlackListEntries;
1127     }
1128
1129     public void setAppendBlackListEntries(List<String> appendBlackListEntries) {
1130         this.appendBlackListEntries = appendBlackListEntries;
1131     }
1132
1133     public List<String> getBlackListEntries() {
1134         return blackListEntries;
1135     }
1136
1137     public void setBlackListEntries(List<String> blackListEntries) {
1138         this.blackListEntries = blackListEntries;
1139     }
1140
1141     public String getBlackListEntryType() {
1142         return blackListEntryType;
1143     }
1144
1145     public void setBlackListEntryType(String blackListEntryType) {
1146         this.blackListEntryType = blackListEntryType;
1147     }
1148 }