//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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: 2015.11.05 at 05:47:27 PM CET
//
package org.springframework.ide.eclipse.osgi.blueprint.internal.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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3c.dom.Element;
/**
*
*
* 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", propOrder = { "bean", "reference", "targetRef", "any" })
public class TreferenceListener {
protected TinlinedBean bean;
protected TinlinedReference reference;
@XmlElement(name = "ref")
protected Tref targetRef;
@XmlAnyElement(lax = true)
protected Object any;
@XmlAttribute(name = "ref")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String ref;
@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 targetRef property.
*
* @return possible object is {@link Tref }
*
*/
public Tref getTargetRef() {
return targetRef;
}
/**
* Sets the value of the targetRef property.
*
* @param value
* allowed object is {@link Tref }
*
*/
public void setTargetRef(Tref value) {
this.targetRef = value;
}
/**
* Gets the value of the any property.
*
* @return possible object is {@link Element } {@link Object }
*
*/
public Object getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value
* allowed object is {@link Element } {@link Object }
*
*/
public void setAny(Object value) {
this.any = value;
}
/**
* Gets the value of the ref property.
*
* @return possible object is {@link String }
*
*/
public String getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setRef(String value) {
this.ref = 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;
}
}