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: 2016.10.25 at 11:35:24 PM 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;
import org.w3c.dom.Element;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <element ref="{http://xmlns.jcp.org/xml/ns/javaee}interceptors"/>
 *         <element ref="{http://xmlns.jcp.org/xml/ns/javaee}decorators"/>
 *         <element ref="{http://xmlns.jcp.org/xml/ns/javaee}alternatives"/>
 *         <element ref="{http://xmlns.jcp.org/xml/ns/javaee}scan"/>
 *         <any processContents='lax' namespace='##other'/>
 *       </choice>
 *       <attribute name="version" default="1.1">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *             <pattern value="\.?[0-9]+(\.[0-9]+)*"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="bean-discovery-mode" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="annotated"/>
 *             <enumeration value="all"/>
 *             <enumeration value="none"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "interceptorsOrDecoratorsOrAlternatives" }) @XmlRootElement(name = "beans") @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") public class Beans { @XmlElementRefs({ @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), @XmlElementRef(name = "decorators", namespace = "http://xmlns.jcp.org/xml/ns/javaee", type = Decorators.class, required = false), @XmlElementRef(name = "scan", namespace = "http://xmlns.jcp.org/xml/ns/javaee", type = Scan.class, required = false) }) @XmlAnyElement(lax = true) @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+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 = "2016-10-25T11:35:24+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 = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") protected String beanDiscoveryMode; /** * Gets the value of the interceptorsOrDecoratorsOrAlternatives property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the interceptorsOrDecoratorsOrAlternatives property. * *

* For example, to add a new item, do as follows: *

     *    getInterceptorsOrDecoratorsOrAlternatives().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Interceptors } * {@link Object } * {@link Element } * {@link Alternatives } * {@link Scan } * {@link Decorators } * * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") public List getInterceptorsOrDecoratorsOrAlternatives() { if (interceptorsOrDecoratorsOrAlternatives == null) { interceptorsOrDecoratorsOrAlternatives = new ArrayList(); } return this.interceptorsOrDecoratorsOrAlternatives; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") public String getVersion() { if (version == null) { return "1.1"; } else { return version; } } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") public void setVersion(String value) { this.version = value; } /** * Gets the value of the beanDiscoveryMode property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") public String getBeanDiscoveryMode() { return beanDiscoveryMode; } /** * Sets the value of the beanDiscoveryMode property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-10-25T11:35:24+02:00", comments = "JAXB RI v2.2.7") public void setBeanDiscoveryMode(String value) { this.beanDiscoveryMode = value; } }