org.apache.aries.blueprint.jaxb
Class Tcomponent

java.lang.Object
  extended by org.apache.aries.blueprint.jaxb.Tcomponent
Direct Known Subclasses:
Tbean, Tservice, TserviceReference

public abstract class Tcomponent
extends java.lang.Object

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>
 


Field Summary
protected  java.lang.String activation
           
protected  java.util.List<java.lang.String> dependsOn
           
protected  java.lang.String id
           
 
Constructor Summary
Tcomponent()
           
 
Method Summary
 java.lang.String getActivation()
          Gets the value of the activation property.
 java.util.List<java.lang.String> getDependsOn()
          Gets the value of the dependsOn property.
 java.lang.String getId()
          Gets the value of the id property.
 void setActivation(java.lang.String value)
          Sets the value of the activation property.
 void setDependsOn(java.util.List<java.lang.String> dependsOn)
           
 void setId(java.lang.String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.String id

activation

protected java.lang.String activation

dependsOn

protected java.util.List<java.lang.String> dependsOn
Constructor Detail

Tcomponent

public Tcomponent()
Method Detail

getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getActivation

public java.lang.String getActivation()
Gets the value of the activation property.

Returns:
possible object is String

setActivation

public void setActivation(java.lang.String value)
Sets the value of the activation property.

Parameters:
value - allowed object is String

getDependsOn

public java.util.List<java.lang.String> getDependsOn()
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 String


setDependsOn

public void setDependsOn(java.util.List<java.lang.String> dependsOn)


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.