org.apache.cxf.transport.jms.ServerBehaviorPolicyType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.05.30 at 09:58:39 AM EDT
//
package org.apache.cxf.transport.jms;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import org.apache.cxf.wsdl.TExtensibilityElementImpl;
/**
* JMS configuration policy for CXF Server.
* These are used for configuring JMS port on CXF server side.
*
*
* Sets selection criteria for messages received by server
*
* Java class for ServerBehaviorPolicyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ServerBehaviorPolicyType">
* <complexContent>
* <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
* <attribute name="messageSelector" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="useMessageIDAsCorrelationID" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" />
* <attribute name="transactional" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" />
* <attribute name="durableSubscriberName" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ServerBehaviorPolicyType")
public class ServerBehaviorPolicyType
extends TExtensibilityElementImpl
{
@XmlAttribute(name = "messageSelector")
protected String messageSelector;
@XmlAttribute(name = "useMessageIDAsCorrelationID")
protected Boolean useMessageIDAsCorrelationID;
@XmlAttribute(name = "transactional")
protected Boolean transactional;
@XmlAttribute(name = "durableSubscriberName")
protected String durableSubscriberName;
/**
* Gets the value of the messageSelector property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessageSelector() {
return messageSelector;
}
/**
* Sets the value of the messageSelector property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessageSelector(String value) {
this.messageSelector = value;
}
public boolean isSetMessageSelector() {
return (this.messageSelector!= null);
}
/**
* Gets the value of the durableSubscriberName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDurableSubscriberName() {
return durableSubscriberName;
}
/**
* Sets the value of the durableSubscriberName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDurableSubscriberName(String value) {
this.durableSubscriberName = value;
}
public boolean isSetDurableSubscriberName() {
return (this.durableSubscriberName!= null);
}
/**
* Sets the value of the useMessageIDAsCorrelationID property.
*
*/
public void setUseMessageIDAsCorrelationID(boolean value) {
useMessageIDAsCorrelationID = value;
}
public void unsetUseMessageIDAsCorrelationID() {
useMessageIDAsCorrelationID = null;
}
public boolean isSetUseMessageIDAsCorrelationID() {
return (this.useMessageIDAsCorrelationID!= null);
}
/**
* Gets the value of the useMessageIDAsCorrelationID property.
*
*/
public boolean isUseMessageIDAsCorrelationID() {
if (null == useMessageIDAsCorrelationID) {
return false;
}
return useMessageIDAsCorrelationID;
}
/**
* Sets the value of the transactional property.
*
*/
public void setTransactional(boolean value) {
transactional = value;
}
public void unsetTransactional() {
transactional = null;
}
public boolean isSetTransactional() {
return (this.transactional!= null);
}
/**
* Gets the value of the transactional property.
*
*/
public boolean isTransactional() {
if (null == transactional) {
return false;
}
return transactional;
}
}