EmbeddedFormsData.java
1.25 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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.apache.sling.commons.json.JSONObject
*/
package com.adobe.aemds.guide.utils.guideJson;
import com.adobe.aemds.guide.utils.GuideUtils;
import org.apache.sling.commons.json.JSONObject;
public class EmbeddedFormsData {
private String fragRef;
private String containerPath;
private String bindRef;
private String templateId;
public EmbeddedFormsData(JSONObject panel) {
this.fragRef = panel.optString("fragRef", "");
this.bindRef = panel.optString("bindRef", "");
this.templateId = panel.optString("templateId", "");
this.containerPath = GuideUtils.convertFMAssetPathToContainerPath(this.fragRef);
}
public String toString() {
return "EmbeddedFormsData{, fragRef='" + this.fragRef + '\'' + ", containerPath='" + this.containerPath + '\'' + ", bindRef='" + this.bindRef + '\'' + ", templateId='" + this.templateId + '\'' + '}';
}
public String getContainerPath() {
return this.containerPath;
}
public String getFragRef() {
return this.fragRef;
}
public String getBindRef() {
return this.bindRef;
}
public String getTemplateId() {
return this.templateId;
}
}