Class Properties

java.lang.Object
org.apache.qpid.protonj2.types.messaging.Properties
All Implemented Interfaces:
Section<Properties>

public final class Properties extends Object implements Section<Properties>
  • Field Details

    • DESCRIPTOR_CODE

      public static final UnsignedLong DESCRIPTOR_CODE
    • DESCRIPTOR_SYMBOL

      public static final Symbol DESCRIPTOR_SYMBOL
  • Constructor Details

    • Properties

      public Properties()
    • Properties

      public Properties(Properties other)
  • Method Details

    • copy

      public Properties copy()
    • getValue

      public Properties getValue()
      Specified by:
      getValue in interface Section<Properties>
      Returns:
      the Object value contained within the given message Section.
    • isEmpty

      public boolean isEmpty()
    • getElementCount

      public int getElementCount()
    • hasMessageId

      public boolean hasMessageId()
    • hasUserId

      public boolean hasUserId()
    • hasTo

      public boolean hasTo()
    • hasSubject

      public boolean hasSubject()
    • hasReplyTo

      public boolean hasReplyTo()
    • hasCorrelationId

      public boolean hasCorrelationId()
    • hasContentType

      public boolean hasContentType()
    • hasContentEncoding

      public boolean hasContentEncoding()
    • hasAbsoluteExpiryTime

      public boolean hasAbsoluteExpiryTime()
    • hasCreationTime

      public boolean hasCreationTime()
    • hasGroupId

      public boolean hasGroupId()
    • hasGroupSequence

      public boolean hasGroupSequence()
    • hasReplyToGroupId

      public boolean hasReplyToGroupId()
    • getMessageId

      public Object getMessageId()
    • setMessageId

      public Properties setMessageId(Object messageId)
    • getUserId

      public Binary getUserId()
    • setUserId

      public Properties setUserId(byte[] userId)
    • setUserId

      public Properties setUserId(Binary userId)
    • getTo

      public String getTo()
    • setTo

      public Properties setTo(String to)
    • getSubject

      public String getSubject()
    • setSubject

      public Properties setSubject(String subject)
    • getReplyTo

      public String getReplyTo()
    • setReplyTo

      public Properties setReplyTo(String replyTo)
    • getCorrelationId

      public Object getCorrelationId()
    • setCorrelationId

      public Properties setCorrelationId(Object correlationId)
    • getContentType

      public String getContentType()
    • setContentType

      public Properties setContentType(String contentType)
    • getContentEncoding

      public String getContentEncoding()
    • setContentEncoding

      public Properties setContentEncoding(String contentEncoding)
    • getAbsoluteExpiryTime

      public long getAbsoluteExpiryTime()
    • setAbsoluteExpiryTime

      public Properties setAbsoluteExpiryTime(int absoluteExpiryTime)
    • setAbsoluteExpiryTime

      public Properties setAbsoluteExpiryTime(long absoluteExpiryTime)
    • clearAbsoluteExpiryTime

      public void clearAbsoluteExpiryTime()
    • getCreationTime

      public long getCreationTime()
    • setCreationTime

      public Properties setCreationTime(int creationTime)
    • setCreationTime

      public Properties setCreationTime(long creationTime)
    • clearCreationTime

      public void clearCreationTime()
    • getGroupId

      public String getGroupId()
    • setGroupId

      public Properties setGroupId(String groupId)
    • getGroupSequence

      public long getGroupSequence()
    • setGroupSequence

      public Properties setGroupSequence(int groupSequence)
    • setGroupSequence

      public Properties setGroupSequence(long groupSequence)
    • clearGroupSequence

      public void clearGroupSequence()
    • getReplyToGroupId

      public String getReplyToGroupId()
    • setReplyToGroupId

      public Properties setReplyToGroupId(String replyToGroupId)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public Section.SectionType getType()
      Specified by:
      getType in interface Section<Properties>
      Returns:
      the Section.SectionType that describes this instance.