java.lang.Object
com.swiftmq.amqp.v100.types.AMQPType
com.swiftmq.amqp.v100.types.AMQPList
com.swiftmq.amqp.v100.generated.messaging.message_format.Properties
All Implemented Interfaces:
SectionIF

public class Properties extends AMQPList implements SectionIF

The properties section is used for a defined set of standard properties of the message. The properties section is part of the bare message; therefore, if retransmitted by an intermediary, it MUST remain unaltered.

Version:
AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
Author:
IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
  • Field Details

  • Constructor Details

    • Properties

      public Properties(List initValue) throws Exception
      Constructs a Properties.
      Parameters:
      initValue - initial value
    • Properties

      public Properties()
      Constructs a Properties.
  • Method Details

    • hasDescriptor

      public boolean hasDescriptor()
      Return whether this Properties has a descriptor
      Overrides:
      hasDescriptor in class AMQPType
      Returns:
      true/false
    • accept

      public void accept(SectionVisitor visitor)
      Accept method for a Section visitor.
      Specified by:
      accept in interface SectionIF
      Parameters:
      visitor - Section visitor
    • getMessageId

      public MessageIdIF getMessageId()
      Returns the optional MessageId field.
      Returns:
      MessageId
    • setMessageId

      public void setMessageId(MessageIdIF messageId)
      Sets the optional MessageId field.
      Parameters:
      messageId - MessageId
    • getUserId

      public AMQPBinary getUserId()
      Returns the optional UserId field.
      Returns:
      UserId
    • setUserId

      public void setUserId(AMQPBinary userId)
      Sets the optional UserId field.
      Parameters:
      userId - UserId
    • getTo

      public AddressIF getTo()
      Returns the optional To field.
      Returns:
      To
    • setTo

      public void setTo(AddressIF to)
      Sets the optional To field.
      Parameters:
      to - To
    • getSubject

      public AMQPString getSubject()
      Returns the optional Subject field.
      Returns:
      Subject
    • setSubject

      public void setSubject(AMQPString subject)
      Sets the optional Subject field.
      Parameters:
      subject - Subject
    • getReplyTo

      public AddressIF getReplyTo()
      Returns the optional ReplyTo field.
      Returns:
      ReplyTo
    • setReplyTo

      public void setReplyTo(AddressIF replyTo)
      Sets the optional ReplyTo field.
      Parameters:
      replyTo - ReplyTo
    • getCorrelationId

      public MessageIdIF getCorrelationId()
      Returns the optional CorrelationId field.
      Returns:
      CorrelationId
    • setCorrelationId

      public void setCorrelationId(MessageIdIF correlationId)
      Sets the optional CorrelationId field.
      Parameters:
      correlationId - CorrelationId
    • getContentType

      public AMQPSymbol getContentType()
      Returns the optional ContentType field.
      Returns:
      ContentType
    • setContentType

      public void setContentType(AMQPSymbol contentType)
      Sets the optional ContentType field.
      Parameters:
      contentType - ContentType
    • getContentEncoding

      public AMQPSymbol getContentEncoding()
      Returns the optional ContentEncoding field.
      Returns:
      ContentEncoding
    • setContentEncoding

      public void setContentEncoding(AMQPSymbol contentEncoding)
      Sets the optional ContentEncoding field.
      Parameters:
      contentEncoding - ContentEncoding
    • getAbsoluteExpiryTime

      public AMQPTimestamp getAbsoluteExpiryTime()
      Returns the optional AbsoluteExpiryTime field.
      Returns:
      AbsoluteExpiryTime
    • setAbsoluteExpiryTime

      public void setAbsoluteExpiryTime(AMQPTimestamp absoluteExpiryTime)
      Sets the optional AbsoluteExpiryTime field.
      Parameters:
      absoluteExpiryTime - AbsoluteExpiryTime
    • getCreationTime

      public AMQPTimestamp getCreationTime()
      Returns the optional CreationTime field.
      Returns:
      CreationTime
    • setCreationTime

      public void setCreationTime(AMQPTimestamp creationTime)
      Sets the optional CreationTime field.
      Parameters:
      creationTime - CreationTime
    • getGroupId

      public AMQPString getGroupId()
      Returns the optional GroupId field.
      Returns:
      GroupId
    • setGroupId

      public void setGroupId(AMQPString groupId)
      Sets the optional GroupId field.
      Parameters:
      groupId - GroupId
    • getGroupSequence

      public SequenceNo getGroupSequence()
      Returns the optional GroupSequence field.
      Returns:
      GroupSequence
    • setGroupSequence

      public void setGroupSequence(SequenceNo groupSequence)
      Sets the optional GroupSequence field.
      Parameters:
      groupSequence - GroupSequence
    • getReplyToGroupId

      public AMQPString getReplyToGroupId()
      Returns the optional ReplyToGroupId field.
      Returns:
      ReplyToGroupId
    • setReplyToGroupId

      public void setReplyToGroupId(AMQPString replyToGroupId)
      Sets the optional ReplyToGroupId field.
      Parameters:
      replyToGroupId - ReplyToGroupId
    • getPredictedSize

      public int getPredictedSize()
      Returns the predicted size of this Properties. The predicted size may be greater than the actual size but it can never be less.
      Specified by:
      getPredictedSize in interface SectionIF
      Overrides:
      getPredictedSize in class AMQPList
      Returns:
      predicted size
    • getArrayConstructor

      public AMQPDescribedConstructor getArrayConstructor() throws IOException
      Returns an array constructor (internal use)
      Returns:
      array constructor
      Throws:
      IOException
    • writeContent

      public void writeContent(DataOutput out) throws IOException
      Description copied from class: AMQPType
      Write the content of this type to a DataOutput.
      Overrides:
      writeContent in class AMQPList
      Parameters:
      out - DataOutput
      Throws:
      IOException - on error
    • getValueString

      public String getValueString()
      Description copied from class: AMQPType
      Returns the value string representation of the type.
      Specified by:
      getValueString in interface SectionIF
      Overrides:
      getValueString in class AMQPList
      Returns:
      value string
    • toString

      public String toString()
      Overrides:
      toString in class AMQPList