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

org.apache.openejb.jee.Scan Maven / Gradle / Ivy

/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.apache.openejb.jee;

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.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Classe Java pour anonymous complex type. * *

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence maxOccurs="unbounded" minOccurs="0">
 *         <element name="exclude">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <choice maxOccurs="unbounded" minOccurs="0">
 *                   <element name="if-class-available">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="if-class-not-available">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="if-system-property">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </choice>
 *                 <attribute name="name" use="required">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <pattern value="([a-zA-Z_$][a-zA-Z\d_$]*\.)*([a-zA-Z_$][a-zA-Z\d_$]*|\*|\*\*)"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "exclude" }) @XmlRootElement(name = "scan") public class Scan { protected List exclude; /** * Gets the value of the exclude 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 exclude property. * *

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

     *    getExclude().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Scan.Exclude } * * */ public List getExclude() { if (exclude == null) { exclude = new ArrayList(); } return this.exclude; } /** *

Classe Java pour anonymous complex type. * *

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <choice maxOccurs="unbounded" minOccurs="0">
     *         <element name="if-class-available">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="if-class-not-available">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="if-system-property">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </choice>
     *       <attribute name="name" use="required">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <pattern value="([a-zA-Z_$][a-zA-Z\d_$]*\.)*([a-zA-Z_$][a-zA-Z\d_$]*|\*|\*\*)"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty" }) public static class Exclude { @XmlElements({ @XmlElement(name = "if-class-available", type = Scan.Exclude.IfClassAvailable.class), @XmlElement(name = "if-class-not-available", type = Scan.Exclude.IfClassNotAvailable.class), @XmlElement(name = "if-system-property", type = Scan.Exclude.IfSystemProperty.class) }) protected List ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty; @XmlAttribute(name = "name", required = true) protected String name; /** * Gets the value of the ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty 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 ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty property. * *

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

         *    getIfClassAvailableOrIfClassNotAvailableOrIfSystemProperty().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Scan.Exclude.IfClassAvailable } * {@link Scan.Exclude.IfClassNotAvailable } * {@link Scan.Exclude.IfSystemProperty } * * */ public List getIfClassAvailableOrIfClassNotAvailableOrIfSystemProperty() { if (ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty == null) { ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty = new ArrayList(); } return this.ifClassAvailableOrIfClassNotAvailableOrIfSystemProperty; } /** * Obtient la valeur de la propriété name. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Définit la valeur de la propriété name. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** *

Classe Java pour anonymous complex type. * *

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class IfClassAvailable { @XmlAttribute(name = "name", required = true) protected String name; /** * Obtient la valeur de la propriété name. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Définit la valeur de la propriété name. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } } /** *

Classe Java pour anonymous complex type. * *

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class IfClassNotAvailable { @XmlAttribute(name = "name", required = true) protected String name; /** * Obtient la valeur de la propriété name. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Définit la valeur de la propriété name. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } } /** *

Classe Java pour anonymous complex type. * *

Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * *

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class IfSystemProperty { @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "value") protected String value; /** * Obtient la valeur de la propriété name. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Définit la valeur de la propriété name. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Obtient la valeur de la propriété value. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Définit la valeur de la propriété value. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } } }