AdaptiveFormData.java 1.55 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.forms.common.service.FileAttachmentWrapper
 */
package com.adobe.aemds.guide.utils;

import com.adobe.forms.common.service.FileAttachmentWrapper;
import java.util.List;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
public class AdaptiveFormData {
    private String xmlStr;
    private String bindRef;
    private String path;
    private List<FileAttachmentWrapper> attachments;

    public AdaptiveFormData(String xmlStr, String bindRef, String path, List<FileAttachmentWrapper> attachments) {
        this.xmlStr = xmlStr;
        this.bindRef = bindRef;
        this.path = path;
        this.attachments = attachments;
    }

    public String getXmlStr() {
        return this.xmlStr;
    }

    public String getBindRef() {
        return this.bindRef;
    }

    public String getPath() {
        return this.path;
    }

    public List<FileAttachmentWrapper> getAttachments() {
        return this.attachments;
    }

    public String toString() {
        String attachemntNames = "";
        if (this.attachments != null) {
            for (FileAttachmentWrapper attachment : this.attachments) {
                attachemntNames = attachemntNames + "\t" + attachment.getFileName();
            }
        }
        return "AdaptiveFormData{, path='" + this.path + '\'' + "\n\n" + ", bindRef='" + this.bindRef + '\'' + "\n\n" + "xml=\n" + this.xmlStr + "\n\n" + "attachment names = " + attachemntNames + "\n" + '}' + "\n\n\n";
    }
}