org.apache.aries.blueprint.jaxb
Class Treference

java.lang.Object
  extended by org.apache.aries.blueprint.jaxb.Tcomponent
      extended by org.apache.aries.blueprint.jaxb.TserviceReference
          extended by org.apache.aries.blueprint.jaxb.Treference
Direct Known Subclasses:
TinlinedReference

public class Treference
extends TserviceReference

The Treference type defines the element. These are instances of the TserviceReference type, with the addition of a timeout attribute. If the timeout is not specified, the default-timeout value is inherited from the encapsulating definition.

Java class for Treference complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Treference">
   <complexContent>
     <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TserviceReference">
       <sequence>
         <any/>
       </sequence>
       <attribute name="timeout" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Ttimeout" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.math.BigInteger timeout
           
 
Fields inherited from class org.apache.aries.blueprint.jaxb.TserviceReference
_interface, availability, componentName, description, filter, referenceListener
 
Fields inherited from class org.apache.aries.blueprint.jaxb.Tcomponent
activation, dependsOn, id
 
Constructor Summary
Treference()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.math.BigInteger getTimeout()
          Gets the value of the timeout property.
 void setTimeout(java.math.BigInteger value)
          Sets the value of the timeout property.
 
Methods inherited from class org.apache.aries.blueprint.jaxb.TserviceReference
getAvailability, getComponentName, getDescription, getFilter, getInterface, getReferenceListener, setAvailability, setComponentName, setDescription, setFilter, setInterface
 
Methods inherited from class org.apache.aries.blueprint.jaxb.Tcomponent
getActivation, getDependsOn, getId, setActivation, setDependsOn, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected java.util.List<java.lang.Object> any

timeout

protected java.math.BigInteger timeout
Constructor Detail

Treference

public Treference()
Method Detail

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object


getTimeout

public java.math.BigInteger getTimeout()
Gets the value of the timeout property.

Returns:
possible object is BigInteger

setTimeout

public void setTimeout(java.math.BigInteger value)
Sets the value of the timeout property.

Parameters:
value - allowed object is BigInteger


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