DataXMLOptions.java
2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.apache.sling.api.resource.Resource
*/
package com.adobe.forms.common.service;
import com.adobe.forms.common.service.DataOptions;
import java.util.Map;
import org.apache.sling.api.resource.Resource;
public class DataXMLOptions {
private String dataRef;
private Resource formResource;
private String pagePath;
private Resource aemFormContainer;
private String serviceName;
private Map<String, Object> paramMap;
public DataXMLOptions() {
}
public DataXMLOptions(DataOptions dataOptions) {
this.dataRef = dataOptions.getDataRef();
this.formResource = dataOptions.getFormResource();
this.pagePath = dataOptions.getPagePath();
this.aemFormContainer = dataOptions.getAemFormContainer();
this.serviceName = dataOptions.getServiceName();
this.paramMap = dataOptions.getExtras();
}
public String getDataRef() {
return this.dataRef;
}
public DataXMLOptions setDataRef(String dataRef) {
this.dataRef = dataRef;
return this;
}
public Resource getFormResource() {
return this.formResource;
}
public DataXMLOptions setFormResource(Resource formResource) {
this.formResource = formResource;
return this;
}
public String getPagePath() {
return this.pagePath;
}
public DataXMLOptions setPagePath(String pagePath) {
this.pagePath = pagePath;
return this;
}
public Resource getAemFormContainer() {
return this.aemFormContainer;
}
public DataXMLOptions setAemFormContainer(Resource aemFormContainer) {
this.aemFormContainer = aemFormContainer;
return this;
}
public String getServiceName() {
return this.serviceName;
}
public DataXMLOptions setServiceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
public Map getParams() {
return this.paramMap;
}
public DataXMLOptions setParams(Map paramMap) {
this.paramMap = paramMap;
return this;
}
}