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