Selection.java 974 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.appmon.xml;

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

@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlType(name="", propOrder={"name", "index"})
@XmlRootElement(name="selection")
public class Selection
implements Serializable {
    protected String name;
    protected Integer index;

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

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

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

    public Integer getIndex() {
        return this.isSetIndex() ? this.index : 0;
    }

    public void setIndex(Integer value) {
        this.index = value;
    }

    public boolean isSetIndex() {
        return this.index != null;
    }
}