//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.11.05 at 05:47:27 PM CET
//
package org.springframework.ide.eclipse.osgi.blueprint.internal.jaxb;
import java.math.BigInteger;
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.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
*
*
* The Treference type defines the <reference> 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 <blueprint> definition.
*
*
*
* <p>
* Java class for Treference complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="Treference">
* <complexContent>
* <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TserviceReference">
* <sequence>
* <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="timeout" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Ttimeout" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Treference", propOrder = { "any" })
@XmlSeeAlso({ TinlinedReference.class })
public class Treference extends TserviceReference {
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(name = "timeout")
protected BigInteger timeout;
/**
* Gets the value of the any property.
*
* <p>
* 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
* <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
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;
}
}