com.caucho.amqp.marshal
Class AmqpEnvelopeImpl
java.lang.Object
com.caucho.amqp.marshal.AmqpEnvelopeImpl
- All Implemented Interfaces:
- AmqpEnvelope
public class AmqpEnvelopeImpl
- extends java.lang.Object
- implements AmqpEnvelope
Envelope for the amqp value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmqpEnvelopeImpl
public AmqpEnvelopeImpl()
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