You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by zo...@apache.org on 2011/02/27 22:05:20 UTC
svn commit: r1075147 [4/23] - in /aries/tags/blueprint-0.3: ./
blueprint-annotation-api/ blueprint-annotation-api/src/
blueprint-annotation-api/src/main/ blueprint-annotation-api/src/main/java/
blueprint-annotation-api/src/main/java/org/ blueprint-anno...
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TmapEntry.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TmapEntry.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TmapEntry.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TmapEntry.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,567 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+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;
+
+
+/**
+ *
+ *
+ * TmapEntry is used for <entry> elements nested inside of a <map> element.
+ * Each <entry> instance defines a key/value pair that will be added to the
+ * Map. Both the keys and values may be arbitrary types. Keys must not
+ * be <null> but <null> is permitted for entry values. A default type
+ * can be specified for both the keys and the values, but individual keys
+ * or values can override the default.
+ *
+ *
+ *
+ * <p>Java class for TmapEntry complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TmapEntry">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="key" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tkey" minOccurs="0"/>
+ * <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Gvalue" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="key" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TstringValue" />
+ * <attribute name="key-ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * <attribute name="value" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TstringValue" />
+ * <attribute name="value-ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TmapEntry", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "keyAttribute",
+ "service",
+ "referenceList",
+ "bean",
+ "reference",
+ "ref",
+ "any",
+ "idref",
+ "value",
+ "list",
+ "set",
+ "map",
+ "array",
+ "props",
+ "_null"
+})
+@XmlRootElement(name = "mapEntry")
+public class TmapEntry {
+
+ @XmlElement(name = "key")
+ protected Tkey keyAttribute;
+ protected TinlinedService service;
+ @XmlElement(name = "reference-list")
+ protected TinlinedReferenceList referenceList;
+ protected TinlinedBean bean;
+ protected TinlinedReference reference;
+ protected Tref ref;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ protected Tref idref;
+ protected Tvalue value;
+ protected Tcollection list;
+ protected Tcollection set;
+ protected Tmap map;
+ protected Tcollection array;
+ protected Tprops props;
+ @XmlElement(name = "null")
+ protected Tnull _null;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String key;
+ @XmlAttribute(name = "key-ref")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String keyRef;
+ @XmlAttribute(name = "value")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String valueAttribute;
+ @XmlAttribute(name = "value-ref")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String valueRef;
+
+ /**
+ * Gets the value of the keyAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link Tkey }
+ *
+ */
+ public Tkey getKeyAttribute() {
+ return keyAttribute;
+ }
+
+ /**
+ * Sets the value of the keyAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tkey }
+ *
+ */
+ public void setKeyAttribute(Tkey value) {
+ this.keyAttribute = value;
+ }
+
+ /**
+ * Gets the value of the service property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedService }
+ *
+ */
+ public TinlinedService getService() {
+ return service;
+ }
+
+ /**
+ * Sets the value of the service property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedService }
+ *
+ */
+ public void setService(TinlinedService value) {
+ this.service = value;
+ }
+
+ /**
+ * Gets the value of the referenceList property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReferenceList }
+ *
+ */
+ public TinlinedReferenceList getReferenceList() {
+ return referenceList;
+ }
+
+ /**
+ * Sets the value of the referenceList property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReferenceList }
+ *
+ */
+ public void setReferenceList(TinlinedReferenceList value) {
+ this.referenceList = value;
+ }
+
+ /**
+ * Gets the value of the bean property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedBean }
+ *
+ */
+ public TinlinedBean getBean() {
+ return bean;
+ }
+
+ /**
+ * Sets the value of the bean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedBean }
+ *
+ */
+ public void setBean(TinlinedBean value) {
+ this.bean = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReference }
+ *
+ */
+ public TinlinedReference getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReference }
+ *
+ */
+ public void setReference(TinlinedReference value) {
+ this.reference = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setRef(Tref value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setIdref(Tref value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link Tvalue }
+ *
+ */
+ public Tvalue getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tvalue }
+ *
+ */
+ public void setValue(Tvalue value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the list property.
+ *
+ * @return
+ * possible object is
+ * {@link Tcollection }
+ *
+ */
+ public Tcollection getList() {
+ return list;
+ }
+
+ /**
+ * Sets the value of the list property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tcollection }
+ *
+ */
+ public void setList(Tcollection value) {
+ this.list = value;
+ }
+
+ /**
+ * Gets the value of the set property.
+ *
+ * @return
+ * possible object is
+ * {@link Tcollection }
+ *
+ */
+ public Tcollection getSet() {
+ return set;
+ }
+
+ /**
+ * Sets the value of the set property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tcollection }
+ *
+ */
+ public void setSet(Tcollection value) {
+ this.set = value;
+ }
+
+ /**
+ * Gets the value of the map property.
+ *
+ * @return
+ * possible object is
+ * {@link Tmap }
+ *
+ */
+ public Tmap getMap() {
+ return map;
+ }
+
+ /**
+ * Sets the value of the map property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tmap }
+ *
+ */
+ public void setMap(Tmap value) {
+ this.map = value;
+ }
+
+ /**
+ * Gets the value of the array property.
+ *
+ * @return
+ * possible object is
+ * {@link Tcollection }
+ *
+ */
+ public Tcollection getArray() {
+ return array;
+ }
+
+ /**
+ * Sets the value of the array property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tcollection }
+ *
+ */
+ public void setArray(Tcollection value) {
+ this.array = value;
+ }
+
+ /**
+ * Gets the value of the props property.
+ *
+ * @return
+ * possible object is
+ * {@link Tprops }
+ *
+ */
+ public Tprops getProps() {
+ return props;
+ }
+
+ /**
+ * Sets the value of the props property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tprops }
+ *
+ */
+ public void setProps(Tprops value) {
+ this.props = value;
+ }
+
+ /**
+ * Gets the value of the null property.
+ *
+ * @return
+ * possible object is
+ * {@link Tnull }
+ *
+ */
+ public Tnull getNull() {
+ return _null;
+ }
+
+ /**
+ * Sets the value of the null property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tnull }
+ *
+ */
+ public void setNull(Tnull value) {
+ this._null = value;
+ }
+
+ /**
+ * Gets the value of the key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the keyRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKeyRef() {
+ return keyRef;
+ }
+
+ /**
+ * Sets the value of the keyRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKeyRef(String value) {
+ this.keyRef = value;
+ }
+
+ /**
+ * Gets the value of the valueAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValueAttribute() {
+ return valueAttribute;
+ }
+
+ /**
+ * Sets the value of the valueAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValueAttribute(String value) {
+ this.valueAttribute = value;
+ }
+
+ /**
+ * Gets the value of the valueRef property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValueRef() {
+ return valueRef;
+ }
+
+ /**
+ * Sets the value of the valueRef property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValueRef(String value) {
+ this.valueRef = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tnull.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tnull.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tnull.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tnull.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,43 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * The definition for a <null> value type.
+ *
+ *
+ *
+ * <p>Java class for Tnull complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Tnull">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Tnull", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0")
+public class Tnull {
+
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprop.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprop.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprop.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprop.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,147 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * Tprop is a single property element for a <props> value type. The property
+ * value can be specified using either the attribute, or as value data for
+ * the property element.
+ *
+ *
+ *
+ * <p>Java class for Tprop complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Tprop">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="key" use="required" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TstringValue" />
+ * <attribute name="value" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TstringValue" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Tprop", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "content"
+})
+@XmlRootElement(name = "prop")
+public class Tprop {
+
+ @XmlValue
+ protected String content;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String key;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String value;
+
+ /**
+ *
+ *
+ * Tprop is a single property element for a <props> value type. The property
+ * value can be specified using either the attribute, or as value data for
+ * the property element.
+ *
+ *
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContent() {
+ return content;
+ }
+
+ /**
+ *
+ *
+ * Tprop is a single property element for a <props> value type. The property
+ * value can be specified using either the attribute, or as value data for
+ * the property element.
+ *
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContent(String value) {
+ this.content = value;
+ }
+
+ /**
+ * Gets the value of the key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tproperty.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tproperty.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tproperty.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tproperty.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,540 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+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;
+
+
+/**
+ *
+ *
+ * A property that will be injected into a created <bean>
+ * component. The <property> elements correspond to named
+ * JavaBean setting methods for a created bean object.
+ *
+ * The value and ref attributes are convenience shortcuts to make
+ * the <argument> tag easier to code. A fuller set of injected
+ * values and types can be specified using one of the "value"
+ * type elements.
+ *
+ *
+ *
+ * <p>Java class for Tproperty complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Tproperty">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="description" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tdescription" minOccurs="0"/>
+ * <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Gvalue" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
+ * <attribute name="ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * <attribute name="value" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TstringValue" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Tproperty", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "description",
+ "service",
+ "referenceList",
+ "bean",
+ "reference",
+ "ref",
+ "any",
+ "idref",
+ "value",
+ "list",
+ "set",
+ "map",
+ "array",
+ "props",
+ "_null"
+})
+@XmlRootElement(name = "property")
+public class Tproperty {
+
+ protected Tdescription description;
+ protected TinlinedService service;
+ @XmlElement(name = "reference-list")
+ protected TinlinedReferenceList referenceList;
+ protected TinlinedBean bean;
+ protected TinlinedReference reference;
+ protected Tref ref;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ protected Tref idref;
+ protected Tvalue value;
+ protected Tcollection list;
+ protected Tcollection set;
+ protected Tmap map;
+ protected Tcollection array;
+ protected Tprops props;
+ @XmlElement(name = "null")
+ protected Tnull _null;
+ @XmlAttribute(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String name;
+ @XmlAttribute(name = "ref")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String refAttribute;
+ @XmlAttribute(name = "value")
+ @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
+ protected String valueAttribute;
+
+ /**
+ * 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 service property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedService }
+ *
+ */
+ public TinlinedService getService() {
+ return service;
+ }
+
+ /**
+ * Sets the value of the service property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedService }
+ *
+ */
+ public void setService(TinlinedService value) {
+ this.service = value;
+ }
+
+ /**
+ * Gets the value of the referenceList property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReferenceList }
+ *
+ */
+ public TinlinedReferenceList getReferenceList() {
+ return referenceList;
+ }
+
+ /**
+ * Sets the value of the referenceList property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReferenceList }
+ *
+ */
+ public void setReferenceList(TinlinedReferenceList value) {
+ this.referenceList = value;
+ }
+
+ /**
+ * Gets the value of the bean property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedBean }
+ *
+ */
+ public TinlinedBean getBean() {
+ return bean;
+ }
+
+ /**
+ * Sets the value of the bean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedBean }
+ *
+ */
+ public void setBean(TinlinedBean value) {
+ this.bean = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReference }
+ *
+ */
+ public TinlinedReference getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReference }
+ *
+ */
+ public void setReference(TinlinedReference value) {
+ this.reference = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setRef(Tref value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setIdref(Tref value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link Tvalue }
+ *
+ */
+ public Tvalue getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tvalue }
+ *
+ */
+ public void setValue(Tvalue value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the list property.
+ *
+ * @return
+ * possible object is
+ * {@link Tcollection }
+ *
+ */
+ public Tcollection getList() {
+ return list;
+ }
+
+ /**
+ * Sets the value of the list property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tcollection }
+ *
+ */
+ public void setList(Tcollection value) {
+ this.list = value;
+ }
+
+ /**
+ * Gets the value of the set property.
+ *
+ * @return
+ * possible object is
+ * {@link Tcollection }
+ *
+ */
+ public Tcollection getSet() {
+ return set;
+ }
+
+ /**
+ * Sets the value of the set property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tcollection }
+ *
+ */
+ public void setSet(Tcollection value) {
+ this.set = value;
+ }
+
+ /**
+ * Gets the value of the map property.
+ *
+ * @return
+ * possible object is
+ * {@link Tmap }
+ *
+ */
+ public Tmap getMap() {
+ return map;
+ }
+
+ /**
+ * Sets the value of the map property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tmap }
+ *
+ */
+ public void setMap(Tmap value) {
+ this.map = value;
+ }
+
+ /**
+ * Gets the value of the array property.
+ *
+ * @return
+ * possible object is
+ * {@link Tcollection }
+ *
+ */
+ public Tcollection getArray() {
+ return array;
+ }
+
+ /**
+ * Sets the value of the array property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tcollection }
+ *
+ */
+ public void setArray(Tcollection value) {
+ this.array = value;
+ }
+
+ /**
+ * Gets the value of the props property.
+ *
+ * @return
+ * possible object is
+ * {@link Tprops }
+ *
+ */
+ public Tprops getProps() {
+ return props;
+ }
+
+ /**
+ * Sets the value of the props property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tprops }
+ *
+ */
+ public void setProps(Tprops value) {
+ this.props = value;
+ }
+
+ /**
+ * Gets the value of the null property.
+ *
+ * @return
+ * possible object is
+ * {@link Tnull }
+ *
+ */
+ public Tnull getNull() {
+ return _null;
+ }
+
+ /**
+ * Sets the value of the null property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tnull }
+ *
+ */
+ public void setNull(Tnull value) {
+ this._null = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the refAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRefAttribute() {
+ return refAttribute;
+ }
+
+ /**
+ * Sets the value of the refAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRefAttribute(String value) {
+ this.refAttribute = value;
+ }
+
+ /**
+ * Gets the value of the valueAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValueAttribute() {
+ return valueAttribute;
+ }
+
+ /**
+ * Sets the value of the valueAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValueAttribute(String value) {
+ this.valueAttribute = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprops.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprops.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprops.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tprops.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,83 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * Tprops is the type used by the <props> value element. The prop elements
+ * are pairs of string-valued keys and values.
+ *
+ *
+ *
+ * <p>Java class for Tprops complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Tprops">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="prop" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tprop" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Tprops", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "prop"
+})
+@XmlRootElement(name = "props")
+public class Tprops {
+
+ protected List<Tprop> prop = new Vector<Tprop>();
+
+ /**
+ * Gets the value of the prop 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 prop property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getProp().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Tprop }
+ *
+ *
+ */
+ public List<Tprop> getProp() {
+ if (prop == null) {
+ prop = new Vector<Tprop>();
+ }
+ return this.prop;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tref.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tref.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tref.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tref.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,77 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * Tref is the type used for <ref> elements. This specifies a required
+ * component id for the reference component.
+ *
+ *
+ *
+ * <p>Java class for Tref complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Tref">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="component-id" use="required" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Tref", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0")
+@XmlRootElement(name = "ref")
+public class Tref {
+
+ @XmlAttribute(name = "component-id", required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String componentId;
+
+ /**
+ * Gets the value of the componentId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getComponentId() {
+ return componentId;
+ }
+
+ /**
+ * Sets the value of the componentId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setComponentId(String value) {
+ this.componentId = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Treference.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Treference.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Treference.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Treference.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,123 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import java.math.BigInteger;
+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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * The Treference type defines the <reference> 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
+ * <blueprint> definition.
+ *
+ *
+ *
+ * <p>Java class for Treference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <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>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Treference", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "any"
+})
+@XmlSeeAlso({
+ TinlinedReference.class
+})
+@XmlRootElement(name = "reference")
+public class Treference
+ extends TserviceReference
+{
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any = new Vector<Object>();
+ @XmlAttribute
+ protected BigInteger timeout;
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new Vector<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the timeout property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getTimeout() {
+ return timeout;
+ }
+
+ /**
+ * Sets the value of the timeout property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setTimeout(BigInteger value) {
+ this.timeout = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceList.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceList.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceList.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceList.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,128 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 Treference-list builds in the characteristics of the
+ * TserviceReference type to define characteristics of the
+ * <reference-list>. This adds in the characteristics that
+ * only apply to collections of references (e.g., member-type).
+ *
+ *
+ *
+ * <p>Java class for Treference-list complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Treference-list">
+ * <complexContent>
+ * <extension base="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TserviceReference">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="member-type" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tservice-use" default="service-object" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Treference-list", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "any"
+})
+@XmlSeeAlso({
+ TinlinedReferenceList.class
+})
+@XmlRootElement(name = "reference-list")
+public class TreferenceList
+ extends TserviceReference
+{
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any = new Vector<Object>();
+ @XmlAttribute(name = "member-type")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String memberType;
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new Vector<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the memberType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMemberType() {
+ if (memberType == null) {
+ return "service-object";
+ } else {
+ return memberType;
+ }
+ }
+
+ /**
+ * Sets the value of the memberType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMemberType(String value) {
+ this.memberType = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceListener.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceListener.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceListener.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TreferenceListener.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,246 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * TReferenceListener defines a reference listener that is attached
+ * to a <reference> or <reference-list> element. The listener
+ * object can be specified as a <ref> or as an inline <bean> or
+ * <reference> component. Listener events are mapped to the indicated
+ * bind or unbind methods.
+ *
+ *
+ *
+ * <p>Java class for TreferenceListener complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TreferenceListener">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GtargetComponent" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * <attribute name="bind-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
+ * <attribute name="unbind-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TreferenceListener", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "bean",
+ "reference",
+ "ref",
+ "any"
+})
+@XmlRootElement(name = "referenceListener")
+public class TreferenceListener {
+
+ protected TinlinedBean bean;
+ protected TinlinedReference reference;
+ protected Tref ref;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ @XmlAttribute(name = "ref")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String refAttribute;
+ @XmlAttribute(name = "bind-method")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String bindMethod;
+ @XmlAttribute(name = "unbind-method")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String unbindMethod;
+
+ /**
+ * Gets the value of the bean property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedBean }
+ *
+ */
+ public TinlinedBean getBean() {
+ return bean;
+ }
+
+ /**
+ * Sets the value of the bean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedBean }
+ *
+ */
+ public void setBean(TinlinedBean value) {
+ this.bean = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReference }
+ *
+ */
+ public TinlinedReference getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReference }
+ *
+ */
+ public void setReference(TinlinedReference value) {
+ this.reference = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setRef(Tref value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * Gets the value of the refAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRefAttribute() {
+ return refAttribute;
+ }
+
+ /**
+ * Sets the value of the refAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRefAttribute(String value) {
+ this.refAttribute = value;
+ }
+
+ /**
+ * Gets the value of the bindMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBindMethod() {
+ return bindMethod;
+ }
+
+ /**
+ * Sets the value of the bindMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBindMethod(String value) {
+ this.bindMethod = value;
+ }
+
+ /**
+ * Gets the value of the unbindMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUnbindMethod() {
+ return unbindMethod;
+ }
+
+ /**
+ * Sets the value of the unbindMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUnbindMethod(String value) {
+ this.unbindMethod = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TregistrationListener.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TregistrationListener.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TregistrationListener.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TregistrationListener.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,249 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2010.04.23 at 12:57:08 PM EDT
+//
+
+
+package org.apache.aries.blueprint.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ *
+ *
+ * A registration listener definition. The target registration listener
+ * can be either a <ref> to a <bean> or <service> component, or an inline
+ * <bean> or <service> component definition. The registration-method and
+ * unregistration-method attributes define the methods that will be called
+ * for the respective events.
+ *
+ * For the very common case of using a <ref> to a listener component, the
+ * ref attribute may also be used as a shortcut.
+ *
+ *
+ *
+ * <p>Java class for TregistrationListener complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TregistrationListener">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <group ref="{http://www.osgi.org/xmlns/blueprint/v1.0.0}GtargetComponent" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * <attribute name="registration-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
+ * <attribute name="unregistration-method" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tmethod" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TregistrationListener", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "bean",
+ "reference",
+ "ref",
+ "any"
+})
+@XmlRootElement(name = "registrationListener")
+public class TregistrationListener {
+
+ protected TinlinedBean bean;
+ protected TinlinedReference reference;
+ protected Tref ref;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ @XmlAttribute(name = "ref")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String refAttribute;
+ @XmlAttribute(name = "registration-method")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String registrationMethod;
+ @XmlAttribute(name = "unregistration-method")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String unregistrationMethod;
+
+ /**
+ * Gets the value of the bean property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedBean }
+ *
+ */
+ public TinlinedBean getBean() {
+ return bean;
+ }
+
+ /**
+ * Sets the value of the bean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedBean }
+ *
+ */
+ public void setBean(TinlinedBean value) {
+ this.bean = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReference }
+ *
+ */
+ public TinlinedReference getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReference }
+ *
+ */
+ public void setReference(TinlinedReference value) {
+ this.reference = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setRef(Tref value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * Gets the value of the refAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRefAttribute() {
+ return refAttribute;
+ }
+
+ /**
+ * Sets the value of the refAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRefAttribute(String value) {
+ this.refAttribute = value;
+ }
+
+ /**
+ * Gets the value of the registrationMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRegistrationMethod() {
+ return registrationMethod;
+ }
+
+ /**
+ * Sets the value of the registrationMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRegistrationMethod(String value) {
+ this.registrationMethod = value;
+ }
+
+ /**
+ * Gets the value of the unregistrationMethod property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUnregistrationMethod() {
+ return unregistrationMethod;
+ }
+
+ /**
+ * Sets the value of the unregistrationMethod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUnregistrationMethod(String value) {
+ this.unregistrationMethod = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tservice.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tservice.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tservice.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/Tservice.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,402 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+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;
+
+
+/**
+ *
+ *
+ * Tservice is the type for services exported by this blueprint bundle.
+ * Services are sourced by either a <ref> to a <bean> component or an
+ * <inline> bean component.
+ *
+ *
+ *
+ * <p>Java class for Tservice complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Tservice">
+ * <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}GserviceElements"/>
+ * </sequence>
+ * <attribute name="interface" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tclass" />
+ * <attribute name="ref" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}Tidref" />
+ * <attribute name="auto-export" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TautoExportModes" default="disabled" />
+ * <attribute name="ranking" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "Tservice", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "description",
+ "interfaces",
+ "serviceProperties",
+ "registrationListener",
+ "bean",
+ "reference",
+ "ref",
+ "any"
+})
+@XmlSeeAlso({
+ TinlinedService.class
+})
+@XmlRootElement(name = "service")
+public class Tservice
+ extends Tcomponent
+{
+
+ protected Tdescription description;
+ protected Tinterfaces interfaces;
+ @XmlElement(name = "service-properties")
+ protected TserviceProperties serviceProperties;
+ @XmlElement(name = "registration-listener")
+ protected List<TregistrationListener> registrationListener = new Vector<TregistrationListener>();
+ protected TinlinedBean bean;
+ protected TinlinedReference reference;
+ protected Tref ref;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ @XmlAttribute(name = "interface")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String _interface;
+ @XmlAttribute(name = "ref")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String refAttribute;
+ @XmlAttribute(name = "auto-export")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected String autoExport;
+ @XmlAttribute
+ protected Integer ranking;
+
+ /**
+ * 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 interfaces property.
+ *
+ * @return
+ * possible object is
+ * {@link Tinterfaces }
+ *
+ */
+ public Tinterfaces getInterfaces() {
+ return interfaces;
+ }
+
+ /**
+ * Sets the value of the interfaces property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tinterfaces }
+ *
+ */
+ public void setInterfaces(Tinterfaces value) {
+ this.interfaces = value;
+ }
+
+ /**
+ * Gets the value of the serviceProperties property.
+ *
+ * @return
+ * possible object is
+ * {@link TserviceProperties }
+ *
+ */
+ public TserviceProperties getServiceProperties() {
+ if (serviceProperties == null) {
+ serviceProperties = new TserviceProperties();
+ }
+ return serviceProperties;
+ }
+
+ /**
+ * Sets the value of the serviceProperties property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TserviceProperties }
+ *
+ */
+ public void setServiceProperties(TserviceProperties value) {
+ this.serviceProperties = value;
+ }
+
+ /**
+ * Gets the value of the registrationListener 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 registrationListener property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRegistrationListener().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TregistrationListener }
+ *
+ *
+ */
+ public List<TregistrationListener> getRegistrationListener() {
+ if (registrationListener == null) {
+ registrationListener = new Vector<TregistrationListener>();
+ }
+ return this.registrationListener;
+ }
+
+ /**
+ * Gets the value of the bean property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedBean }
+ *
+ */
+ public TinlinedBean getBean() {
+ return bean;
+ }
+
+ /**
+ * Sets the value of the bean property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedBean }
+ *
+ */
+ public void setBean(TinlinedBean value) {
+ this.bean = value;
+ }
+
+ /**
+ * Gets the value of the reference property.
+ *
+ * @return
+ * possible object is
+ * {@link TinlinedReference }
+ *
+ */
+ public TinlinedReference getReference() {
+ return reference;
+ }
+
+ /**
+ * Sets the value of the reference property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TinlinedReference }
+ *
+ */
+ public void setReference(TinlinedReference value) {
+ this.reference = value;
+ }
+
+ /**
+ * Gets the value of the ref property.
+ *
+ * @return
+ * possible object is
+ * {@link Tref }
+ *
+ */
+ public Tref getRef() {
+ return ref;
+ }
+
+ /**
+ * Sets the value of the ref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Tref }
+ *
+ */
+ public void setRef(Tref value) {
+ this.ref = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * 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 refAttribute property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRefAttribute() {
+ return refAttribute;
+ }
+
+ /**
+ * Sets the value of the refAttribute property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRefAttribute(String value) {
+ this.refAttribute = value;
+ }
+
+ /**
+ * Gets the value of the autoExport property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAutoExport() {
+ if (autoExport == null) {
+ return "disabled";
+ } else {
+ return autoExport;
+ }
+ }
+
+ /**
+ * Sets the value of the autoExport property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAutoExport(String value) {
+ this.autoExport = value;
+ }
+
+ /**
+ * Gets the value of the ranking property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public int getRanking() {
+ if (ranking == null) {
+ return 0;
+ } else {
+ return ranking;
+ }
+ }
+
+ /**
+ * Sets the value of the ranking property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setRanking(Integer value) {
+ this.ranking = value;
+ }
+
+}
Added: aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TserviceProperties.java
URL: http://svn.apache.org/viewvc/aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TserviceProperties.java?rev=1075147&view=auto
==============================================================================
--- aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TserviceProperties.java (added)
+++ aries/tags/blueprint-0.3/blueprint-annotation-impl/src/main/java/org/apache/aries/blueprint/jaxb/TserviceProperties.java Sun Feb 27 21:05:07 2011
@@ -0,0 +1,119 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ *
+ * TserviceProperty is used for <service-properties> elements.
+ * The syntax is similar to what is defined for <map>, but keys must be
+ * string values and there are no type defaults that can be specified.
+ * created from the entry elements, which require a key/value pair.
+ *
+ *
+ *
+ * <p>Java class for TserviceProperties complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TserviceProperties">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="entry" type="{http://www.osgi.org/xmlns/blueprint/v1.0.0}TservicePropertyEntry" maxOccurs="unbounded" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "TserviceProperties", namespace = "http://www.osgi.org/xmlns/blueprint/v1.0.0", propOrder = {
+ "entry",
+ "any"
+})
+@XmlRootElement(name = "serviceProperties")
+public class TserviceProperties {
+
+ protected List<TservicePropertyEntry> entry = new Vector<TservicePropertyEntry>();
+ @XmlAnyElement(lax = true)
+ protected List<Object> any = new Vector<Object>();
+
+ /**
+ * Gets the value of the entry 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 entry property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEntry().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TservicePropertyEntry }
+ *
+ *
+ */
+ public List<TservicePropertyEntry> getEntry() {
+ if (entry == null) {
+ entry = new Vector<TservicePropertyEntry>();
+ }
+ return this.entry;
+ }
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new Vector<Object>();
+ }
+ return this.any;
+ }
+
+}