org.apache.aries.blueprint.jaxb.TserviceReference 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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
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.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*
* TserviceReference is the base element type used for
* and elements. This type defines all of the
* characteristics common to both sorts of references.
*
*
*
* Java class for TserviceReference complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TserviceReference">
* <complexContent>
* <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tcomponent">
* <sequence>
* <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GserviceReferenceElements"/>
* </sequence>
* <attribute name="interface" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tclass" />
* <attribute name="filter" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* <attribute name="component-name" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
* <attribute name="availability" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tavailability" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TserviceReference", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
"description",
"referenceListener"
})
@XmlSeeAlso({
TreferenceList.class,
Treference.class
})
@XmlRootElement(name = "serviceReference")
public class TserviceReference
extends Tcomponent
{
protected Tdescription description;
@XmlElement(name = "reference-listener")
protected List referenceListener = new Vector();
@XmlAttribute(name = "interface")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String _interface;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String filter;
@XmlAttribute(name = "component-name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String componentName;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String availability;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link Tdescription }
*
*/
public Tdescription getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link Tdescription }
*
*/
public void setDescription(Tdescription value) {
this.description = value;
}
/**
* Gets the value of the referenceListener 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 referenceListener property.
*
*
* For example, to add a new item, do as follows:
*
* getReferenceListener().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TreferenceListener }
*
*
*/
public List getReferenceListener() {
if (referenceListener == null) {
referenceListener = new Vector();
}
return this.referenceListener;
}
/**
* Gets the value of the interface property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInterface() {
return _interface;
}
/**
* Sets the value of the interface property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInterface(String value) {
this._interface = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the componentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComponentName() {
return componentName;
}
/**
* Sets the value of the componentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComponentName(String value) {
this.componentName = value;
}
/**
* Gets the value of the availability property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAvailability() {
return availability;
}
/**
* Sets the value of the availability property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAvailability(String value) {
this.availability = value;
}
}