001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2016.12.22 at 10:49:59 AM EST 006// 007 008 009package org.apache.activemq.schema.core; 010 011import java.util.ArrayList; 012import java.util.HashMap; 013import java.util.List; 014import java.util.Map; 015import javax.xml.bind.JAXBElement; 016import javax.xml.bind.annotation.XmlAccessType; 017import javax.xml.bind.annotation.XmlAccessorType; 018import javax.xml.bind.annotation.XmlAnyAttribute; 019import javax.xml.bind.annotation.XmlAnyElement; 020import javax.xml.bind.annotation.XmlAttribute; 021import javax.xml.bind.annotation.XmlElementRef; 022import javax.xml.bind.annotation.XmlElementRefs; 023import javax.xml.bind.annotation.XmlID; 024import javax.xml.bind.annotation.XmlRootElement; 025import javax.xml.bind.annotation.XmlSchemaType; 026import javax.xml.bind.annotation.XmlType; 027import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 028import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 029import javax.xml.namespace.QName; 030import org.jvnet.jaxb2_commons.lang.Equals; 031import org.jvnet.jaxb2_commons.lang.EqualsStrategy; 032import org.jvnet.jaxb2_commons.lang.HashCode; 033import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; 034import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; 035import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; 036import org.jvnet.jaxb2_commons.lang.ToString; 037import org.jvnet.jaxb2_commons.lang.ToStringStrategy; 038import org.jvnet.jaxb2_commons.locator.ObjectLocator; 039import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; 040 041 042/** 043 * <p>Java class for anonymous complex type. 044 * 045 * <p>The following schema fragment specifies the expected content contained within this class. 046 * 047 * <pre> 048 * <complexType> 049 * <complexContent> 050 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 051 * <choice maxOccurs="unbounded" minOccurs="0"> 052 * <choice> 053 * <element name="adminConnectionContext" minOccurs="0"> 054 * <complexType> 055 * <complexContent> 056 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 057 * <sequence minOccurs="0"> 058 * <any maxOccurs="unbounded" minOccurs="0"/> 059 * </sequence> 060 * </restriction> 061 * </complexContent> 062 * </complexType> 063 * </element> 064 * <element name="next" minOccurs="0"> 065 * <complexType> 066 * <complexContent> 067 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 068 * <choice minOccurs="0"> 069 * <element ref="{http://activemq.apache.org/schema/core}destinationPathSeparatorPlugin"/> 070 * <element ref="{http://activemq.apache.org/schema/core}destinationsPlugin"/> 071 * <element ref="{http://activemq.apache.org/schema/core}forcePersistencyModeBroker"/> 072 * <element ref="{http://activemq.apache.org/schema/core}loggingBrokerPlugin"/> 073 * <element ref="{http://activemq.apache.org/schema/core}multicastTraceBrokerPlugin"/> 074 * <element ref="{http://activemq.apache.org/schema/core}redeliveryPlugin"/> 075 * <element ref="{http://activemq.apache.org/schema/core}timeStampingBrokerPlugin"/> 076 * <element ref="{http://activemq.apache.org/schema/core}traceBrokerPathPlugin"/> 077 * <element ref="{http://activemq.apache.org/schema/core}udpTraceBrokerPlugin"/> 078 * <any namespace='##other'/> 079 * </choice> 080 * </restriction> 081 * </complexContent> 082 * </complexType> 083 * </element> 084 * <element name="redeliveryPolicyMap" minOccurs="0"> 085 * <complexType> 086 * <complexContent> 087 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 088 * <choice minOccurs="0"> 089 * <element ref="{http://activemq.apache.org/schema/core}redeliveryPolicyMap"/> 090 * <any namespace='##other'/> 091 * </choice> 092 * </restriction> 093 * </complexContent> 094 * </complexType> 095 * </element> 096 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 097 * </choice> 098 * </choice> 099 * <attribute name="adminConnectionContext" type="{http://www.w3.org/2001/XMLSchema}string" /> 100 * <attribute name="fallbackToDeadLetter" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 101 * <attribute name="next" type="{http://www.w3.org/2001/XMLSchema}string" /> 102 * <attribute name="redeliveryPolicyMap" type="{http://www.w3.org/2001/XMLSchema}string" /> 103 * <attribute name="sendToDlqIfMaxRetriesExceeded" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 104 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 105 * <anyAttribute processContents='lax' namespace='##other'/> 106 * </restriction> 107 * </complexContent> 108 * </complexType> 109 * </pre> 110 * 111 * 112 */ 113@XmlAccessorType(XmlAccessType.FIELD) 114@XmlType(name = "", propOrder = { 115 "adminConnectionContextOrNextOrRedeliveryPolicyMap" 116}) 117@XmlRootElement(name = "redeliveryPlugin") 118public class DtoRedeliveryPlugin implements Equals, HashCode, ToString 119{ 120 121 @XmlElementRefs({ 122 @XmlElementRef(name = "next", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 123 @XmlElementRef(name = "redeliveryPolicyMap", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 124 @XmlElementRef(name = "adminConnectionContext", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 125 }) 126 @XmlAnyElement(lax = true) 127 protected List<Object> adminConnectionContextOrNextOrRedeliveryPolicyMap; 128 @XmlAttribute(name = "adminConnectionContext") 129 protected String adminConnectionContext; 130 @XmlAttribute(name = "fallbackToDeadLetter") 131 protected Boolean fallbackToDeadLetter; 132 @XmlAttribute(name = "next") 133 protected String next; 134 @XmlAttribute(name = "redeliveryPolicyMap") 135 protected String redeliveryPolicyMap; 136 @XmlAttribute(name = "sendToDlqIfMaxRetriesExceeded") 137 protected Boolean sendToDlqIfMaxRetriesExceeded; 138 @XmlAttribute(name = "id") 139 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 140 @XmlID 141 @XmlSchemaType(name = "ID") 142 protected String id; 143 @XmlAnyAttribute 144 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 145 146 /** 147 * Gets the value of the adminConnectionContextOrNextOrRedeliveryPolicyMap property. 148 * 149 * <p> 150 * This accessor method returns a reference to the live list, 151 * not a snapshot. Therefore any modification you make to the 152 * returned list will be present inside the JAXB object. 153 * This is why there is not a <CODE>set</CODE> method for the adminConnectionContextOrNextOrRedeliveryPolicyMap property. 154 * 155 * <p> 156 * For example, to add a new item, do as follows: 157 * <pre> 158 * getAdminConnectionContextOrNextOrRedeliveryPolicyMap().add(newItem); 159 * </pre> 160 * 161 * 162 * <p> 163 * Objects of the following type(s) are allowed in the list 164 * {@link Object } 165 * {@link JAXBElement }{@code <}{@link DtoRedeliveryPlugin.RedeliveryPolicyMap }{@code >} 166 * {@link JAXBElement }{@code <}{@link DtoRedeliveryPlugin.AdminConnectionContext }{@code >} 167 * {@link JAXBElement }{@code <}{@link DtoRedeliveryPlugin.Next }{@code >} 168 * 169 * 170 */ 171 public List<Object> getAdminConnectionContextOrNextOrRedeliveryPolicyMap() { 172 if (adminConnectionContextOrNextOrRedeliveryPolicyMap == null) { 173 adminConnectionContextOrNextOrRedeliveryPolicyMap = new ArrayList<Object>(); 174 } 175 return this.adminConnectionContextOrNextOrRedeliveryPolicyMap; 176 } 177 178 /** 179 * Gets the value of the adminConnectionContext property. 180 * 181 * @return 182 * possible object is 183 * {@link String } 184 * 185 */ 186 public String getAdminConnectionContext() { 187 return adminConnectionContext; 188 } 189 190 /** 191 * Sets the value of the adminConnectionContext property. 192 * 193 * @param value 194 * allowed object is 195 * {@link String } 196 * 197 */ 198 public void setAdminConnectionContext(String value) { 199 this.adminConnectionContext = value; 200 } 201 202 /** 203 * Gets the value of the fallbackToDeadLetter property. 204 * 205 * @return 206 * possible object is 207 * {@link Boolean } 208 * 209 */ 210 public Boolean isFallbackToDeadLetter() { 211 return fallbackToDeadLetter; 212 } 213 214 /** 215 * Sets the value of the fallbackToDeadLetter property. 216 * 217 * @param value 218 * allowed object is 219 * {@link Boolean } 220 * 221 */ 222 public void setFallbackToDeadLetter(Boolean value) { 223 this.fallbackToDeadLetter = value; 224 } 225 226 /** 227 * Gets the value of the next property. 228 * 229 * @return 230 * possible object is 231 * {@link String } 232 * 233 */ 234 public String getNext() { 235 return next; 236 } 237 238 /** 239 * Sets the value of the next property. 240 * 241 * @param value 242 * allowed object is 243 * {@link String } 244 * 245 */ 246 public void setNext(String value) { 247 this.next = value; 248 } 249 250 /** 251 * Gets the value of the redeliveryPolicyMap property. 252 * 253 * @return 254 * possible object is 255 * {@link String } 256 * 257 */ 258 public String getRedeliveryPolicyMap() { 259 return redeliveryPolicyMap; 260 } 261 262 /** 263 * Sets the value of the redeliveryPolicyMap property. 264 * 265 * @param value 266 * allowed object is 267 * {@link String } 268 * 269 */ 270 public void setRedeliveryPolicyMap(String value) { 271 this.redeliveryPolicyMap = value; 272 } 273 274 /** 275 * Gets the value of the sendToDlqIfMaxRetriesExceeded property. 276 * 277 * @return 278 * possible object is 279 * {@link Boolean } 280 * 281 */ 282 public Boolean isSendToDlqIfMaxRetriesExceeded() { 283 return sendToDlqIfMaxRetriesExceeded; 284 } 285 286 /** 287 * Sets the value of the sendToDlqIfMaxRetriesExceeded property. 288 * 289 * @param value 290 * allowed object is 291 * {@link Boolean } 292 * 293 */ 294 public void setSendToDlqIfMaxRetriesExceeded(Boolean value) { 295 this.sendToDlqIfMaxRetriesExceeded = value; 296 } 297 298 /** 299 * Gets the value of the id property. 300 * 301 * @return 302 * possible object is 303 * {@link String } 304 * 305 */ 306 public String getId() { 307 return id; 308 } 309 310 /** 311 * Sets the value of the id property. 312 * 313 * @param value 314 * allowed object is 315 * {@link String } 316 * 317 */ 318 public void setId(String value) { 319 this.id = value; 320 } 321 322 /** 323 * Gets a map that contains attributes that aren't bound to any typed property on this class. 324 * 325 * <p> 326 * the map is keyed by the name of the attribute and 327 * the value is the string value of the attribute. 328 * 329 * the map returned by this method is live, and you can add new attribute 330 * by updating the map directly. Because of this design, there's no setter. 331 * 332 * 333 * @return 334 * always non-null 335 */ 336 public Map<QName, String> getOtherAttributes() { 337 return otherAttributes; 338 } 339 340 public String toString() { 341 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 342 final StringBuilder buffer = new StringBuilder(); 343 append(null, buffer, strategy); 344 return buffer.toString(); 345 } 346 347 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 348 strategy.appendStart(locator, this, buffer); 349 appendFields(locator, buffer, strategy); 350 strategy.appendEnd(locator, this, buffer); 351 return buffer; 352 } 353 354 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 355 { 356 List<Object> theAdminConnectionContextOrNextOrRedeliveryPolicyMap; 357 theAdminConnectionContextOrNextOrRedeliveryPolicyMap = (((this.adminConnectionContextOrNextOrRedeliveryPolicyMap!= null)&&(!this.adminConnectionContextOrNextOrRedeliveryPolicyMap.isEmpty()))?this.getAdminConnectionContextOrNextOrRedeliveryPolicyMap():null); 358 strategy.appendField(locator, this, "adminConnectionContextOrNextOrRedeliveryPolicyMap", buffer, theAdminConnectionContextOrNextOrRedeliveryPolicyMap); 359 } 360 { 361 String theAdminConnectionContext; 362 theAdminConnectionContext = this.getAdminConnectionContext(); 363 strategy.appendField(locator, this, "adminConnectionContext", buffer, theAdminConnectionContext); 364 } 365 { 366 Boolean theFallbackToDeadLetter; 367 theFallbackToDeadLetter = this.isFallbackToDeadLetter(); 368 strategy.appendField(locator, this, "fallbackToDeadLetter", buffer, theFallbackToDeadLetter); 369 } 370 { 371 String theNext; 372 theNext = this.getNext(); 373 strategy.appendField(locator, this, "next", buffer, theNext); 374 } 375 { 376 String theRedeliveryPolicyMap; 377 theRedeliveryPolicyMap = this.getRedeliveryPolicyMap(); 378 strategy.appendField(locator, this, "redeliveryPolicyMap", buffer, theRedeliveryPolicyMap); 379 } 380 { 381 Boolean theSendToDlqIfMaxRetriesExceeded; 382 theSendToDlqIfMaxRetriesExceeded = this.isSendToDlqIfMaxRetriesExceeded(); 383 strategy.appendField(locator, this, "sendToDlqIfMaxRetriesExceeded", buffer, theSendToDlqIfMaxRetriesExceeded); 384 } 385 { 386 String theId; 387 theId = this.getId(); 388 strategy.appendField(locator, this, "id", buffer, theId); 389 } 390 return buffer; 391 } 392 393 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 394 int currentHashCode = 1; 395 { 396 List<Object> theAdminConnectionContextOrNextOrRedeliveryPolicyMap; 397 theAdminConnectionContextOrNextOrRedeliveryPolicyMap = (((this.adminConnectionContextOrNextOrRedeliveryPolicyMap!= null)&&(!this.adminConnectionContextOrNextOrRedeliveryPolicyMap.isEmpty()))?this.getAdminConnectionContextOrNextOrRedeliveryPolicyMap():null); 398 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adminConnectionContextOrNextOrRedeliveryPolicyMap", theAdminConnectionContextOrNextOrRedeliveryPolicyMap), currentHashCode, theAdminConnectionContextOrNextOrRedeliveryPolicyMap); 399 } 400 { 401 String theAdminConnectionContext; 402 theAdminConnectionContext = this.getAdminConnectionContext(); 403 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adminConnectionContext", theAdminConnectionContext), currentHashCode, theAdminConnectionContext); 404 } 405 { 406 Boolean theFallbackToDeadLetter; 407 theFallbackToDeadLetter = this.isFallbackToDeadLetter(); 408 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "fallbackToDeadLetter", theFallbackToDeadLetter), currentHashCode, theFallbackToDeadLetter); 409 } 410 { 411 String theNext; 412 theNext = this.getNext(); 413 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "next", theNext), currentHashCode, theNext); 414 } 415 { 416 String theRedeliveryPolicyMap; 417 theRedeliveryPolicyMap = this.getRedeliveryPolicyMap(); 418 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "redeliveryPolicyMap", theRedeliveryPolicyMap), currentHashCode, theRedeliveryPolicyMap); 419 } 420 { 421 Boolean theSendToDlqIfMaxRetriesExceeded; 422 theSendToDlqIfMaxRetriesExceeded = this.isSendToDlqIfMaxRetriesExceeded(); 423 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sendToDlqIfMaxRetriesExceeded", theSendToDlqIfMaxRetriesExceeded), currentHashCode, theSendToDlqIfMaxRetriesExceeded); 424 } 425 { 426 String theId; 427 theId = this.getId(); 428 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 429 } 430 return currentHashCode; 431 } 432 433 public int hashCode() { 434 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 435 return this.hashCode(null, strategy); 436 } 437 438 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 439 if (!(object instanceof DtoRedeliveryPlugin)) { 440 return false; 441 } 442 if (this == object) { 443 return true; 444 } 445 final DtoRedeliveryPlugin that = ((DtoRedeliveryPlugin) object); 446 { 447 List<Object> lhsAdminConnectionContextOrNextOrRedeliveryPolicyMap; 448 lhsAdminConnectionContextOrNextOrRedeliveryPolicyMap = (((this.adminConnectionContextOrNextOrRedeliveryPolicyMap!= null)&&(!this.adminConnectionContextOrNextOrRedeliveryPolicyMap.isEmpty()))?this.getAdminConnectionContextOrNextOrRedeliveryPolicyMap():null); 449 List<Object> rhsAdminConnectionContextOrNextOrRedeliveryPolicyMap; 450 rhsAdminConnectionContextOrNextOrRedeliveryPolicyMap = (((that.adminConnectionContextOrNextOrRedeliveryPolicyMap!= null)&&(!that.adminConnectionContextOrNextOrRedeliveryPolicyMap.isEmpty()))?that.getAdminConnectionContextOrNextOrRedeliveryPolicyMap():null); 451 if (!strategy.equals(LocatorUtils.property(thisLocator, "adminConnectionContextOrNextOrRedeliveryPolicyMap", lhsAdminConnectionContextOrNextOrRedeliveryPolicyMap), LocatorUtils.property(thatLocator, "adminConnectionContextOrNextOrRedeliveryPolicyMap", rhsAdminConnectionContextOrNextOrRedeliveryPolicyMap), lhsAdminConnectionContextOrNextOrRedeliveryPolicyMap, rhsAdminConnectionContextOrNextOrRedeliveryPolicyMap)) { 452 return false; 453 } 454 } 455 { 456 String lhsAdminConnectionContext; 457 lhsAdminConnectionContext = this.getAdminConnectionContext(); 458 String rhsAdminConnectionContext; 459 rhsAdminConnectionContext = that.getAdminConnectionContext(); 460 if (!strategy.equals(LocatorUtils.property(thisLocator, "adminConnectionContext", lhsAdminConnectionContext), LocatorUtils.property(thatLocator, "adminConnectionContext", rhsAdminConnectionContext), lhsAdminConnectionContext, rhsAdminConnectionContext)) { 461 return false; 462 } 463 } 464 { 465 Boolean lhsFallbackToDeadLetter; 466 lhsFallbackToDeadLetter = this.isFallbackToDeadLetter(); 467 Boolean rhsFallbackToDeadLetter; 468 rhsFallbackToDeadLetter = that.isFallbackToDeadLetter(); 469 if (!strategy.equals(LocatorUtils.property(thisLocator, "fallbackToDeadLetter", lhsFallbackToDeadLetter), LocatorUtils.property(thatLocator, "fallbackToDeadLetter", rhsFallbackToDeadLetter), lhsFallbackToDeadLetter, rhsFallbackToDeadLetter)) { 470 return false; 471 } 472 } 473 { 474 String lhsNext; 475 lhsNext = this.getNext(); 476 String rhsNext; 477 rhsNext = that.getNext(); 478 if (!strategy.equals(LocatorUtils.property(thisLocator, "next", lhsNext), LocatorUtils.property(thatLocator, "next", rhsNext), lhsNext, rhsNext)) { 479 return false; 480 } 481 } 482 { 483 String lhsRedeliveryPolicyMap; 484 lhsRedeliveryPolicyMap = this.getRedeliveryPolicyMap(); 485 String rhsRedeliveryPolicyMap; 486 rhsRedeliveryPolicyMap = that.getRedeliveryPolicyMap(); 487 if (!strategy.equals(LocatorUtils.property(thisLocator, "redeliveryPolicyMap", lhsRedeliveryPolicyMap), LocatorUtils.property(thatLocator, "redeliveryPolicyMap", rhsRedeliveryPolicyMap), lhsRedeliveryPolicyMap, rhsRedeliveryPolicyMap)) { 488 return false; 489 } 490 } 491 { 492 Boolean lhsSendToDlqIfMaxRetriesExceeded; 493 lhsSendToDlqIfMaxRetriesExceeded = this.isSendToDlqIfMaxRetriesExceeded(); 494 Boolean rhsSendToDlqIfMaxRetriesExceeded; 495 rhsSendToDlqIfMaxRetriesExceeded = that.isSendToDlqIfMaxRetriesExceeded(); 496 if (!strategy.equals(LocatorUtils.property(thisLocator, "sendToDlqIfMaxRetriesExceeded", lhsSendToDlqIfMaxRetriesExceeded), LocatorUtils.property(thatLocator, "sendToDlqIfMaxRetriesExceeded", rhsSendToDlqIfMaxRetriesExceeded), lhsSendToDlqIfMaxRetriesExceeded, rhsSendToDlqIfMaxRetriesExceeded)) { 497 return false; 498 } 499 } 500 { 501 String lhsId; 502 lhsId = this.getId(); 503 String rhsId; 504 rhsId = that.getId(); 505 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 506 return false; 507 } 508 } 509 return true; 510 } 511 512 public boolean equals(Object object) { 513 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 514 return equals(null, null, object, strategy); 515 } 516 517 518 /** 519 * <p>Java class for anonymous complex type. 520 * 521 * <p>The following schema fragment specifies the expected content contained within this class. 522 * 523 * <pre> 524 * <complexType> 525 * <complexContent> 526 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 527 * <sequence minOccurs="0"> 528 * <any maxOccurs="unbounded" minOccurs="0"/> 529 * </sequence> 530 * </restriction> 531 * </complexContent> 532 * </complexType> 533 * </pre> 534 * 535 * 536 */ 537 @XmlAccessorType(XmlAccessType.FIELD) 538 @XmlType(name = "", propOrder = { 539 "any" 540 }) 541 public static class AdminConnectionContext 542 implements Equals, HashCode, ToString 543 { 544 545 @XmlAnyElement(lax = true) 546 protected List<Object> any; 547 548 /** 549 * Gets the value of the any property. 550 * 551 * <p> 552 * This accessor method returns a reference to the live list, 553 * not a snapshot. Therefore any modification you make to the 554 * returned list will be present inside the JAXB object. 555 * This is why there is not a <CODE>set</CODE> method for the any property. 556 * 557 * <p> 558 * For example, to add a new item, do as follows: 559 * <pre> 560 * getAny().add(newItem); 561 * </pre> 562 * 563 * 564 * <p> 565 * Objects of the following type(s) are allowed in the list 566 * {@link Object } 567 * 568 * 569 */ 570 public List<Object> getAny() { 571 if (any == null) { 572 any = new ArrayList<Object>(); 573 } 574 return this.any; 575 } 576 577 public String toString() { 578 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 579 final StringBuilder buffer = new StringBuilder(); 580 append(null, buffer, strategy); 581 return buffer.toString(); 582 } 583 584 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 585 strategy.appendStart(locator, this, buffer); 586 appendFields(locator, buffer, strategy); 587 strategy.appendEnd(locator, this, buffer); 588 return buffer; 589 } 590 591 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 592 { 593 List<Object> theAny; 594 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 595 strategy.appendField(locator, this, "any", buffer, theAny); 596 } 597 return buffer; 598 } 599 600 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 601 int currentHashCode = 1; 602 { 603 List<Object> theAny; 604 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 605 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 606 } 607 return currentHashCode; 608 } 609 610 public int hashCode() { 611 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 612 return this.hashCode(null, strategy); 613 } 614 615 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 616 if (!(object instanceof DtoRedeliveryPlugin.AdminConnectionContext)) { 617 return false; 618 } 619 if (this == object) { 620 return true; 621 } 622 final DtoRedeliveryPlugin.AdminConnectionContext that = ((DtoRedeliveryPlugin.AdminConnectionContext) object); 623 { 624 List<Object> lhsAny; 625 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 626 List<Object> rhsAny; 627 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 628 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 629 return false; 630 } 631 } 632 return true; 633 } 634 635 public boolean equals(Object object) { 636 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 637 return equals(null, null, object, strategy); 638 } 639 640 } 641 642 643 /** 644 * <p>Java class for anonymous complex type. 645 * 646 * <p>The following schema fragment specifies the expected content contained within this class. 647 * 648 * <pre> 649 * <complexType> 650 * <complexContent> 651 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 652 * <choice minOccurs="0"> 653 * <element ref="{http://activemq.apache.org/schema/core}destinationPathSeparatorPlugin"/> 654 * <element ref="{http://activemq.apache.org/schema/core}destinationsPlugin"/> 655 * <element ref="{http://activemq.apache.org/schema/core}forcePersistencyModeBroker"/> 656 * <element ref="{http://activemq.apache.org/schema/core}loggingBrokerPlugin"/> 657 * <element ref="{http://activemq.apache.org/schema/core}multicastTraceBrokerPlugin"/> 658 * <element ref="{http://activemq.apache.org/schema/core}redeliveryPlugin"/> 659 * <element ref="{http://activemq.apache.org/schema/core}timeStampingBrokerPlugin"/> 660 * <element ref="{http://activemq.apache.org/schema/core}traceBrokerPathPlugin"/> 661 * <element ref="{http://activemq.apache.org/schema/core}udpTraceBrokerPlugin"/> 662 * <any namespace='##other'/> 663 * </choice> 664 * </restriction> 665 * </complexContent> 666 * </complexType> 667 * </pre> 668 * 669 * 670 */ 671 @XmlAccessorType(XmlAccessType.FIELD) 672 @XmlType(name = "", propOrder = { 673 "destinationPathSeparatorPlugin", 674 "destinationsPlugin", 675 "forcePersistencyModeBroker", 676 "loggingBrokerPlugin", 677 "multicastTraceBrokerPlugin", 678 "redeliveryPlugin", 679 "timeStampingBrokerPlugin", 680 "traceBrokerPathPlugin", 681 "udpTraceBrokerPlugin", 682 "any" 683 }) 684 public static class Next 685 implements Equals, HashCode, ToString 686 { 687 688 protected DtoDestinationPathSeparatorPlugin destinationPathSeparatorPlugin; 689 protected DtoDestinationsPlugin destinationsPlugin; 690 protected DtoForcePersistencyModeBroker forcePersistencyModeBroker; 691 protected DtoLoggingBrokerPlugin loggingBrokerPlugin; 692 protected DtoMulticastTraceBrokerPlugin multicastTraceBrokerPlugin; 693 protected DtoRedeliveryPlugin redeliveryPlugin; 694 protected DtoTimeStampingBrokerPlugin timeStampingBrokerPlugin; 695 protected DtoTraceBrokerPathPlugin traceBrokerPathPlugin; 696 protected DtoUdpTraceBrokerPlugin udpTraceBrokerPlugin; 697 @XmlAnyElement(lax = true) 698 protected Object any; 699 700 /** 701 * Gets the value of the destinationPathSeparatorPlugin property. 702 * 703 * @return 704 * possible object is 705 * {@link DtoDestinationPathSeparatorPlugin } 706 * 707 */ 708 public DtoDestinationPathSeparatorPlugin getDestinationPathSeparatorPlugin() { 709 return destinationPathSeparatorPlugin; 710 } 711 712 /** 713 * Sets the value of the destinationPathSeparatorPlugin property. 714 * 715 * @param value 716 * allowed object is 717 * {@link DtoDestinationPathSeparatorPlugin } 718 * 719 */ 720 public void setDestinationPathSeparatorPlugin(DtoDestinationPathSeparatorPlugin value) { 721 this.destinationPathSeparatorPlugin = value; 722 } 723 724 /** 725 * Gets the value of the destinationsPlugin property. 726 * 727 * @return 728 * possible object is 729 * {@link DtoDestinationsPlugin } 730 * 731 */ 732 public DtoDestinationsPlugin getDestinationsPlugin() { 733 return destinationsPlugin; 734 } 735 736 /** 737 * Sets the value of the destinationsPlugin property. 738 * 739 * @param value 740 * allowed object is 741 * {@link DtoDestinationsPlugin } 742 * 743 */ 744 public void setDestinationsPlugin(DtoDestinationsPlugin value) { 745 this.destinationsPlugin = value; 746 } 747 748 /** 749 * Gets the value of the forcePersistencyModeBroker property. 750 * 751 * @return 752 * possible object is 753 * {@link DtoForcePersistencyModeBroker } 754 * 755 */ 756 public DtoForcePersistencyModeBroker getForcePersistencyModeBroker() { 757 return forcePersistencyModeBroker; 758 } 759 760 /** 761 * Sets the value of the forcePersistencyModeBroker property. 762 * 763 * @param value 764 * allowed object is 765 * {@link DtoForcePersistencyModeBroker } 766 * 767 */ 768 public void setForcePersistencyModeBroker(DtoForcePersistencyModeBroker value) { 769 this.forcePersistencyModeBroker = value; 770 } 771 772 /** 773 * Gets the value of the loggingBrokerPlugin property. 774 * 775 * @return 776 * possible object is 777 * {@link DtoLoggingBrokerPlugin } 778 * 779 */ 780 public DtoLoggingBrokerPlugin getLoggingBrokerPlugin() { 781 return loggingBrokerPlugin; 782 } 783 784 /** 785 * Sets the value of the loggingBrokerPlugin property. 786 * 787 * @param value 788 * allowed object is 789 * {@link DtoLoggingBrokerPlugin } 790 * 791 */ 792 public void setLoggingBrokerPlugin(DtoLoggingBrokerPlugin value) { 793 this.loggingBrokerPlugin = value; 794 } 795 796 /** 797 * Gets the value of the multicastTraceBrokerPlugin property. 798 * 799 * @return 800 * possible object is 801 * {@link DtoMulticastTraceBrokerPlugin } 802 * 803 */ 804 public DtoMulticastTraceBrokerPlugin getMulticastTraceBrokerPlugin() { 805 return multicastTraceBrokerPlugin; 806 } 807 808 /** 809 * Sets the value of the multicastTraceBrokerPlugin property. 810 * 811 * @param value 812 * allowed object is 813 * {@link DtoMulticastTraceBrokerPlugin } 814 * 815 */ 816 public void setMulticastTraceBrokerPlugin(DtoMulticastTraceBrokerPlugin value) { 817 this.multicastTraceBrokerPlugin = value; 818 } 819 820 /** 821 * Gets the value of the redeliveryPlugin property. 822 * 823 * @return 824 * possible object is 825 * {@link DtoRedeliveryPlugin } 826 * 827 */ 828 public DtoRedeliveryPlugin getRedeliveryPlugin() { 829 return redeliveryPlugin; 830 } 831 832 /** 833 * Sets the value of the redeliveryPlugin property. 834 * 835 * @param value 836 * allowed object is 837 * {@link DtoRedeliveryPlugin } 838 * 839 */ 840 public void setRedeliveryPlugin(DtoRedeliveryPlugin value) { 841 this.redeliveryPlugin = value; 842 } 843 844 /** 845 * Gets the value of the timeStampingBrokerPlugin property. 846 * 847 * @return 848 * possible object is 849 * {@link DtoTimeStampingBrokerPlugin } 850 * 851 */ 852 public DtoTimeStampingBrokerPlugin getTimeStampingBrokerPlugin() { 853 return timeStampingBrokerPlugin; 854 } 855 856 /** 857 * Sets the value of the timeStampingBrokerPlugin property. 858 * 859 * @param value 860 * allowed object is 861 * {@link DtoTimeStampingBrokerPlugin } 862 * 863 */ 864 public void setTimeStampingBrokerPlugin(DtoTimeStampingBrokerPlugin value) { 865 this.timeStampingBrokerPlugin = value; 866 } 867 868 /** 869 * Gets the value of the traceBrokerPathPlugin property. 870 * 871 * @return 872 * possible object is 873 * {@link DtoTraceBrokerPathPlugin } 874 * 875 */ 876 public DtoTraceBrokerPathPlugin getTraceBrokerPathPlugin() { 877 return traceBrokerPathPlugin; 878 } 879 880 /** 881 * Sets the value of the traceBrokerPathPlugin property. 882 * 883 * @param value 884 * allowed object is 885 * {@link DtoTraceBrokerPathPlugin } 886 * 887 */ 888 public void setTraceBrokerPathPlugin(DtoTraceBrokerPathPlugin value) { 889 this.traceBrokerPathPlugin = value; 890 } 891 892 /** 893 * Gets the value of the udpTraceBrokerPlugin property. 894 * 895 * @return 896 * possible object is 897 * {@link DtoUdpTraceBrokerPlugin } 898 * 899 */ 900 public DtoUdpTraceBrokerPlugin getUdpTraceBrokerPlugin() { 901 return udpTraceBrokerPlugin; 902 } 903 904 /** 905 * Sets the value of the udpTraceBrokerPlugin property. 906 * 907 * @param value 908 * allowed object is 909 * {@link DtoUdpTraceBrokerPlugin } 910 * 911 */ 912 public void setUdpTraceBrokerPlugin(DtoUdpTraceBrokerPlugin value) { 913 this.udpTraceBrokerPlugin = value; 914 } 915 916 /** 917 * Gets the value of the any property. 918 * 919 * @return 920 * possible object is 921 * {@link Object } 922 * 923 */ 924 public Object getAny() { 925 return any; 926 } 927 928 /** 929 * Sets the value of the any property. 930 * 931 * @param value 932 * allowed object is 933 * {@link Object } 934 * 935 */ 936 public void setAny(Object value) { 937 this.any = value; 938 } 939 940 public String toString() { 941 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 942 final StringBuilder buffer = new StringBuilder(); 943 append(null, buffer, strategy); 944 return buffer.toString(); 945 } 946 947 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 948 strategy.appendStart(locator, this, buffer); 949 appendFields(locator, buffer, strategy); 950 strategy.appendEnd(locator, this, buffer); 951 return buffer; 952 } 953 954 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 955 { 956 DtoDestinationPathSeparatorPlugin theDestinationPathSeparatorPlugin; 957 theDestinationPathSeparatorPlugin = this.getDestinationPathSeparatorPlugin(); 958 strategy.appendField(locator, this, "destinationPathSeparatorPlugin", buffer, theDestinationPathSeparatorPlugin); 959 } 960 { 961 DtoDestinationsPlugin theDestinationsPlugin; 962 theDestinationsPlugin = this.getDestinationsPlugin(); 963 strategy.appendField(locator, this, "destinationsPlugin", buffer, theDestinationsPlugin); 964 } 965 { 966 DtoForcePersistencyModeBroker theForcePersistencyModeBroker; 967 theForcePersistencyModeBroker = this.getForcePersistencyModeBroker(); 968 strategy.appendField(locator, this, "forcePersistencyModeBroker", buffer, theForcePersistencyModeBroker); 969 } 970 { 971 DtoLoggingBrokerPlugin theLoggingBrokerPlugin; 972 theLoggingBrokerPlugin = this.getLoggingBrokerPlugin(); 973 strategy.appendField(locator, this, "loggingBrokerPlugin", buffer, theLoggingBrokerPlugin); 974 } 975 { 976 DtoMulticastTraceBrokerPlugin theMulticastTraceBrokerPlugin; 977 theMulticastTraceBrokerPlugin = this.getMulticastTraceBrokerPlugin(); 978 strategy.appendField(locator, this, "multicastTraceBrokerPlugin", buffer, theMulticastTraceBrokerPlugin); 979 } 980 { 981 DtoRedeliveryPlugin theRedeliveryPlugin; 982 theRedeliveryPlugin = this.getRedeliveryPlugin(); 983 strategy.appendField(locator, this, "redeliveryPlugin", buffer, theRedeliveryPlugin); 984 } 985 { 986 DtoTimeStampingBrokerPlugin theTimeStampingBrokerPlugin; 987 theTimeStampingBrokerPlugin = this.getTimeStampingBrokerPlugin(); 988 strategy.appendField(locator, this, "timeStampingBrokerPlugin", buffer, theTimeStampingBrokerPlugin); 989 } 990 { 991 DtoTraceBrokerPathPlugin theTraceBrokerPathPlugin; 992 theTraceBrokerPathPlugin = this.getTraceBrokerPathPlugin(); 993 strategy.appendField(locator, this, "traceBrokerPathPlugin", buffer, theTraceBrokerPathPlugin); 994 } 995 { 996 DtoUdpTraceBrokerPlugin theUdpTraceBrokerPlugin; 997 theUdpTraceBrokerPlugin = this.getUdpTraceBrokerPlugin(); 998 strategy.appendField(locator, this, "udpTraceBrokerPlugin", buffer, theUdpTraceBrokerPlugin); 999 } 1000 { 1001 Object theAny; 1002 theAny = this.getAny(); 1003 strategy.appendField(locator, this, "any", buffer, theAny); 1004 } 1005 return buffer; 1006 } 1007 1008 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1009 int currentHashCode = 1; 1010 { 1011 DtoDestinationPathSeparatorPlugin theDestinationPathSeparatorPlugin; 1012 theDestinationPathSeparatorPlugin = this.getDestinationPathSeparatorPlugin(); 1013 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "destinationPathSeparatorPlugin", theDestinationPathSeparatorPlugin), currentHashCode, theDestinationPathSeparatorPlugin); 1014 } 1015 { 1016 DtoDestinationsPlugin theDestinationsPlugin; 1017 theDestinationsPlugin = this.getDestinationsPlugin(); 1018 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "destinationsPlugin", theDestinationsPlugin), currentHashCode, theDestinationsPlugin); 1019 } 1020 { 1021 DtoForcePersistencyModeBroker theForcePersistencyModeBroker; 1022 theForcePersistencyModeBroker = this.getForcePersistencyModeBroker(); 1023 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "forcePersistencyModeBroker", theForcePersistencyModeBroker), currentHashCode, theForcePersistencyModeBroker); 1024 } 1025 { 1026 DtoLoggingBrokerPlugin theLoggingBrokerPlugin; 1027 theLoggingBrokerPlugin = this.getLoggingBrokerPlugin(); 1028 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "loggingBrokerPlugin", theLoggingBrokerPlugin), currentHashCode, theLoggingBrokerPlugin); 1029 } 1030 { 1031 DtoMulticastTraceBrokerPlugin theMulticastTraceBrokerPlugin; 1032 theMulticastTraceBrokerPlugin = this.getMulticastTraceBrokerPlugin(); 1033 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "multicastTraceBrokerPlugin", theMulticastTraceBrokerPlugin), currentHashCode, theMulticastTraceBrokerPlugin); 1034 } 1035 { 1036 DtoRedeliveryPlugin theRedeliveryPlugin; 1037 theRedeliveryPlugin = this.getRedeliveryPlugin(); 1038 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "redeliveryPlugin", theRedeliveryPlugin), currentHashCode, theRedeliveryPlugin); 1039 } 1040 { 1041 DtoTimeStampingBrokerPlugin theTimeStampingBrokerPlugin; 1042 theTimeStampingBrokerPlugin = this.getTimeStampingBrokerPlugin(); 1043 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timeStampingBrokerPlugin", theTimeStampingBrokerPlugin), currentHashCode, theTimeStampingBrokerPlugin); 1044 } 1045 { 1046 DtoTraceBrokerPathPlugin theTraceBrokerPathPlugin; 1047 theTraceBrokerPathPlugin = this.getTraceBrokerPathPlugin(); 1048 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "traceBrokerPathPlugin", theTraceBrokerPathPlugin), currentHashCode, theTraceBrokerPathPlugin); 1049 } 1050 { 1051 DtoUdpTraceBrokerPlugin theUdpTraceBrokerPlugin; 1052 theUdpTraceBrokerPlugin = this.getUdpTraceBrokerPlugin(); 1053 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "udpTraceBrokerPlugin", theUdpTraceBrokerPlugin), currentHashCode, theUdpTraceBrokerPlugin); 1054 } 1055 { 1056 Object theAny; 1057 theAny = this.getAny(); 1058 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1059 } 1060 return currentHashCode; 1061 } 1062 1063 public int hashCode() { 1064 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1065 return this.hashCode(null, strategy); 1066 } 1067 1068 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1069 if (!(object instanceof DtoRedeliveryPlugin.Next)) { 1070 return false; 1071 } 1072 if (this == object) { 1073 return true; 1074 } 1075 final DtoRedeliveryPlugin.Next that = ((DtoRedeliveryPlugin.Next) object); 1076 { 1077 DtoDestinationPathSeparatorPlugin lhsDestinationPathSeparatorPlugin; 1078 lhsDestinationPathSeparatorPlugin = this.getDestinationPathSeparatorPlugin(); 1079 DtoDestinationPathSeparatorPlugin rhsDestinationPathSeparatorPlugin; 1080 rhsDestinationPathSeparatorPlugin = that.getDestinationPathSeparatorPlugin(); 1081 if (!strategy.equals(LocatorUtils.property(thisLocator, "destinationPathSeparatorPlugin", lhsDestinationPathSeparatorPlugin), LocatorUtils.property(thatLocator, "destinationPathSeparatorPlugin", rhsDestinationPathSeparatorPlugin), lhsDestinationPathSeparatorPlugin, rhsDestinationPathSeparatorPlugin)) { 1082 return false; 1083 } 1084 } 1085 { 1086 DtoDestinationsPlugin lhsDestinationsPlugin; 1087 lhsDestinationsPlugin = this.getDestinationsPlugin(); 1088 DtoDestinationsPlugin rhsDestinationsPlugin; 1089 rhsDestinationsPlugin = that.getDestinationsPlugin(); 1090 if (!strategy.equals(LocatorUtils.property(thisLocator, "destinationsPlugin", lhsDestinationsPlugin), LocatorUtils.property(thatLocator, "destinationsPlugin", rhsDestinationsPlugin), lhsDestinationsPlugin, rhsDestinationsPlugin)) { 1091 return false; 1092 } 1093 } 1094 { 1095 DtoForcePersistencyModeBroker lhsForcePersistencyModeBroker; 1096 lhsForcePersistencyModeBroker = this.getForcePersistencyModeBroker(); 1097 DtoForcePersistencyModeBroker rhsForcePersistencyModeBroker; 1098 rhsForcePersistencyModeBroker = that.getForcePersistencyModeBroker(); 1099 if (!strategy.equals(LocatorUtils.property(thisLocator, "forcePersistencyModeBroker", lhsForcePersistencyModeBroker), LocatorUtils.property(thatLocator, "forcePersistencyModeBroker", rhsForcePersistencyModeBroker), lhsForcePersistencyModeBroker, rhsForcePersistencyModeBroker)) { 1100 return false; 1101 } 1102 } 1103 { 1104 DtoLoggingBrokerPlugin lhsLoggingBrokerPlugin; 1105 lhsLoggingBrokerPlugin = this.getLoggingBrokerPlugin(); 1106 DtoLoggingBrokerPlugin rhsLoggingBrokerPlugin; 1107 rhsLoggingBrokerPlugin = that.getLoggingBrokerPlugin(); 1108 if (!strategy.equals(LocatorUtils.property(thisLocator, "loggingBrokerPlugin", lhsLoggingBrokerPlugin), LocatorUtils.property(thatLocator, "loggingBrokerPlugin", rhsLoggingBrokerPlugin), lhsLoggingBrokerPlugin, rhsLoggingBrokerPlugin)) { 1109 return false; 1110 } 1111 } 1112 { 1113 DtoMulticastTraceBrokerPlugin lhsMulticastTraceBrokerPlugin; 1114 lhsMulticastTraceBrokerPlugin = this.getMulticastTraceBrokerPlugin(); 1115 DtoMulticastTraceBrokerPlugin rhsMulticastTraceBrokerPlugin; 1116 rhsMulticastTraceBrokerPlugin = that.getMulticastTraceBrokerPlugin(); 1117 if (!strategy.equals(LocatorUtils.property(thisLocator, "multicastTraceBrokerPlugin", lhsMulticastTraceBrokerPlugin), LocatorUtils.property(thatLocator, "multicastTraceBrokerPlugin", rhsMulticastTraceBrokerPlugin), lhsMulticastTraceBrokerPlugin, rhsMulticastTraceBrokerPlugin)) { 1118 return false; 1119 } 1120 } 1121 { 1122 DtoRedeliveryPlugin lhsRedeliveryPlugin; 1123 lhsRedeliveryPlugin = this.getRedeliveryPlugin(); 1124 DtoRedeliveryPlugin rhsRedeliveryPlugin; 1125 rhsRedeliveryPlugin = that.getRedeliveryPlugin(); 1126 if (!strategy.equals(LocatorUtils.property(thisLocator, "redeliveryPlugin", lhsRedeliveryPlugin), LocatorUtils.property(thatLocator, "redeliveryPlugin", rhsRedeliveryPlugin), lhsRedeliveryPlugin, rhsRedeliveryPlugin)) { 1127 return false; 1128 } 1129 } 1130 { 1131 DtoTimeStampingBrokerPlugin lhsTimeStampingBrokerPlugin; 1132 lhsTimeStampingBrokerPlugin = this.getTimeStampingBrokerPlugin(); 1133 DtoTimeStampingBrokerPlugin rhsTimeStampingBrokerPlugin; 1134 rhsTimeStampingBrokerPlugin = that.getTimeStampingBrokerPlugin(); 1135 if (!strategy.equals(LocatorUtils.property(thisLocator, "timeStampingBrokerPlugin", lhsTimeStampingBrokerPlugin), LocatorUtils.property(thatLocator, "timeStampingBrokerPlugin", rhsTimeStampingBrokerPlugin), lhsTimeStampingBrokerPlugin, rhsTimeStampingBrokerPlugin)) { 1136 return false; 1137 } 1138 } 1139 { 1140 DtoTraceBrokerPathPlugin lhsTraceBrokerPathPlugin; 1141 lhsTraceBrokerPathPlugin = this.getTraceBrokerPathPlugin(); 1142 DtoTraceBrokerPathPlugin rhsTraceBrokerPathPlugin; 1143 rhsTraceBrokerPathPlugin = that.getTraceBrokerPathPlugin(); 1144 if (!strategy.equals(LocatorUtils.property(thisLocator, "traceBrokerPathPlugin", lhsTraceBrokerPathPlugin), LocatorUtils.property(thatLocator, "traceBrokerPathPlugin", rhsTraceBrokerPathPlugin), lhsTraceBrokerPathPlugin, rhsTraceBrokerPathPlugin)) { 1145 return false; 1146 } 1147 } 1148 { 1149 DtoUdpTraceBrokerPlugin lhsUdpTraceBrokerPlugin; 1150 lhsUdpTraceBrokerPlugin = this.getUdpTraceBrokerPlugin(); 1151 DtoUdpTraceBrokerPlugin rhsUdpTraceBrokerPlugin; 1152 rhsUdpTraceBrokerPlugin = that.getUdpTraceBrokerPlugin(); 1153 if (!strategy.equals(LocatorUtils.property(thisLocator, "udpTraceBrokerPlugin", lhsUdpTraceBrokerPlugin), LocatorUtils.property(thatLocator, "udpTraceBrokerPlugin", rhsUdpTraceBrokerPlugin), lhsUdpTraceBrokerPlugin, rhsUdpTraceBrokerPlugin)) { 1154 return false; 1155 } 1156 } 1157 { 1158 Object lhsAny; 1159 lhsAny = this.getAny(); 1160 Object rhsAny; 1161 rhsAny = that.getAny(); 1162 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1163 return false; 1164 } 1165 } 1166 return true; 1167 } 1168 1169 public boolean equals(Object object) { 1170 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1171 return equals(null, null, object, strategy); 1172 } 1173 1174 } 1175 1176 1177 /** 1178 * <p>Java class for anonymous complex type. 1179 * 1180 * <p>The following schema fragment specifies the expected content contained within this class. 1181 * 1182 * <pre> 1183 * <complexType> 1184 * <complexContent> 1185 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1186 * <choice minOccurs="0"> 1187 * <element ref="{http://activemq.apache.org/schema/core}redeliveryPolicyMap"/> 1188 * <any namespace='##other'/> 1189 * </choice> 1190 * </restriction> 1191 * </complexContent> 1192 * </complexType> 1193 * </pre> 1194 * 1195 * 1196 */ 1197 @XmlAccessorType(XmlAccessType.FIELD) 1198 @XmlType(name = "", propOrder = { 1199 "redeliveryPolicyMap", 1200 "any" 1201 }) 1202 public static class RedeliveryPolicyMap 1203 implements Equals, HashCode, ToString 1204 { 1205 1206 protected DtoRedeliveryPolicyMap redeliveryPolicyMap; 1207 @XmlAnyElement(lax = true) 1208 protected Object any; 1209 1210 /** 1211 * Gets the value of the redeliveryPolicyMap property. 1212 * 1213 * @return 1214 * possible object is 1215 * {@link DtoRedeliveryPolicyMap } 1216 * 1217 */ 1218 public DtoRedeliveryPolicyMap getRedeliveryPolicyMap() { 1219 return redeliveryPolicyMap; 1220 } 1221 1222 /** 1223 * Sets the value of the redeliveryPolicyMap property. 1224 * 1225 * @param value 1226 * allowed object is 1227 * {@link DtoRedeliveryPolicyMap } 1228 * 1229 */ 1230 public void setRedeliveryPolicyMap(DtoRedeliveryPolicyMap value) { 1231 this.redeliveryPolicyMap = value; 1232 } 1233 1234 /** 1235 * Gets the value of the any property. 1236 * 1237 * @return 1238 * possible object is 1239 * {@link Object } 1240 * 1241 */ 1242 public Object getAny() { 1243 return any; 1244 } 1245 1246 /** 1247 * Sets the value of the any property. 1248 * 1249 * @param value 1250 * allowed object is 1251 * {@link Object } 1252 * 1253 */ 1254 public void setAny(Object value) { 1255 this.any = value; 1256 } 1257 1258 public String toString() { 1259 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1260 final StringBuilder buffer = new StringBuilder(); 1261 append(null, buffer, strategy); 1262 return buffer.toString(); 1263 } 1264 1265 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1266 strategy.appendStart(locator, this, buffer); 1267 appendFields(locator, buffer, strategy); 1268 strategy.appendEnd(locator, this, buffer); 1269 return buffer; 1270 } 1271 1272 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1273 { 1274 DtoRedeliveryPolicyMap theRedeliveryPolicyMap; 1275 theRedeliveryPolicyMap = this.getRedeliveryPolicyMap(); 1276 strategy.appendField(locator, this, "redeliveryPolicyMap", buffer, theRedeliveryPolicyMap); 1277 } 1278 { 1279 Object theAny; 1280 theAny = this.getAny(); 1281 strategy.appendField(locator, this, "any", buffer, theAny); 1282 } 1283 return buffer; 1284 } 1285 1286 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1287 int currentHashCode = 1; 1288 { 1289 DtoRedeliveryPolicyMap theRedeliveryPolicyMap; 1290 theRedeliveryPolicyMap = this.getRedeliveryPolicyMap(); 1291 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "redeliveryPolicyMap", theRedeliveryPolicyMap), currentHashCode, theRedeliveryPolicyMap); 1292 } 1293 { 1294 Object theAny; 1295 theAny = this.getAny(); 1296 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1297 } 1298 return currentHashCode; 1299 } 1300 1301 public int hashCode() { 1302 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1303 return this.hashCode(null, strategy); 1304 } 1305 1306 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1307 if (!(object instanceof DtoRedeliveryPlugin.RedeliveryPolicyMap)) { 1308 return false; 1309 } 1310 if (this == object) { 1311 return true; 1312 } 1313 final DtoRedeliveryPlugin.RedeliveryPolicyMap that = ((DtoRedeliveryPlugin.RedeliveryPolicyMap) object); 1314 { 1315 DtoRedeliveryPolicyMap lhsRedeliveryPolicyMap; 1316 lhsRedeliveryPolicyMap = this.getRedeliveryPolicyMap(); 1317 DtoRedeliveryPolicyMap rhsRedeliveryPolicyMap; 1318 rhsRedeliveryPolicyMap = that.getRedeliveryPolicyMap(); 1319 if (!strategy.equals(LocatorUtils.property(thisLocator, "redeliveryPolicyMap", lhsRedeliveryPolicyMap), LocatorUtils.property(thatLocator, "redeliveryPolicyMap", rhsRedeliveryPolicyMap), lhsRedeliveryPolicyMap, rhsRedeliveryPolicyMap)) { 1320 return false; 1321 } 1322 } 1323 { 1324 Object lhsAny; 1325 lhsAny = this.getAny(); 1326 Object rhsAny; 1327 rhsAny = that.getAny(); 1328 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1329 return false; 1330 } 1331 } 1332 return true; 1333 } 1334 1335 public boolean equals(Object object) { 1336 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1337 return equals(null, null, object, strategy); 1338 } 1339 1340 } 1341 1342}