All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jcp.xmlns.xml.ns.javaee.Beans Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.06.01 at 12:36:43 AM CEST 
//


package org.jcp.xmlns.xml.ns.javaee;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "interceptorsOrDecoratorsOrAlternatives"
})
@XmlRootElement(name = "beans")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
public class Beans {

    /**
     * 
     */
    @XmlElementRefs({
        @XmlElementRef(name = "scan", namespace = "http://xmlns.jcp.org/xml/ns/javaee", type = Scan.class, required = false),
        @XmlElementRef(name = "decorators", namespace = "http://xmlns.jcp.org/xml/ns/javaee", type = Decorators.class, required = false),
        @XmlElementRef(name = "interceptors", namespace = "http://xmlns.jcp.org/xml/ns/javaee", type = Interceptors.class, required = false),
        @XmlElementRef(name = "alternatives", namespace = "http://xmlns.jcp.org/xml/ns/javaee", type = Alternatives.class, required = false)
    })
    @XmlAnyElement(lax = true)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    protected List interceptorsOrDecoratorsOrAlternatives;
    /**
     * 
     */
    @XmlAttribute(name = "version")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    protected String version;
    /**
     * 
     */
    @XmlAttribute(name = "bean-discovery-mode", required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    protected String beanDiscoveryMode;

    /**
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    public List getInterceptorsOrDecoratorsOrAlternatives() {
        if (interceptorsOrDecoratorsOrAlternatives == null) {
            interceptorsOrDecoratorsOrAlternatives = new ArrayList();
        }
        return this.interceptorsOrDecoratorsOrAlternatives;
    }

    /**
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    public String getVersion() {
        if (version == null) {
            return "1.1";
        } else {
            return version;
        }
    }

    /**
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    public void setVersion(String value) {
        this.version = value;
    }

    /**
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    public String getBeanDiscoveryMode() {
        return beanDiscoveryMode;
    }

    /**
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-06-01T12:36:43+02:00", comments = "JAXB RI v2.2.7")
    public void setBeanDiscoveryMode(String value) {
        this.beanDiscoveryMode = value;
    }

}