// // 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.util.List; import java.util.Vector; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlSchemaType; 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 Tcomponent type is the base type for top-level * Blueprint components. The <bean> <reference>, <service>, * and <reference-list> elements are all derived from * the Tcomponent type. This type defines an id attribute * that is used create references between different components. * Component elements can also be inlined within other component * definitions. The id attribute is not valid when inlined. * * * * <p>Java class for Tcomponent complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Tcomponent"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="activation" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tactivation" /> * <attribute name="depends-on" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TdependsOn" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Tcomponent", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0") @XmlSeeAlso({ Tbean.class, TserviceReference.class, Tservice.class }) public abstract class Tcomponent { @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String activation; @XmlAttribute(name = "depends-on") protected List<String> dependsOn = new Vector<String>(); /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the activation property. * * @return * possible object is * {@link String } * */ public String getActivation() { return activation; } /** * Sets the value of the activation property. * * @param value * allowed object is * {@link String } * */ public void setActivation(String value) { this.activation = value; } /** * Gets the value of the dependsOn 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 dependsOn property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDependsOn().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getDependsOn() { //if (dependsOn == null) { // dependsOn = new Vector<String>(); //} return this.dependsOn; } public void setDependsOn(List<String> dependsOn) { this.dependsOn = dependsOn; } }