Application.java 2.33 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.appmon.xml;

import com.adobe.appmon.xml.AbortMessageType;
import com.adobe.appmon.xml.StepType;
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;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlType(name="", propOrder={"step", "abortMessage"})
@XmlRootElement(name="application")
public class Application
implements Serializable {
    @XmlElement(required=1)
    protected List<StepType> step;
    @XmlElement(required=1)
    protected AbortMessageType abortMessage;
    @XmlAttribute(required=1)
    protected String name;
    @XmlAttribute(required=1)
    protected String version;
    @XmlAttribute(required=1)
    protected String locale;

    public List<StepType> getStep() {
        if (this.step == null) {
            this.step = new ArrayList<StepType>();
        }
        return this.step;
    }

    public boolean isSetStep() {
        return this.step != null && !this.step.isEmpty();
    }

    public void unsetStep() {
        this.step = null;
    }

    public AbortMessageType getAbortMessage() {
        return this.abortMessage;
    }

    public void setAbortMessage(AbortMessageType value) {
        this.abortMessage = value;
    }

    public boolean isSetAbortMessage() {
        return this.abortMessage != null;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String value) {
        this.name = value;
    }

    public boolean isSetName() {
        return this.name != null;
    }

    public String getVersion() {
        return this.version;
    }

    public void setVersion(String value) {
        this.version = value;
    }

    public boolean isSetVersion() {
        return this.version != null;
    }

    public String getLocale() {
        return this.locale;
    }

    public void setLocale(String value) {
        this.locale = value;
    }

    public boolean isSetLocale() {
        return this.locale != null;
    }
}