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

import com.adobe.appmon.xml.VirtualInput;
import com.adobe.appmon.xml.WindowList;
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.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={"windowList", "virtualInput"})
@XmlRootElement(name="window")
public class Window
implements Serializable {
    protected List<WindowList> windowList;
    protected VirtualInput virtualInput;
    @XmlAttribute
    protected String caption;
    @XmlAttribute
    protected String className;
    @XmlAttribute
    protected String controlID;
    @XmlAttribute
    protected Integer childIndex;
    @XmlAttribute
    protected String abortMessage;
    @XmlAttribute
    protected String action;

    public List<WindowList> getWindowList() {
        if (this.windowList == null) {
            this.windowList = new ArrayList<WindowList>();
        }
        return this.windowList;
    }

    public boolean isSetWindowList() {
        return this.windowList != null && !this.windowList.isEmpty();
    }

    public void unsetWindowList() {
        this.windowList = null;
    }

    public VirtualInput getVirtualInput() {
        return this.virtualInput;
    }

    public void setVirtualInput(VirtualInput value) {
        this.virtualInput = value;
    }

    public boolean isSetVirtualInput() {
        return this.virtualInput != null;
    }

    public String getCaption() {
        return this.caption;
    }

    public void setCaption(String value) {
        this.caption = value;
    }

    public boolean isSetCaption() {
        return this.caption != null;
    }

    public String getClassName() {
        return this.className;
    }

    public void setClassName(String value) {
        this.className = value;
    }

    public boolean isSetClassName() {
        return this.className != null;
    }

    public String getControlID() {
        return this.controlID;
    }

    public void setControlID(String value) {
        this.controlID = value;
    }

    public boolean isSetControlID() {
        return this.controlID != null;
    }

    public int getChildIndex() {
        return this.isSetChildIndex() ? this.childIndex : 0;
    }

    public void setChildIndex(int value) {
        this.childIndex = value;
    }

    public boolean isSetChildIndex() {
        return this.childIndex != null;
    }

    public void unsetChildIndex() {
        this.childIndex = null;
    }

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

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

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

    public String getAction() {
        return this.action;
    }

    public void setAction(String value) {
        this.action = value;
    }

    public boolean isSetAction() {
        return this.action != null;
    }
}