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

org.apache.aries.blueprint.jaxb.Treference 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.math.BigInteger;
import java.util.List;
import java.util.Vector;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *                 
 *                 The Treference type defines the  element.  These
 *                 are instances of the TserviceReference type, with the addition
 *                 of a timeout attribute.  If the timeout is not specified,
 *                 the default-timeout value is inherited from the encapsulating
 *                  definition.
 *                 
 * 			
 * 
 * 

Java class for Treference complex type. * *

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

 * <complexType name="Treference">
 *   <complexContent>
 *     <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TserviceReference">
 *       <sequence>
 *         <any/>
 *       </sequence>
 *       <attribute name="timeout" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Ttimeout" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Treference", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = { "any" }) @XmlSeeAlso({ TinlinedReference.class }) @XmlRootElement(name = "reference") public class Treference extends TserviceReference { @XmlAnyElement(lax = true) protected List any = new Vector(); @XmlAttribute protected BigInteger timeout; /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getAny() { if (any == null) { any = new Vector(); } return this.any; } /** * Gets the value of the timeout property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTimeout() { return timeout; } /** * Sets the value of the timeout property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTimeout(BigInteger value) { this.timeout = value; } }