Class Amqp091MessageAttributesType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.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 Summary
Fields Modifier and Type Field Description protected String
appId
static QName
COMPLEX_TYPE
protected String
contentEncoding
protected String
contentType
protected String
correlationId
protected MessageDeliveryMode
deliveryMode
static ItemName
F_APP_ID
static ItemName
F_CONTENT_ENCODING
static ItemName
F_CONTENT_TYPE
static ItemName
F_CORRELATION_ID
static ItemName
F_DELIVERY_MODE
static ItemName
F_MESSAGE_ID
static ItemName
F_OTHER
static ItemName
F_PRIORITY
static ItemName
F_REPLY_TO
static ItemName
F_ROUTING_KEY
static ItemName
F_TIMESTAMP
static ItemName
F_TYPE
static ItemName
F_USER_ID
protected String
messageId
protected List<MessagePropertyType>
other
protected Integer
priority
protected String
replyTo
protected String
routingKey
protected XMLGregorianCalendar
timestamp
protected String
type
protected String
userId
-
Constructor Summary
Constructors Constructor Description Amqp091MessageAttributesType()
Creates a newAmqp091MessageAttributesType
instance.Amqp091MessageAttributesType(Amqp091MessageAttributesType o)
Creates a newAmqp091MessageAttributesType
instance by deeply copying a givenAmqp091MessageAttributesType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
Amqp091MessageAttributesType
appId(String value)
MessagePropertyType
beginOther()
Amqp091MessageAttributesType
clone()
Creates and returns a deep copy of this object.Amqp091MessageAttributesType
contentEncoding(String value)
Amqp091MessageAttributesType
contentType(String value)
Amqp091MessageAttributesType
correlationId(String value)
Amqp091MessageAttributesType
deliveryMode(MessageDeliveryMode value)
boolean
equals(Object object)
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)
String
getAppId()
Gets the value of the appId property.String
getContentEncoding()
Gets the value of the contentEncoding property.String
getContentType()
Gets the value of the contentType property.String
getCorrelationId()
Gets the value of the correlationId property.MessageDeliveryMode
getDeliveryMode()
Gets the value of the deliveryMode property.String
getMessageId()
Gets the value of the messageId property.List<MessagePropertyType>
getOther()
Gets the value of the other property.Integer
getPriority()
Gets the value of the priority property.String
getReplyTo()
Gets the value of the replyTo property.String
getRoutingKey()
Gets the value of the routingKey property.XMLGregorianCalendar
getTimestamp()
Gets the value of the timestamp property.String
getType()
Gets the value of the type property.String
getUserId()
Gets the value of the userId property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Amqp091MessageAttributesType
messageId(String value)
Amqp091MessageAttributesType
other(MessagePropertyType value)
Amqp091MessageAttributesType
priority(Integer value)
Amqp091MessageAttributesType
replyTo(String value)
Amqp091MessageAttributesType
routingKey(String value)
void
setAppId(String value)
Sets the value of the appId property.void
setContentEncoding(String value)
Sets the value of the contentEncoding property.void
setContentType(String value)
Sets the value of the contentType property.void
setCorrelationId(String value)
Sets the value of the correlationId property.void
setDeliveryMode(MessageDeliveryMode value)
Sets the value of the deliveryMode property.void
setMessageId(String value)
Sets the value of the messageId property.void
setPriority(Integer value)
Sets the value of the priority property.void
setReplyTo(String value)
Sets the value of the replyTo property.void
setRoutingKey(String value)
Sets the value of the routingKey property.void
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.void
setType(String value)
Sets the value of the type property.void
setUserId(String value)
Sets the value of the userId property.Amqp091MessageAttributesType
timestamp(String value)
Amqp091MessageAttributesType
timestamp(XMLGregorianCalendar value)
String
toString()
Generates a String representation of the contents of this type.Amqp091MessageAttributesType
type(String value)
Amqp091MessageAttributesType
userId(String value)
-
-
-
Field Detail
-
contentType
protected String contentType
-
contentEncoding
protected String contentEncoding
-
routingKey
protected String routingKey
-
deliveryMode
protected MessageDeliveryMode deliveryMode
-
priority
protected Integer priority
-
correlationId
protected String correlationId
-
replyTo
protected String replyTo
-
messageId
protected String messageId
-
timestamp
protected XMLGregorianCalendar timestamp
-
type
protected String type
-
userId
protected String userId
-
appId
protected String appId
-
other
protected List<MessagePropertyType> other
-
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 newAmqp091MessageAttributesType
instance.
-
Amqp091MessageAttributesType
public Amqp091MessageAttributesType(Amqp091MessageAttributesType o)
Creates a newAmqp091MessageAttributesType
instance by deeply copying a givenAmqp091MessageAttributesType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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 isString
-
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 isString
-
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 isString
-
getDeliveryMode
public MessageDeliveryMode getDeliveryMode()
Gets the value of the deliveryMode property.- Returns:
- possible object is
MessageDeliveryMode
-
setDeliveryMode
public void setDeliveryMode(MessageDeliveryMode value)
Sets the value of the deliveryMode property.- Parameters:
value
- allowed object isMessageDeliveryMode
-
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 isInteger
-
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 isString
-
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 isString
-
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 isString
-
getTimestamp
public XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.- Returns:
- possible object is
XMLGregorianCalendar
-
setTimestamp
public void setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
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 isString
-
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 isString
-
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 isString
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
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 interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
contentType
public Amqp091MessageAttributesType contentType(String value)
-
contentEncoding
public Amqp091MessageAttributesType contentEncoding(String value)
-
routingKey
public Amqp091MessageAttributesType routingKey(String value)
-
deliveryMode
public Amqp091MessageAttributesType deliveryMode(MessageDeliveryMode value)
-
priority
public Amqp091MessageAttributesType priority(Integer value)
-
correlationId
public Amqp091MessageAttributesType correlationId(String value)
-
replyTo
public Amqp091MessageAttributesType replyTo(String value)
-
messageId
public Amqp091MessageAttributesType messageId(String value)
-
timestamp
public Amqp091MessageAttributesType timestamp(XMLGregorianCalendar value)
-
timestamp
public Amqp091MessageAttributesType timestamp(String value)
-
type
public Amqp091MessageAttributesType type(String value)
-
userId
public Amqp091MessageAttributesType userId(String value)
-
appId
public Amqp091MessageAttributesType appId(String value)
-
other
public Amqp091MessageAttributesType other(MessagePropertyType value)
-
beginOther
public MessagePropertyType beginOther()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public Amqp091MessageAttributesType clone()
Creates and returns a deep copy of this object.
-
-