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

org.springframework.schema.beans.Beans Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-146 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2010.05.05 at 02:27:11 PM BST 
//


package org.springframework.schema.beans;

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;


/**
 * 

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">
 *       <sequence>
 *         <element ref="{http://www.springframework.org/schema/beans}description" minOccurs="0"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element ref="{http://www.springframework.org/schema/beans}import"/>
 *           <element ref="{http://www.springframework.org/schema/beans}alias"/>
 *           <element ref="{http://www.springframework.org/schema/beans}bean"/>
 *           <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="default-lazy-init" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="default-merge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="default-dependency-check" default="none">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *             <enumeration value="none"/>
 *             <enumeration value="simple"/>
 *             <enumeration value="objects"/>
 *             <enumeration value="all"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="default-autowire" default="no">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *             <enumeration value="no"/>
 *             <enumeration value="byName"/>
 *             <enumeration value="byType"/>
 *             <enumeration value="constructor"/>
 *             <enumeration value="autodetect"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="default-init-method" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="default-destroy-method" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "description", "children" }) @XmlRootElement(name = "beans") @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-05-05T14:27:11+0000", comments = "hudson-jaxb-ri-2.2-146 uk.org.retep.tools:jaxb:10.5.1") public class Beans { protected Description description; @XmlElementRefs({ @XmlElementRef(name = "alias", namespace = "http://www.springframework.org/schema/beans", type = Alias.class), @XmlElementRef(name = "bean", namespace = "http://www.springframework.org/schema/beans", type = Bean.class), @XmlElementRef(name = "import", namespace = "http://www.springframework.org/schema/beans", type = Import.class) }) @XmlAnyElement(lax = true) protected List children; @XmlAttribute(name = "default-lazy-init") protected Boolean defaultLazyInit; @XmlAttribute(name = "default-merge") protected Boolean defaultMerge; @XmlAttribute(name = "default-dependency-check") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String defaultDependencyCheck; @XmlAttribute(name = "default-autowire") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String defaultAutowire; @XmlAttribute(name = "default-init-method") protected String defaultInitMethod; @XmlAttribute(name = "default-destroy-method") protected String defaultDestroyMethod; /** * Gets the value of the description property. * * @return * possible object is * {@link Description } * */ public Description getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Description } * */ public void setDescription(Description value) { this.description = value; } /** * Gets the value of the children 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 children property. * *

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

     *    getChildren().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Alias } * {@link Bean } * {@link Import } * * */ public List getChildren() { if (children == null) { children = new ArrayList(); } return this.children; } /** * Gets the value of the defaultLazyInit property. * * @return * possible object is * {@link Boolean } * */ public boolean isDefaultLazyInit() { if (defaultLazyInit == null) { return false; } else { return defaultLazyInit; } } /** * Sets the value of the defaultLazyInit property. * * @param value * allowed object is * {@link Boolean } * */ public void setDefaultLazyInit(Boolean value) { this.defaultLazyInit = value; } /** * Gets the value of the defaultMerge property. * * @return * possible object is * {@link Boolean } * */ public boolean isDefaultMerge() { if (defaultMerge == null) { return false; } else { return defaultMerge; } } /** * Sets the value of the defaultMerge property. * * @param value * allowed object is * {@link Boolean } * */ public void setDefaultMerge(Boolean value) { this.defaultMerge = value; } /** * Gets the value of the defaultDependencyCheck property. * * @return * possible object is * {@link String } * */ public String getDefaultDependencyCheck() { if (defaultDependencyCheck == null) { return "none"; } else { return defaultDependencyCheck; } } /** * Sets the value of the defaultDependencyCheck property. * * @param value * allowed object is * {@link String } * */ public void setDefaultDependencyCheck(String value) { this.defaultDependencyCheck = value; } /** * Gets the value of the defaultAutowire property. * * @return * possible object is * {@link String } * */ public String getDefaultAutowire() { if (defaultAutowire == null) { return "no"; } else { return defaultAutowire; } } /** * Sets the value of the defaultAutowire property. * * @param value * allowed object is * {@link String } * */ public void setDefaultAutowire(String value) { this.defaultAutowire = value; } /** * Gets the value of the defaultInitMethod property. * * @return * possible object is * {@link String } * */ public String getDefaultInitMethod() { return defaultInitMethod; } /** * Sets the value of the defaultInitMethod property. * * @param value * allowed object is * {@link String } * */ public void setDefaultInitMethod(String value) { this.defaultInitMethod = value; } /** * Gets the value of the defaultDestroyMethod property. * * @return * possible object is * {@link String } * */ public String getDefaultDestroyMethod() { return defaultDestroyMethod; } /** * Sets the value of the defaultDestroyMethod property. * * @param value * allowed object is * {@link String } * */ public void setDefaultDestroyMethod(String value) { this.defaultDestroyMethod = value; } }