Class MessageAnnotations
- java.lang.Object
-
- org.apache.qpid.protonj2.types.messaging.MessageAnnotations
-
-
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 MessageAnnotations(java.util.Map<Symbol,?> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageAnnotations
copy()
boolean
equals(java.lang.Object obj)
Section.SectionType
getType()
java.util.Map<Symbol,java.lang.Object>
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Constructor Detail
-
MessageAnnotations
public MessageAnnotations(java.util.Map<Symbol,?> value)
-
-
Method Detail
-
copy
public MessageAnnotations copy()
-
getValue
public java.util.Map<Symbol,java.lang.Object> getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getType
public Section.SectionType getType()
- Specified by:
getType
in interfaceSection<java.util.Map<Symbol,java.lang.Object>>
- Returns:
- the
Section.SectionType
that describes this instance.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-