org.apache.aries.blueprint.jaxb.Tcomponent Maven / Gradle / Ivy
Show all versions of org.apache.aries.blueprint.annotation.impl Show documentation
//
// 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.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 , ,
* and 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.
*
*
*
* Java class for Tcomponent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
*
*
*
*/
@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 dependsOn = new Vector();
/**
* 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.
*
*
* 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 dependsOn property.
*
*
* For example, to add a new item, do as follows:
*
* getDependsOn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getDependsOn() {
//if (dependsOn == null) {
// dependsOn = new Vector();
//}
return this.dependsOn;
}
public void setDependsOn(List dependsOn) {
this.dependsOn = dependsOn;
}
}