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

import com.adobe.native2pdf.xml.Folder;
import com.adobe.native2pdf.xml.Pop3Account;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
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={"webServices", "webUi", "watchedFolders", "emailSources"})
@XmlRootElement(name="job-sources")
public class JobSources
implements Serializable {
    @XmlElement(name="web-services")
    protected WebServices webServices;
    @XmlElement(name="web-ui")
    protected WebUi webUi;
    @XmlElement(name="watched-folders", required=1)
    protected WatchedFolders watchedFolders;
    @XmlElement(name="email-sources")
    protected EmailSources emailSources;

    public WebServices getWebServices() {
        return this.webServices;
    }

    public void setWebServices(WebServices value) {
        this.webServices = value;
    }

    public boolean isSetWebServices() {
        return this.webServices != null;
    }

    public WebUi getWebUi() {
        return this.webUi;
    }

    public void setWebUi(WebUi value) {
        this.webUi = value;
    }

    public boolean isSetWebUi() {
        return this.webUi != null;
    }

    public WatchedFolders getWatchedFolders() {
        return this.watchedFolders;
    }

    public void setWatchedFolders(WatchedFolders value) {
        this.watchedFolders = value;
    }

    public boolean isSetWatchedFolders() {
        return this.watchedFolders != null;
    }

    public EmailSources getEmailSources() {
        return this.emailSources;
    }

    public void setEmailSources(EmailSources value) {
        this.emailSources = value;
    }

    public boolean isSetEmailSources() {
        return this.emailSources != null;
    }

    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="")
    public static class WebUi
    implements Serializable {
        @XmlAttribute
        protected Integer priority;
        @XmlAttribute
        protected Boolean authenticated;

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

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

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

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

        public boolean isAuthenticated() {
            if (this.authenticated == null) {
                return false;
            }
            return this.authenticated;
        }

        public void setAuthenticated(boolean value) {
            this.authenticated = value;
        }

        public boolean isSetAuthenticated() {
            return this.authenticated != null;
        }

        public void unsetAuthenticated() {
            this.authenticated = null;
        }
    }

    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="")
    public static class WebServices
    implements Serializable {
        @XmlAttribute
        protected Integer priority;
        @XmlAttribute
        protected Boolean authenticated;

        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;
        }

        public boolean isAuthenticated() {
            if (this.authenticated == null) {
                return false;
            }
            return this.authenticated;
        }

        public void setAuthenticated(boolean value) {
            this.authenticated = value;
        }

        public boolean isSetAuthenticated() {
            return this.authenticated != null;
        }

        public void unsetAuthenticated() {
            this.authenticated = null;
        }
    }

    /*
     * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
     */
    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="", propOrder={"folder"})
    public static class WatchedFolders
    implements Serializable {
        protected List<Folder> folder;

        public List<Folder> getFolder() {
            if (this.folder == null) {
                this.folder = new ArrayList<Folder>();
            }
            return this.folder;
        }

        public boolean isSetFolder() {
            return this.folder != null && !this.folder.isEmpty();
        }

        public void unsetFolder() {
            this.folder = null;
        }
    }

    /*
     * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
     */
    @XmlAccessorType(value=XmlAccessType.FIELD)
    @XmlType(name="", propOrder={"pop3Account"})
    public static class EmailSources
    implements Serializable {
        @XmlElement(name="pop3-account")
        protected List<Pop3Account> pop3Account;

        public List<Pop3Account> getPop3Account() {
            if (this.pop3Account == null) {
                this.pop3Account = new ArrayList<Pop3Account>();
            }
            return this.pop3Account;
        }

        public boolean isSetPop3Account() {
            return this.pop3Account != null && !this.pop3Account.isEmpty();
        }

        public void unsetPop3Account() {
            this.pop3Account = null;
        }
    }

}