com.rabbitmq.client
Interface FileProperties

All Known Implementing Classes:
AMQFileProperties

public interface FileProperties


Method Summary
 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 getFilename()
          Retrieve the value in the filename 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.
 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 setFilename(java.lang.String filename)
          Set the filename field, or null indicating the field in 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
 

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.

getPriority

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

Returns:
priority 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.

getMessageId

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

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

getFilename

java.lang.String getFilename()
Retrieve the value in the filename field.

Returns:
filename 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.

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

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

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

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

setFilename

void setFilename(java.lang.String filename)
Set the filename field, or null indicating the field in not set

Parameters:
filename - the value to 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

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