Class Properties
- java.lang.Object
-
- org.apache.qpid.protonj2.types.messaging.Properties
-
- All Implemented Interfaces:
Section<Properties>
public final class Properties extends java.lang.Object implements Section<Properties>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.messaging.Section
Section.SectionType
-
-
Field Summary
Fields Modifier and Type Field Description static UnsignedLong
DESCRIPTOR_CODE
static Symbol
DESCRIPTOR_SYMBOL
-
Constructor Summary
Constructors Constructor Description Properties()
Properties(Properties other)
-
Method Summary
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Constructor Detail
-
Properties
public Properties()
-
Properties
public Properties(Properties other)
-
-
Method Detail
-
copy
public Properties copy()
-
getValue
public Properties getValue()
- Specified by:
getValue
in interfaceSection<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 java.lang.Object getMessageId()
-
setMessageId
public Properties setMessageId(java.lang.Object messageId)
-
getUserId
public Binary getUserId()
-
setUserId
public Properties setUserId(byte[] userId)
-
setUserId
public Properties setUserId(Binary userId)
-
getTo
public java.lang.String getTo()
-
setTo
public Properties setTo(java.lang.String to)
-
getSubject
public java.lang.String getSubject()
-
setSubject
public Properties setSubject(java.lang.String subject)
-
getReplyTo
public java.lang.String getReplyTo()
-
setReplyTo
public Properties setReplyTo(java.lang.String replyTo)
-
getCorrelationId
public java.lang.Object getCorrelationId()
-
setCorrelationId
public Properties setCorrelationId(java.lang.Object correlationId)
-
getContentType
public java.lang.String getContentType()
-
setContentType
public Properties setContentType(java.lang.String contentType)
-
getContentEncoding
public java.lang.String getContentEncoding()
-
setContentEncoding
public Properties setContentEncoding(java.lang.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 java.lang.String getGroupId()
-
setGroupId
public Properties setGroupId(java.lang.String groupId)
-
getGroupSequence
public long getGroupSequence()
-
setGroupSequence
public Properties setGroupSequence(int groupSequence)
-
setGroupSequence
public Properties setGroupSequence(long groupSequence)
-
clearGroupSequence
public void clearGroupSequence()
-
getReplyToGroupId
public java.lang.String getReplyToGroupId()
-
setReplyToGroupId
public Properties setReplyToGroupId(java.lang.String replyToGroupId)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getType
public Section.SectionType getType()
- Specified by:
getType
in interfaceSection<Properties>
- Returns:
- the
Section.SectionType
that describes this instance.
-
-