org.apache.cxf.transport.jms.JMSMessageHeadersType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.02.05 at 01:57:18 PM EST
//
package org.apache.cxf.transport.jms;
import java.util.ArrayList;
import java.util.List;
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.XmlType;
/**
* JMS header properties.
*
* Java class for JMSMessageHeadersType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="JMSMessageHeadersType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="property" type="{http://cxf.apache.org/transports/jms}JMSPropertyType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="JMSCorrelationID" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="JMSDeliveryMode" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="JMSExpiration" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="JMSMessageID" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="JMSPriority" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="JMSRedelivered" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="JMSTimeStamp" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="JMSType" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="TimeToLive" type="{http://www.w3.org/2001/XMLSchema}long" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JMSMessageHeadersType", propOrder = {
"property"
})
public class JMSMessageHeadersType {
@XmlElement(namespace = "http://cxf.apache.org/transports/jms", required = true)
protected List property;
@XmlAttribute(name = "JMSCorrelationID")
protected String jmsCorrelationID;
@XmlAttribute(name = "JMSDeliveryMode")
protected Integer jmsDeliveryMode;
@XmlAttribute(name = "JMSExpiration")
protected Long jmsExpiration;
@XmlAttribute(name = "JMSMessageID")
protected String jmsMessageID;
@XmlAttribute(name = "JMSPriority")
protected Integer jmsPriority;
@XmlAttribute(name = "JMSRedelivered")
protected Boolean jmsRedelivered;
@XmlAttribute(name = "JMSTimeStamp")
protected Long jmsTimeStamp;
@XmlAttribute(name = "JMSType")
protected String jmsType;
@XmlAttribute(name = "TimeToLive")
protected Long timeToLive;
/**
* Gets the value of the property 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 property property.
*
*
* For example, to add a new item, do as follows:
*
* getProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JMSPropertyType }
*
*
*/
public List getProperty() {
if (property == null) {
property = new ArrayList();
}
return this.property;
}
public boolean isSetProperty() {
return ((this.property!= null)&&(!this.property.isEmpty()));
}
public void unsetProperty() {
this.property = null;
}
/**
* Gets the value of the jmsCorrelationID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJMSCorrelationID() {
return jmsCorrelationID;
}
/**
* Sets the value of the jmsCorrelationID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJMSCorrelationID(String value) {
this.jmsCorrelationID = value;
}
public boolean isSetJMSCorrelationID() {
return (this.jmsCorrelationID!= null);
}
/**
* Gets the value of the jmsDeliveryMode property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getJMSDeliveryMode() {
return jmsDeliveryMode;
}
/**
* Sets the value of the jmsDeliveryMode property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setJMSDeliveryMode(int value) {
this.jmsDeliveryMode = value;
}
public boolean isSetJMSDeliveryMode() {
return (this.jmsDeliveryMode!= null);
}
public void unsetJMSDeliveryMode() {
this.jmsDeliveryMode = null;
}
/**
* Gets the value of the jmsExpiration property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getJMSExpiration() {
return jmsExpiration;
}
/**
* Sets the value of the jmsExpiration property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setJMSExpiration(long value) {
this.jmsExpiration = value;
}
public boolean isSetJMSExpiration() {
return (this.jmsExpiration!= null);
}
public void unsetJMSExpiration() {
this.jmsExpiration = null;
}
/**
* Gets the value of the jmsMessageID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJMSMessageID() {
return jmsMessageID;
}
/**
* Sets the value of the jmsMessageID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJMSMessageID(String value) {
this.jmsMessageID = value;
}
public boolean isSetJMSMessageID() {
return (this.jmsMessageID!= null);
}
/**
* Gets the value of the jmsPriority property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getJMSPriority() {
return jmsPriority;
}
/**
* Sets the value of the jmsPriority property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setJMSPriority(int value) {
this.jmsPriority = value;
}
public boolean isSetJMSPriority() {
return (this.jmsPriority!= null);
}
public void unsetJMSPriority() {
this.jmsPriority = null;
}
/**
* Gets the value of the jmsRedelivered property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isJMSRedelivered() {
return jmsRedelivered;
}
/**
* Sets the value of the jmsRedelivered property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setJMSRedelivered(boolean value) {
this.jmsRedelivered = value;
}
public boolean isSetJMSRedelivered() {
return (this.jmsRedelivered!= null);
}
public void unsetJMSRedelivered() {
this.jmsRedelivered = null;
}
/**
* Gets the value of the jmsTimeStamp property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getJMSTimeStamp() {
return jmsTimeStamp;
}
/**
* Sets the value of the jmsTimeStamp property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setJMSTimeStamp(long value) {
this.jmsTimeStamp = value;
}
public boolean isSetJMSTimeStamp() {
return (this.jmsTimeStamp!= null);
}
public void unsetJMSTimeStamp() {
this.jmsTimeStamp = null;
}
/**
* Gets the value of the jmsType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getJMSType() {
return jmsType;
}
/**
* Sets the value of the jmsType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setJMSType(String value) {
this.jmsType = value;
}
public boolean isSetJMSType() {
return (this.jmsType!= null);
}
/**
* Gets the value of the timeToLive property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getTimeToLive() {
return timeToLive;
}
/**
* Sets the value of the timeToLive property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setTimeToLive(long value) {
this.timeToLive = value;
}
public boolean isSetTimeToLive() {
return (this.timeToLive!= null);
}
public void unsetTimeToLive() {
this.timeToLive = null;
}
}