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

org.springframework.schema.beans.Key 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 javax.annotation.Generated;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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">
 *       <group ref="{http://www.springframework.org/schema/beans}collectionElements"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "beanOrRefOrIdref" }) @XmlRootElement(name = "key") @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 Key { @XmlElementRefs({ @XmlElementRef(name = "idref", namespace = "http://www.springframework.org/schema/beans", type = Idref.class), @XmlElementRef(name = "set", namespace = "http://www.springframework.org/schema/beans", type = Set.class), @XmlElementRef(name = "props", namespace = "http://www.springframework.org/schema/beans", type = JAXBElement.class), @XmlElementRef(name = "map", namespace = "http://www.springframework.org/schema/beans", type = JAXBElement.class), @XmlElementRef(name = "bean", namespace = "http://www.springframework.org/schema/beans", type = Bean.class), @XmlElementRef(name = "list", namespace = "http://www.springframework.org/schema/beans", type = org.springframework.schema.beans.List.class), @XmlElementRef(name = "null", namespace = "http://www.springframework.org/schema/beans", type = Null.class), @XmlElementRef(name = "value", namespace = "http://www.springframework.org/schema/beans", type = Value.class), @XmlElementRef(name = "ref", namespace = "http://www.springframework.org/schema/beans", type = Ref.class) }) @XmlAnyElement(lax = true) protected java.util.List beanOrRefOrIdref; /** * Gets the value of the beanOrRefOrIdref 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 beanOrRefOrIdref property. * *

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

     *    getBeanOrRefOrIdref().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Idref } * {@link Set } * {@link JAXBElement }{@code <}{@link PropsType }{@code >} * {@link Bean } * {@link JAXBElement }{@code <}{@link MapType }{@code >} * {@link Object } * {@link org.springframework.schema.beans.List } * {@link Value } * {@link Null } * {@link Ref } * * */ public java.util.List getBeanOrRefOrIdref() { if (beanOrRefOrIdref == null) { beanOrRefOrIdref = new ArrayList(); } return this.beanOrRefOrIdref; } }