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