com.rabbitmq.client
Interface BasicProperties

All Known Implementing Classes:
AMQBasicProperties, AMQP.BasicProperties

public interface BasicProperties


Method Summary
 java.lang.String getAppId()
          Retrieve the value in the appId field.
 java.lang.String getClusterId()
          Retrieve the value in the clusterId field.
 java.lang.String getContentEncoding()
          Retrieve the value in the contentEncoding field.
 java.lang.String getContentType()
          Retrieve the value in the contentType field.
 java.lang.String getCorrelationId()
          Retrieve the value in the correlationId field.
 java.lang.Integer getDeliveryMode()
          Retrieve the value in the deliveryMode field.
 java.lang.String getExpiration()
          Retrieve the value in the expiration field.
 java.util.Map<java.lang.String,java.lang.Object> getHeaders()
          Retrieve the table in the headers field as a map of fields names and values.
 java.lang.String getMessageId()
          Retrieve the value in the messageId field.
 java.lang.Integer getPriority()
          Retrieve the value in the priority field.
 java.lang.String getReplyTo()
          Retrieve the value in the replyTo field.
 java.util.Date getTimestamp()
          Retrieve the value in the timestamp field.
 java.lang.String getType()
          Retrieve the value in the type field.
 java.lang.String getUserId()
          Retrieve the value in the userId field.
 void setAppId(java.lang.String appId)
          Set the appId field, or null indicating the field is not set
 void setClusterId(java.lang.String clusterId)
          Set the clusterId field, or null indicating the field is not set
 void setContentEncoding(java.lang.String contentEncoding)
          Set the contentEncoding field, or null indicating the field is not set
 void setContentType(java.lang.String contentType)
          Set the contentType field, or null indicating the field is not set
 void setCorrelationId(java.lang.String correlationId)
          Set the correlationId field, or null indicating the field is not set
 void setDeliveryMode(java.lang.Integer deliveryMode)
          Set the deliveryMode field, or null indicating the field is not set
 void setExpiration(java.lang.String expiration)
          Set the expiration field, or null indicating the field is not set
 void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
          Set the headers table, or null indicating the field is not set
 void setMessageId(java.lang.String messageId)
          Set the messageId field, or null indicating the field is not set
 void setPriority(java.lang.Integer priority)
          Set the priority field, or null indicating the field is not set
 void setReplyTo(java.lang.String replyTo)
          Set the replyTo field, or null indicating the field is not set
 void setTimestamp(java.util.Date timestamp)
          Set the timestamp field, or null indicating the field is not set
 void setType(java.lang.String type)
          Set the type field, or null indicating the field is not set
 void setUserId(java.lang.String userId)
          Set the userId field, or null indicating the field is not set
 

Method Detail

getContentType

java.lang.String getContentType()
Retrieve the value in the contentType field.

Returns:
contentType field, or null if the field has not been set.

getContentEncoding

java.lang.String getContentEncoding()
Retrieve the value in the contentEncoding field.

Returns:
contentEncoding field, or null if the field has not been set.

getHeaders

java.util.Map<java.lang.String,java.lang.Object> getHeaders()
Retrieve the table in the headers field as a map of fields names and values.

Returns:
headers table, or null if the headers field has not been set.

getDeliveryMode

java.lang.Integer getDeliveryMode()
Retrieve the value in the deliveryMode field.

Returns:
deliveryMode field, or null if the field has not been set.

getPriority

java.lang.Integer getPriority()
Retrieve the value in the priority field.

Returns:
priority field, or null if the field has not been set.

getCorrelationId

java.lang.String getCorrelationId()
Retrieve the value in the correlationId field.

Returns:
correlationId field, or null if the field has not been set.

getReplyTo

java.lang.String getReplyTo()
Retrieve the value in the replyTo field.

Returns:
replyTo field, or null if the field has not been set.

getExpiration

java.lang.String getExpiration()
Retrieve the value in the expiration field.

Returns:
expiration field, or null if the field has not been set.

getMessageId

java.lang.String getMessageId()
Retrieve the value in the messageId field.

Returns:
messageId field, or null if the field has not been set.

getTimestamp

java.util.Date getTimestamp()
Retrieve the value in the timestamp field.

Returns:
timestamp field, or null if the field has not been set.

getType

java.lang.String getType()
Retrieve the value in the type field.

Returns:
type field, or null if the field has not been set.

getUserId

java.lang.String getUserId()
Retrieve the value in the userId field.

Returns:
userId field, or null if the field has not been set.

getAppId

java.lang.String getAppId()
Retrieve the value in the appId field.

Returns:
appId field, or null if the field has not been set.

getClusterId

java.lang.String getClusterId()
Retrieve the value in the clusterId field.

Returns:
clusterId field, or null if the field has not been set.

setContentType

void setContentType(java.lang.String contentType)
Set the contentType field, or null indicating the field is not set

Parameters:
contentType - the value to set the field to

setContentEncoding

void setContentEncoding(java.lang.String contentEncoding)
Set the contentEncoding field, or null indicating the field is not set

Parameters:
contentEncoding - - the value to set the field to

setHeaders

void setHeaders(java.util.Map<java.lang.String,java.lang.Object> headers)
Set the headers table, or null indicating the field is not set

Parameters:
headers - a map of table field names and values

setDeliveryMode

void setDeliveryMode(java.lang.Integer deliveryMode)
Set the deliveryMode field, or null indicating the field is not set

Parameters:
deliveryMode - the value to set the field to

setPriority

void setPriority(java.lang.Integer priority)
Set the priority field, or null indicating the field is not set

Parameters:
priority - the value to set the field to

setCorrelationId

void setCorrelationId(java.lang.String correlationId)
Set the correlationId field, or null indicating the field is not set

Parameters:
correlationId - the value to set the field to

setReplyTo

void setReplyTo(java.lang.String replyTo)
Set the replyTo field, or null indicating the field is not set

Parameters:
replyTo - the value to set the field to

setExpiration

void setExpiration(java.lang.String expiration)
Set the expiration field, or null indicating the field is not set

Parameters:
expiration - the value to set the field to

setMessageId

void setMessageId(java.lang.String messageId)
Set the messageId field, or null indicating the field is not set

Parameters:
messageId - the value to set the field to

setTimestamp

void setTimestamp(java.util.Date timestamp)
Set the timestamp field, or null indicating the field is not set

Parameters:
timestamp - the value to set the field to

setType

void setType(java.lang.String type)
Set the type field, or null indicating the field is not set

Parameters:
type - the value to set the field to

setUserId

void setUserId(java.lang.String userId)
Set the userId field, or null indicating the field is not set

Parameters:
userId - the value to set the field to

setAppId

void setAppId(java.lang.String appId)
Set the appId field, or null indicating the field is not set

Parameters:
appId - the value to set the field to

setClusterId

void setClusterId(java.lang.String clusterId)
Set the clusterId field, or null indicating the field is not set

Parameters:
clusterId - the value to set the field to