org.apache.cxf.transport.jms
Class JMSMessageHeadersType

java.lang.Object
  extended by org.apache.cxf.transport.jms.JMSMessageHeadersType

public class JMSMessageHeadersType
extends java.lang.Object

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>
 


Field Summary
protected  java.lang.String jmsCorrelationID
           
protected  java.lang.Integer jmsDeliveryMode
           
protected  java.lang.Long jmsExpiration
           
protected  java.lang.String jmsMessageID
           
protected  java.lang.Integer jmsPriority
           
protected  java.lang.Boolean jmsRedelivered
           
protected  java.lang.Long jmsTimeStamp
           
protected  java.lang.String jmsType
           
protected  java.util.List<JMSPropertyType> property
           
protected  java.lang.Long timeToLive
           
 
Constructor Summary
JMSMessageHeadersType()
           
 
Method Summary
 java.lang.String getJMSCorrelationID()
          Gets the value of the jmsCorrelationID property.
 int getJMSDeliveryMode()
          Gets the value of the jmsDeliveryMode property.
 long getJMSExpiration()
          Gets the value of the jmsExpiration property.
 java.lang.String getJMSMessageID()
          Gets the value of the jmsMessageID property.
 int getJMSPriority()
          Gets the value of the jmsPriority property.
 long getJMSTimeStamp()
          Gets the value of the jmsTimeStamp property.
 java.lang.String getJMSType()
          Gets the value of the jmsType property.
 java.util.List<JMSPropertyType> getProperty()
          Gets the value of the property property.
 long getTimeToLive()
          Gets the value of the timeToLive property.
 boolean isJMSRedelivered()
          Gets the value of the jmsRedelivered property.
 boolean isSetJMSCorrelationID()
           
 boolean isSetJMSDeliveryMode()
           
 boolean isSetJMSExpiration()
           
 boolean isSetJMSMessageID()
           
 boolean isSetJMSPriority()
           
 boolean isSetJMSRedelivered()
           
 boolean isSetJMSTimeStamp()
           
 boolean isSetJMSType()
           
 boolean isSetProperty()
           
 boolean isSetTimeToLive()
           
 void setJMSCorrelationID(java.lang.String value)
          Sets the value of the jmsCorrelationID property.
 void setJMSDeliveryMode(int value)
          Sets the value of the jmsDeliveryMode property.
 void setJMSExpiration(long value)
          Sets the value of the jmsExpiration property.
 void setJMSMessageID(java.lang.String value)
          Sets the value of the jmsMessageID property.
 void setJMSPriority(int value)
          Sets the value of the jmsPriority property.
 void setJMSRedelivered(boolean value)
          Sets the value of the jmsRedelivered property.
 void setJMSTimeStamp(long value)
          Sets the value of the jmsTimeStamp property.
 void setJMSType(java.lang.String value)
          Sets the value of the jmsType property.
 void setTimeToLive(long value)
          Sets the value of the timeToLive property.
 void unsetJMSDeliveryMode()
           
 void unsetJMSExpiration()
           
 void unsetJMSPriority()
           
 void unsetJMSRedelivered()
           
 void unsetJMSTimeStamp()
           
 void unsetProperty()
           
 void unsetTimeToLive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

property

protected java.util.List<JMSPropertyType> property

jmsCorrelationID

protected java.lang.String jmsCorrelationID

jmsDeliveryMode

protected java.lang.Integer jmsDeliveryMode

jmsExpiration

protected java.lang.Long jmsExpiration

jmsMessageID

protected java.lang.String jmsMessageID

jmsPriority

protected java.lang.Integer jmsPriority

jmsRedelivered

protected java.lang.Boolean jmsRedelivered

jmsTimeStamp

protected java.lang.Long jmsTimeStamp

jmsType

protected java.lang.String jmsType

timeToLive

protected java.lang.Long timeToLive
Constructor Detail

JMSMessageHeadersType

public JMSMessageHeadersType()
Method Detail

getProperty

public java.util.List<JMSPropertyType> getProperty()
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 JMSPropertyType


isSetProperty

public boolean isSetProperty()

unsetProperty

public void unsetProperty()

getJMSCorrelationID

public java.lang.String getJMSCorrelationID()
Gets the value of the jmsCorrelationID property.

Returns:
possible object is String

setJMSCorrelationID

public void setJMSCorrelationID(java.lang.String value)
Sets the value of the jmsCorrelationID property.

Parameters:
value - allowed object is String

isSetJMSCorrelationID

public boolean isSetJMSCorrelationID()

getJMSDeliveryMode

public int getJMSDeliveryMode()
Gets the value of the jmsDeliveryMode property.

Returns:
possible object is Integer

setJMSDeliveryMode

public void setJMSDeliveryMode(int value)
Sets the value of the jmsDeliveryMode property.

Parameters:
value - allowed object is Integer

isSetJMSDeliveryMode

public boolean isSetJMSDeliveryMode()

unsetJMSDeliveryMode

public void unsetJMSDeliveryMode()

getJMSExpiration

public long getJMSExpiration()
Gets the value of the jmsExpiration property.

Returns:
possible object is Long

setJMSExpiration

public void setJMSExpiration(long value)
Sets the value of the jmsExpiration property.

Parameters:
value - allowed object is Long

isSetJMSExpiration

public boolean isSetJMSExpiration()

unsetJMSExpiration

public void unsetJMSExpiration()

getJMSMessageID

public java.lang.String getJMSMessageID()
Gets the value of the jmsMessageID property.

Returns:
possible object is String

setJMSMessageID

public void setJMSMessageID(java.lang.String value)
Sets the value of the jmsMessageID property.

Parameters:
value - allowed object is String

isSetJMSMessageID

public boolean isSetJMSMessageID()

getJMSPriority

public int getJMSPriority()
Gets the value of the jmsPriority property.

Returns:
possible object is Integer

setJMSPriority

public void setJMSPriority(int value)
Sets the value of the jmsPriority property.

Parameters:
value - allowed object is Integer

isSetJMSPriority

public boolean isSetJMSPriority()

unsetJMSPriority

public void unsetJMSPriority()

isJMSRedelivered

public boolean isJMSRedelivered()
Gets the value of the jmsRedelivered property.

Returns:
possible object is Boolean

setJMSRedelivered

public void setJMSRedelivered(boolean value)
Sets the value of the jmsRedelivered property.

Parameters:
value - allowed object is Boolean

isSetJMSRedelivered

public boolean isSetJMSRedelivered()

unsetJMSRedelivered

public void unsetJMSRedelivered()

getJMSTimeStamp

public long getJMSTimeStamp()
Gets the value of the jmsTimeStamp property.

Returns:
possible object is Long

setJMSTimeStamp

public void setJMSTimeStamp(long value)
Sets the value of the jmsTimeStamp property.

Parameters:
value - allowed object is Long

isSetJMSTimeStamp

public boolean isSetJMSTimeStamp()

unsetJMSTimeStamp

public void unsetJMSTimeStamp()

getJMSType

public java.lang.String getJMSType()
Gets the value of the jmsType property.

Returns:
possible object is String

setJMSType

public void setJMSType(java.lang.String value)
Sets the value of the jmsType property.

Parameters:
value - allowed object is String

isSetJMSType

public boolean isSetJMSType()

getTimeToLive

public long getTimeToLive()
Gets the value of the timeToLive property.

Returns:
possible object is Long

setTimeToLive

public void setTimeToLive(long value)
Sets the value of the timeToLive property.

Parameters:
value - allowed object is Long

isSetTimeToLive

public boolean isSetTimeToLive()

unsetTimeToLive

public void unsetTimeToLive()


Apache CXF