public class Amqp091MessageAttributesType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and 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 and Description |
---|
Amqp091MessageAttributesType()
Creates a new
Amqp091MessageAttributesType instance. |
Amqp091MessageAttributesType(Amqp091MessageAttributesType o)
Creates a new
Amqp091MessageAttributesType instance by deeply copying a given Amqp091MessageAttributesType instance. |
Modifier and Type | Method and 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) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected String contentType
protected String contentEncoding
protected String routingKey
protected MessageDeliveryMode deliveryMode
protected Integer priority
protected String correlationId
protected String replyTo
protected String messageId
protected XMLGregorianCalendar timestamp
protected String type
protected String userId
protected String appId
protected List<MessagePropertyType> other
public static final QName COMPLEX_TYPE
public static final ItemName F_CONTENT_TYPE
public static final ItemName F_CONTENT_ENCODING
public static final ItemName F_ROUTING_KEY
public static final ItemName F_DELIVERY_MODE
public static final ItemName F_PRIORITY
public static final ItemName F_CORRELATION_ID
public static final ItemName F_REPLY_TO
public static final ItemName F_MESSAGE_ID
public static final ItemName F_TIMESTAMP
public static final ItemName F_TYPE
public static final ItemName F_USER_ID
public static final ItemName F_APP_ID
public static final ItemName F_OTHER
public Amqp091MessageAttributesType()
Amqp091MessageAttributesType
instance.public Amqp091MessageAttributesType(Amqp091MessageAttributesType o)
Amqp091MessageAttributesType
instance by deeply copying a given Amqp091MessageAttributesType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getContentType()
String
public void setContentType(String value)
value
- allowed object is
String
public String getContentEncoding()
String
public void setContentEncoding(String value)
value
- allowed object is
String
public String getRoutingKey()
String
public void setRoutingKey(String value)
value
- allowed object is
String
public MessageDeliveryMode getDeliveryMode()
MessageDeliveryMode
public void setDeliveryMode(MessageDeliveryMode value)
value
- allowed object is
MessageDeliveryMode
public Integer getPriority()
Integer
public void setPriority(Integer value)
value
- allowed object is
Integer
public String getCorrelationId()
String
public void setCorrelationId(String value)
value
- allowed object is
String
public String getReplyTo()
String
public void setReplyTo(String value)
value
- allowed object is
String
public String getMessageId()
String
public void setMessageId(String value)
value
- allowed object is
String
public XMLGregorianCalendar getTimestamp()
XMLGregorianCalendar
public void setTimestamp(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getUserId()
String
public void setUserId(String value)
value
- allowed object is
String
public String getAppId()
String
public void setAppId(String value)
value
- allowed object is
String
public List<MessagePropertyType> getOther()
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
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public Amqp091MessageAttributesType contentType(String value)
public Amqp091MessageAttributesType contentEncoding(String value)
public Amqp091MessageAttributesType routingKey(String value)
public Amqp091MessageAttributesType deliveryMode(MessageDeliveryMode value)
public Amqp091MessageAttributesType priority(Integer value)
public Amqp091MessageAttributesType correlationId(String value)
public Amqp091MessageAttributesType replyTo(String value)
public Amqp091MessageAttributesType messageId(String value)
public Amqp091MessageAttributesType timestamp(XMLGregorianCalendar value)
public Amqp091MessageAttributesType timestamp(String value)
public Amqp091MessageAttributesType type(String value)
public Amqp091MessageAttributesType userId(String value)
public Amqp091MessageAttributesType appId(String value)
public Amqp091MessageAttributesType other(MessagePropertyType value)
public MessagePropertyType beginOther()
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public Amqp091MessageAttributesType clone()
Copyright © 2020 Evolveum. All rights reserved.