// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 // 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: 2010.04.23 at 12:57:08 PM EDT // package org.apache.aries.blueprint.jaxb; import java.math.BigInteger; import java.util.HashMap; import java.util.List; import java.util.Map; 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.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; 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; import javax.xml.namespace.QName; /** * <p>Java class for Tblueprint complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Tblueprint"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="description" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tdescription" minOccurs="0"/> * <element name="type-converters" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Ttype-converters" minOccurs="0"/> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="service" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tservice"/> * <element name="reference-list" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Treference-list"/> * <element name="bean" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tbean"/> * <element name="reference" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Treference"/> * <any/> * </choice> * </sequence> * <attribute name="default-activation" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tactivation" default="eager" /> * <attribute name="default-timeout" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Ttimeout" default="300000" /> * <attribute name="default-availability" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tavailability" default="mandatory" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Tblueprint", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = { "description", "typeConverters", "serviceOrReferenceListOrBean" }) @XmlRootElement(name = "blueprint") public class Tblueprint { protected Tdescription description; @XmlElement(name = "type-converters") protected TtypeConverters typeConverters; @XmlElementRefs({ @XmlElementRef(name = "reference", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", type = JAXBElement.class), @XmlElementRef(name = "bean", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", type = JAXBElement.class), @XmlElementRef(name = "reference-list", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", type = JAXBElement.class), @XmlElementRef(name = "service", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", type = JAXBElement.class) }) @XmlAnyElement(lax = true) protected List<Object> serviceOrReferenceListOrBean = new Vector<Object>(); @XmlAttribute(name = "default-activation") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String defaultActivation; @XmlAttribute(name = "default-timeout") protected BigInteger defaultTimeout; @XmlAttribute(name = "default-availability") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String defaultAvailability; @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * 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 typeConverters property. * * @return * possible object is * {@link TtypeConverters } * */ public TtypeConverters getTypeConverters() { if (typeConverters == null) { typeConverters = new TtypeConverters(); } return typeConverters; } /** * Sets the value of the typeConverters property. * * @param value * allowed object is * {@link TtypeConverters } * */ public void setTypeConverters(TtypeConverters value) { this.typeConverters = value; } /** * Gets the value of the serviceOrReferenceListOrBean 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 serviceOrReferenceListOrBean property. * * <p> * For example, to add a new item, do as follows: * <pre> * getServiceOrReferenceListOrBean().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link Treference }{@code >} * {@link Object } * {@link JAXBElement }{@code <}{@link Tservice }{@code >} * {@link JAXBElement }{@code <}{@link Tbean }{@code >} * {@link JAXBElement }{@code <}{@link TreferenceList }{@code >} * * */ public List<Object> getServiceOrReferenceListOrBean() { if (serviceOrReferenceListOrBean == null) { serviceOrReferenceListOrBean = new Vector<Object>(); } return this.serviceOrReferenceListOrBean; } /** * Gets the value of the defaultActivation property. * * @return * possible object is * {@link String } * */ public String getDefaultActivation() { if (defaultActivation == null) { return "eager"; } else { return defaultActivation; } } /** * Sets the value of the defaultActivation property. * * @param value * allowed object is * {@link String } * */ public void setDefaultActivation(String value) { this.defaultActivation = value; } /** * Gets the value of the defaultTimeout property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getDefaultTimeout() { if (defaultTimeout == null) { return new BigInteger("300000"); } else { return defaultTimeout; } } /** * Sets the value of the defaultTimeout property. * * @param value * allowed object is * {@link BigInteger } * */ public void setDefaultTimeout(BigInteger value) { this.defaultTimeout = value; } /** * Gets the value of the defaultAvailability property. * * @return * possible object is * {@link String } * */ public String getDefaultAvailability() { if (defaultAvailability == null) { return "mandatory"; } else { return defaultAvailability; } } /** * Sets the value of the defaultAvailability property. * * @param value * allowed object is * {@link String } * */ public void setDefaultAvailability(String value) { this.defaultAvailability = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * * <p> * the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } }