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

org.apache.aries.blueprint.jaxb.Tbean Maven / Gradle / Ivy

Go to download

This bundle contains the core implementation of Blueprint along with the "ext" namespace handler.

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2010.04.23 at 12:57:08 PM EDT 
//


package org.apache.aries.blueprint.jaxb;

import java.util.List;
import java.util.Vector;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 *                 
 *                 The type definition for a  component.  The  
 *                 attributes provide the characteristics for how to create a
 *                 bean instance.  Constructor arguments and injected properties
 *                 are specified via child  and  elements.
 *                 
 * 			
 * 
 * 

Java class for Tbean complex type. * *

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

 * <complexType name="Tbean">
 *   <complexContent>
 *     <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tcomponent">
 *       <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GbeanElements"/>
 *       <attribute name="class" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tclass" />
 *       <attribute name="init-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
 *       <attribute name="destroy-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
 *       <attribute name="factory-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
 *       <attribute name="factory-ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
 *       <attribute name="scope" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tscope" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Tbean", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = { "description", "argumentOrPropertyOrAny" }) @XmlSeeAlso({ TinlinedBean.class }) @XmlRootElement(name = "bean") public class Tbean extends Tcomponent { protected Tdescription description; @XmlElementRefs({ @XmlElementRef(name = "argument", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", type = JAXBElement.class), @XmlElementRef(name = "property", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", type = JAXBElement.class) }) @XmlAnyElement(lax = true) protected List argumentOrPropertyOrAny = new Vector(); @XmlAttribute(name = "class") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String clazz; @XmlAttribute(name = "init-method") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String initMethod; @XmlAttribute(name = "destroy-method") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String destroyMethod; @XmlAttribute(name = "factory-method") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String factoryMethod; @XmlAttribute(name = "factory-ref") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String factoryRef; @XmlAttribute protected String scope; /** * Gets the value of the description property. * * @return * possible object is * {@link Tdescription } * */ public Tdescription getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Tdescription } * */ public void setDescription(Tdescription value) { this.description = value; } /** * Gets the value of the argumentOrPropertyOrAny 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 argumentOrPropertyOrAny property. * *

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

     *    getArgumentOrPropertyOrAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link JAXBElement }{@code <}{@link Tproperty }{@code >} * {@link JAXBElement }{@code <}{@link Targument }{@code >} * * */ public List getArgumentOrPropertyOrAny() { if (argumentOrPropertyOrAny == null) { argumentOrPropertyOrAny = new Vector(); } return this.argumentOrPropertyOrAny; } /** * Gets the value of the clazz property. * * @return * possible object is * {@link String } * */ public String getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is * {@link String } * */ public void setClazz(String value) { this.clazz = value; } /** * Gets the value of the initMethod property. * * @return * possible object is * {@link String } * */ public String getInitMethod() { return initMethod; } /** * Sets the value of the initMethod property. * * @param value * allowed object is * {@link String } * */ public void setInitMethod(String value) { this.initMethod = value; } /** * Gets the value of the destroyMethod property. * * @return * possible object is * {@link String } * */ public String getDestroyMethod() { return destroyMethod; } /** * Sets the value of the destroyMethod property. * * @param value * allowed object is * {@link String } * */ public void setDestroyMethod(String value) { this.destroyMethod = value; } /** * Gets the value of the factoryMethod property. * * @return * possible object is * {@link String } * */ public String getFactoryMethod() { return factoryMethod; } /** * Sets the value of the factoryMethod property. * * @param value * allowed object is * {@link String } * */ public void setFactoryMethod(String value) { this.factoryMethod = value; } /** * Gets the value of the factoryRef property. * * @return * possible object is * {@link String } * */ public String getFactoryRef() { return factoryRef; } /** * Sets the value of the factoryRef property. * * @param value * allowed object is * {@link String } * */ public void setFactoryRef(String value) { this.factoryRef = value; } /** * Gets the value of the scope property. * * @return * possible object is * {@link String } * */ public String getScope() { return scope; } /** * Sets the value of the scope property. * * @param value * allowed object is * {@link String } * */ public void setScope(String value) { this.scope = value; } }