Folder.java 5.02 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.native2pdf.xml;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlType(name="", propOrder={"saveSuccessful", "saveFailed", "createInFolder", "duplicates", "allowedExtensions", "refreshTime", "purgeTime", "batchSize", "jobTimeout", "jobOptions", "securitySettings", "filetypeSettings"})
@XmlRootElement(name="folder")
public class Folder
implements Serializable {
    protected boolean saveSuccessful;
    protected boolean saveFailed;
    protected boolean createInFolder;
    @XmlElement(required=1)
    protected String duplicates;
    @XmlElement(required=1, defaultValue="*")
    protected String allowedExtensions;
    protected int refreshTime;
    protected int purgeTime;
    @XmlElement(defaultValue="10")
    protected int batchSize;
    @XmlElement(defaultValue="270")
    protected Integer jobTimeout;
    @XmlElement(name="job-options", required=1)
    protected String jobOptions;
    @XmlElement(name="security-settings", required=1)
    protected String securitySettings;
    @XmlElement(name="filetype-settings")
    protected String filetypeSettings;
    @XmlAttribute(required=1)
    protected String path;
    @XmlAttribute
    protected Integer priority;

    public boolean isSaveSuccessful() {
        return this.saveSuccessful;
    }

    public void setSaveSuccessful(boolean value) {
        this.saveSuccessful = value;
    }

    public boolean isSetSaveSuccessful() {
        return true;
    }

    public boolean isSaveFailed() {
        return this.saveFailed;
    }

    public void setSaveFailed(boolean value) {
        this.saveFailed = value;
    }

    public boolean isSetSaveFailed() {
        return true;
    }

    public boolean isCreateInFolder() {
        return this.createInFolder;
    }

    public void setCreateInFolder(boolean value) {
        this.createInFolder = value;
    }

    public boolean isSetCreateInFolder() {
        return true;
    }

    public String getDuplicates() {
        return this.duplicates;
    }

    public void setDuplicates(String value) {
        this.duplicates = value;
    }

    public boolean isSetDuplicates() {
        return this.duplicates != null;
    }

    public String getAllowedExtensions() {
        return this.allowedExtensions;
    }

    public void setAllowedExtensions(String value) {
        this.allowedExtensions = value;
    }

    public boolean isSetAllowedExtensions() {
        return this.allowedExtensions != null;
    }

    public int getRefreshTime() {
        return this.refreshTime;
    }

    public void setRefreshTime(int value) {
        this.refreshTime = value;
    }

    public boolean isSetRefreshTime() {
        return true;
    }

    public int getPurgeTime() {
        return this.purgeTime;
    }

    public void setPurgeTime(int value) {
        this.purgeTime = value;
    }

    public boolean isSetPurgeTime() {
        return true;
    }

    public int getBatchSize() {
        return this.batchSize;
    }

    public void setBatchSize(int value) {
        this.batchSize = value;
    }

    public boolean isSetBatchSize() {
        return true;
    }

    public Integer getJobTimeout() {
        return this.isSetJobTimeout() ? this.jobTimeout : 270;
    }

    public void setJobTimeout(Integer value) {
        this.jobTimeout = value;
    }

    public boolean isSetJobTimeout() {
        return this.jobTimeout != null;
    }

    public String getJobOptions() {
        return this.jobOptions;
    }

    public void setJobOptions(String value) {
        this.jobOptions = value;
    }

    public boolean isSetJobOptions() {
        return this.jobOptions != null;
    }

    public String getSecuritySettings() {
        return this.securitySettings;
    }

    public void setSecuritySettings(String value) {
        this.securitySettings = value;
    }

    public boolean isSetSecuritySettings() {
        return this.securitySettings != null;
    }

    public String getFiletypeSettings() {
        return this.filetypeSettings;
    }

    public void setFiletypeSettings(String value) {
        this.filetypeSettings = value;
    }

    public boolean isSetFiletypeSettings() {
        return this.filetypeSettings != null;
    }

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

    public void setPath(String value) {
        this.path = value;
    }

    public boolean isSetPath() {
        return this.path != null;
    }

    public int getPriority() {
        if (this.priority == null) {
            return 4;
        }
        return this.priority;
    }

    public void setPriority(int value) {
        this.priority = value;
    }

    public boolean isSetPriority() {
        return this.priority != null;
    }

    public void unsetPriority() {
        this.priority = null;
    }
}