// // 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.util.ArrayList; import java.util.List; 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") @XmlSeeAlso({ TserviceReference.class, Tbean.class, Tservice.class }) public abstract class Tcomponent { @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "activation") protected Tactivation activation; @XmlAttribute(name = "depends-on") protected List<String> dependsOn; /** * 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 Tactivation } * */ public Tactivation getActivation() { return activation; } /** * Sets the value of the activation property. * * @param value * allowed object is {@link Tactivation } * */ public void setActivation(Tactivation 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 ArrayList<String>(); } return this.dependsOn; } }