com.caucho.amqp.marshal
Class AmqpEnvelopeImpl

java.lang.Object
  extended by com.caucho.amqp.marshal.AmqpEnvelopeImpl
All Implemented Interfaces:
AmqpEnvelope

public class AmqpEnvelopeImpl
extends java.lang.Object
implements AmqpEnvelope

Envelope for the amqp value.


Constructor Summary
AmqpEnvelopeImpl()
           
 
Method Summary
 java.lang.String getContentEncoding()
           
 java.lang.String getContentType()
           
 java.lang.Object getCorrelationId()
           
 long getCreationTime()
           
 java.lang.Object getDeliveryAnnotation(java.lang.String name)
           
 java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getDeliveryAnnotations()
           
 long getExpiryTime()
           
 java.lang.Object getFooter(java.lang.String name)
           
 java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getFooters()
           
 java.lang.String getGroupId()
           
 long getGroupSequence()
           
 java.lang.Object getMessageAnnotation(java.lang.String name)
           
 java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getMessageAnnotations()
           
 java.lang.Object getMessageId()
           
 java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getProperties()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String getReplyTo()
           
 java.lang.String getReplyToGroupId()
           
 java.lang.String getSubject()
           
 java.lang.String getTo()
           
 java.lang.String getUserId()
           
 java.lang.Object getValue()
           
 void setContentEncoding(java.lang.String value)
           
 void setContentType(java.lang.String value)
           
 void setCorrelationId(java.lang.Object value)
           
 void setCreationTime(long value)
           
 void setDeliveryAnnotation(java.lang.String name, java.lang.Object value)
           
 void setExpiryTime(long value)
           
 void setFooter(java.lang.String name, java.lang.Object value)
           
 void setGroupId(java.lang.String value)
           
 void setGroupSequence(long value)
           
 void setMessageAnnotation(java.lang.String name, java.lang.Object value)
           
 void setMessageId(java.lang.Object messageId)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setReplyTo(java.lang.String value)
           
 void setReplyToGroupId(java.lang.String value)
           
 void setSubject(java.lang.String subject)
           
 void setTo(java.lang.String value)
           
 void setUserId(java.lang.String value)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmqpEnvelopeImpl

public AmqpEnvelopeImpl()
Method Detail

getDeliveryAnnotation

public java.lang.Object getDeliveryAnnotation(java.lang.String name)
Specified by:
getDeliveryAnnotation in interface AmqpEnvelope

setDeliveryAnnotation

public void setDeliveryAnnotation(java.lang.String name,
                                  java.lang.Object value)

getDeliveryAnnotations

public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getDeliveryAnnotations()
Specified by:
getDeliveryAnnotations in interface AmqpEnvelope

getMessageAnnotation

public java.lang.Object getMessageAnnotation(java.lang.String name)
Specified by:
getMessageAnnotation in interface AmqpEnvelope

setMessageAnnotation

public void setMessageAnnotation(java.lang.String name,
                                 java.lang.Object value)

getMessageAnnotations

public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getMessageAnnotations()
Specified by:
getMessageAnnotations in interface AmqpEnvelope

setMessageId

public void setMessageId(java.lang.Object messageId)

getMessageId

public java.lang.Object getMessageId()
Specified by:
getMessageId in interface AmqpEnvelope

setUserId

public void setUserId(java.lang.String value)

getUserId

public java.lang.String getUserId()
Specified by:
getUserId in interface AmqpEnvelope

setTo

public void setTo(java.lang.String value)

getTo

public java.lang.String getTo()
Specified by:
getTo in interface AmqpEnvelope

setSubject

public void setSubject(java.lang.String subject)

getSubject

public java.lang.String getSubject()
Specified by:
getSubject in interface AmqpEnvelope

setReplyTo

public void setReplyTo(java.lang.String value)

getReplyTo

public java.lang.String getReplyTo()
Specified by:
getReplyTo in interface AmqpEnvelope

setCorrelationId

public void setCorrelationId(java.lang.Object value)

getCorrelationId

public java.lang.Object getCorrelationId()
Specified by:
getCorrelationId in interface AmqpEnvelope

setContentType

public void setContentType(java.lang.String value)

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface AmqpEnvelope

setContentEncoding

public void setContentEncoding(java.lang.String value)

getContentEncoding

public java.lang.String getContentEncoding()
Specified by:
getContentEncoding in interface AmqpEnvelope

setExpiryTime

public void setExpiryTime(long value)

getExpiryTime

public long getExpiryTime()
Specified by:
getExpiryTime in interface AmqpEnvelope

setCreationTime

public void setCreationTime(long value)

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface AmqpEnvelope

setGroupId

public void setGroupId(java.lang.String value)

getGroupId

public java.lang.String getGroupId()
Specified by:
getGroupId in interface AmqpEnvelope

setGroupSequence

public void setGroupSequence(long value)

getGroupSequence

public long getGroupSequence()
Specified by:
getGroupSequence in interface AmqpEnvelope

setReplyToGroupId

public void setReplyToGroupId(java.lang.String value)

getReplyToGroupId

public java.lang.String getReplyToGroupId()
Specified by:
getReplyToGroupId in interface AmqpEnvelope

getProperty

public java.lang.Object getProperty(java.lang.String name)
Specified by:
getProperty in interface AmqpEnvelope

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)

getProperties

public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getProperties()
Specified by:
getProperties in interface AmqpEnvelope

setValue

public void setValue(java.lang.Object value)

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface AmqpEnvelope

getFooter

public java.lang.Object getFooter(java.lang.String name)
Specified by:
getFooter in interface AmqpEnvelope

setFooter

public void setFooter(java.lang.String name,
                      java.lang.Object value)

getFooters

public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Object>> getFooters()
Specified by:
getFooters in interface AmqpEnvelope