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 of 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 StringappIdstatic QNameCOMPLEX_TYPEprotected StringcontentEncodingprotected StringcontentTypeprotected StringcorrelationIdprotected MessageDeliveryModedeliveryModestatic ItemNameF_APP_IDstatic ItemNameF_CONTENT_ENCODINGstatic ItemNameF_CONTENT_TYPEstatic ItemNameF_CORRELATION_IDstatic ItemNameF_DELIVERY_MODEstatic ItemNameF_MESSAGE_IDstatic ItemNameF_OTHERstatic ItemNameF_PRIORITYstatic ItemNameF_REPLY_TOstatic ItemNameF_ROUTING_KEYstatic ItemNameF_TIMESTAMPstatic ItemNameF_TYPEstatic ItemNameF_USER_IDprotected StringmessageIdprotected List<MessagePropertyType>otherprotected Integerpriorityprotected StringreplyToprotected StringroutingKeyprotected XMLGregorianCalendartimestampprotected Stringtypeprotected StringuserId
-
Constructor Summary
Constructors Constructor Description Amqp091MessageAttributesType()Creates a newAmqp091MessageAttributesTypeinstance.Amqp091MessageAttributesType(Amqp091MessageAttributesType o)Creates a newAmqp091MessageAttributesTypeinstance by deeply copying a givenAmqp091MessageAttributesTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)Amqp091MessageAttributesTypeappId(String value)MessagePropertyTypebeginOther()Amqp091MessageAttributesTypeclone()Creates and returns a deep copy of this object.Amqp091MessageAttributesTypecontentEncoding(String value)Amqp091MessageAttributesTypecontentType(String value)Amqp091MessageAttributesTypecorrelationId(String value)Amqp091MessageAttributesTypedeliveryMode(MessageDeliveryMode value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)StringgetAppId()Gets the value of the appId property.StringgetContentEncoding()Gets the value of the contentEncoding property.StringgetContentType()Gets the value of the contentType property.StringgetCorrelationId()Gets the value of the correlationId property.MessageDeliveryModegetDeliveryMode()Gets the value of the deliveryMode property.StringgetMessageId()Gets the value of the messageId property.List<MessagePropertyType>getOther()Gets the value of the other property.IntegergetPriority()Gets the value of the priority property.StringgetReplyTo()Gets the value of the replyTo property.StringgetRoutingKey()Gets the value of the routingKey property.XMLGregorianCalendargetTimestamp()Gets the value of the timestamp property.StringgetType()Gets the value of the type property.StringgetUserId()Gets the value of the userId property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)Amqp091MessageAttributesTypemessageId(String value)Amqp091MessageAttributesTypeother(MessagePropertyType value)Amqp091MessageAttributesTypepriority(Integer value)Amqp091MessageAttributesTypereplyTo(String value)Amqp091MessageAttributesTyperoutingKey(String value)voidsetAppId(String value)Sets the value of the appId property.voidsetContentEncoding(String value)Sets the value of the contentEncoding property.voidsetContentType(String value)Sets the value of the contentType property.voidsetCorrelationId(String value)Sets the value of the correlationId property.voidsetDeliveryMode(MessageDeliveryMode value)Sets the value of the deliveryMode property.voidsetMessageId(String value)Sets the value of the messageId property.voidsetPriority(Integer value)Sets the value of the priority property.voidsetReplyTo(String value)Sets the value of the replyTo property.voidsetRoutingKey(String value)Sets the value of the routingKey property.voidsetTimestamp(XMLGregorianCalendar value)Sets the value of the timestamp property.voidsetType(String value)Sets the value of the type property.voidsetUserId(String value)Sets the value of the userId property.Amqp091MessageAttributesTypetimestamp(String value)Amqp091MessageAttributesTypetimestamp(XMLGregorianCalendar value)StringtoString()Generates a String representation of the contents of this type.Amqp091MessageAttributesTypetype(String value)Amqp091MessageAttributesTypeuserId(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 newAmqp091MessageAttributesTypeinstance.
-
Amqp091MessageAttributesType
public Amqp091MessageAttributesType(Amqp091MessageAttributesType o)
Creates a newAmqp091MessageAttributesTypeinstance by deeply copying a givenAmqp091MessageAttributesTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public Amqp091MessageAttributesType clone()
Creates and returns a deep copy of this object.
-
-