Class Amqp091MessageAttributesType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class Amqp091MessageAttributesType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Representation AMQP 0-9-1 message attributes.

    Java class for Amqp091MessageAttributesType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Amqp091MessageAttributesType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="contentEncoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="routingKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="deliveryMode" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MessageDeliveryMode" minOccurs="0"/>
             <element name="priority" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="correlationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="replyTo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
             <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="appId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="other" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MessagePropertyType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • contentType

        protected String contentType
      • contentEncoding

        protected String contentEncoding
      • routingKey

        protected String routingKey
      • priority

        protected Integer priority
      • correlationId

        protected String correlationId
      • replyTo

        protected String replyTo
      • messageId

        protected String messageId
      • userId

        protected String userId
      • appId

        protected String appId
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_CONTENT_TYPE

        public static final ItemName F_CONTENT_TYPE
      • F_CONTENT_ENCODING

        public static final ItemName F_CONTENT_ENCODING
      • F_ROUTING_KEY

        public static final ItemName F_ROUTING_KEY
      • F_DELIVERY_MODE

        public static final ItemName F_DELIVERY_MODE
      • F_PRIORITY

        public static final ItemName F_PRIORITY
      • F_CORRELATION_ID

        public static final ItemName F_CORRELATION_ID
      • F_REPLY_TO

        public static final ItemName F_REPLY_TO
      • F_MESSAGE_ID

        public static final ItemName F_MESSAGE_ID
      • F_TIMESTAMP

        public static final ItemName F_TIMESTAMP
      • F_TYPE

        public static final ItemName F_TYPE
      • F_USER_ID

        public static final ItemName F_USER_ID
      • F_APP_ID

        public static final ItemName F_APP_ID
      • F_OTHER

        public static final ItemName F_OTHER
    • Constructor Detail

      • Amqp091MessageAttributesType

        public Amqp091MessageAttributesType()
        Creates a new Amqp091MessageAttributesType instance.
      • Amqp091MessageAttributesType

        public Amqp091MessageAttributesType​(Amqp091MessageAttributesType o)
        Creates a new Amqp091MessageAttributesType instance by deeply copying a given Amqp091MessageAttributesType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • Method Detail

      • getContentType

        public String getContentType()
        Gets the value of the contentType property.
        Returns:
        possible object is String
      • setContentType

        public void setContentType​(String value)
        Sets the value of the contentType property.
        Parameters:
        value - allowed object is String
      • getContentEncoding

        public String getContentEncoding()
        Gets the value of the contentEncoding property.
        Returns:
        possible object is String
      • setContentEncoding

        public void setContentEncoding​(String value)
        Sets the value of the contentEncoding property.
        Parameters:
        value - allowed object is String
      • getRoutingKey

        public String getRoutingKey()
        Gets the value of the routingKey property.
        Returns:
        possible object is String
      • setRoutingKey

        public void setRoutingKey​(String value)
        Sets the value of the routingKey property.
        Parameters:
        value - allowed object is String
      • getPriority

        public Integer getPriority()
        Gets the value of the priority property.
        Returns:
        possible object is Integer
      • setPriority

        public void setPriority​(Integer value)
        Sets the value of the priority property.
        Parameters:
        value - allowed object is Integer
      • getCorrelationId

        public String getCorrelationId()
        Gets the value of the correlationId property.
        Returns:
        possible object is String
      • setCorrelationId

        public void setCorrelationId​(String value)
        Sets the value of the correlationId property.
        Parameters:
        value - allowed object is String
      • getReplyTo

        public String getReplyTo()
        Gets the value of the replyTo property.
        Returns:
        possible object is String
      • setReplyTo

        public void setReplyTo​(String value)
        Sets the value of the replyTo property.
        Parameters:
        value - allowed object is String
      • getMessageId

        public String getMessageId()
        Gets the value of the messageId property.
        Returns:
        possible object is String
      • setMessageId

        public void setMessageId​(String value)
        Sets the value of the messageId property.
        Parameters:
        value - allowed object is String
      • getType

        public String getType()
        Gets the value of the type property.
        Returns:
        possible object is String
      • setType

        public void setType​(String value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is String
      • getUserId

        public String getUserId()
        Gets the value of the userId property.
        Returns:
        possible object is String
      • setUserId

        public void setUserId​(String value)
        Sets the value of the userId property.
        Parameters:
        value - allowed object is String
      • getAppId

        public String getAppId()
        Gets the value of the appId property.
        Returns:
        possible object is String
      • setAppId

        public void setAppId​(String value)
        Sets the value of the appId property.
        Parameters:
        value - allowed object is String
      • getOther

        public List<MessagePropertyType> getOther()
        Gets the value of the other property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the other property.

        For example, to add a new item, do as follows:

            getOther().add(newItem);
         

        Objects of the following type(s) are allowed in the list MessagePropertyType

      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals