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: 2021.01.20 at 07:26:32 AM EST 006// 007 008 009package org.apache.activemq.schema.core; 010 011import java.math.BigInteger; 012import java.util.HashMap; 013import java.util.Map; 014import javax.xml.bind.annotation.XmlAccessType; 015import javax.xml.bind.annotation.XmlAccessorType; 016import javax.xml.bind.annotation.XmlAnyAttribute; 017import javax.xml.bind.annotation.XmlAttribute; 018import javax.xml.bind.annotation.XmlID; 019import javax.xml.bind.annotation.XmlRootElement; 020import javax.xml.bind.annotation.XmlSchemaType; 021import javax.xml.bind.annotation.XmlType; 022import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 023import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 024import javax.xml.namespace.QName; 025import org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy; 026import org.jvnet.jaxb2_commons.lang.Equals; 027import org.jvnet.jaxb2_commons.lang.EqualsStrategy; 028import org.jvnet.jaxb2_commons.lang.HashCode; 029import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; 030import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; 031import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; 032import org.jvnet.jaxb2_commons.lang.ToString; 033import org.jvnet.jaxb2_commons.lang.ToStringStrategy; 034import org.jvnet.jaxb2_commons.locator.ObjectLocator; 035import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; 036 037 038/** 039 * <p>Java class for anonymous complex type. 040 * 041 * <p>The following schema fragment specifies the expected content contained within this class. 042 * 043 * <pre> 044 * <complexType> 045 * <complexContent> 046 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 047 * <attribute name="destinationPerDurableSubscriber" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 048 * <attribute name="enableAudit" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 049 * <attribute name="expiration" type="{http://www.w3.org/2001/XMLSchema}long" /> 050 * <attribute name="maxAuditDepth" type="{http://www.w3.org/2001/XMLSchema}integer" /> 051 * <attribute name="maxProducersToAudit" type="{http://www.w3.org/2001/XMLSchema}integer" /> 052 * <attribute name="processExpired" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 053 * <attribute name="processNonPersistent" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 054 * <attribute name="queuePrefix" type="{http://www.w3.org/2001/XMLSchema}string" /> 055 * <attribute name="queueSuffix" type="{http://www.w3.org/2001/XMLSchema}string" /> 056 * <attribute name="topicPrefix" type="{http://www.w3.org/2001/XMLSchema}string" /> 057 * <attribute name="topicSuffix" type="{http://www.w3.org/2001/XMLSchema}string" /> 058 * <attribute name="useQueueForQueueMessages" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 059 * <attribute name="useQueueForTopicMessages" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 060 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 061 * <anyAttribute processContents='lax' namespace='##other'/> 062 * </restriction> 063 * </complexContent> 064 * </complexType> 065 * </pre> 066 * 067 * 068 */ 069@XmlAccessorType(XmlAccessType.FIELD) 070@XmlType(name = "") 071@XmlRootElement(name = "individualDeadLetterStrategy") 072public class DtoIndividualDeadLetterStrategy 073 implements Equals, HashCode, ToString 074{ 075 076 @XmlAttribute(name = "destinationPerDurableSubscriber") 077 protected Boolean destinationPerDurableSubscriber; 078 @XmlAttribute(name = "enableAudit") 079 protected Boolean enableAudit; 080 @XmlAttribute(name = "expiration") 081 protected Long expiration; 082 @XmlAttribute(name = "maxAuditDepth") 083 protected BigInteger maxAuditDepth; 084 @XmlAttribute(name = "maxProducersToAudit") 085 protected BigInteger maxProducersToAudit; 086 @XmlAttribute(name = "processExpired") 087 protected Boolean processExpired; 088 @XmlAttribute(name = "processNonPersistent") 089 protected Boolean processNonPersistent; 090 @XmlAttribute(name = "queuePrefix") 091 protected String queuePrefix; 092 @XmlAttribute(name = "queueSuffix") 093 protected String queueSuffix; 094 @XmlAttribute(name = "topicPrefix") 095 protected String topicPrefix; 096 @XmlAttribute(name = "topicSuffix") 097 protected String topicSuffix; 098 @XmlAttribute(name = "useQueueForQueueMessages") 099 protected Boolean useQueueForQueueMessages; 100 @XmlAttribute(name = "useQueueForTopicMessages") 101 protected Boolean useQueueForTopicMessages; 102 @XmlAttribute(name = "id") 103 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 104 @XmlID 105 @XmlSchemaType(name = "ID") 106 protected String id; 107 @XmlAnyAttribute 108 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 109 110 /** 111 * Gets the value of the destinationPerDurableSubscriber property. 112 * 113 * @return 114 * possible object is 115 * {@link Boolean } 116 * 117 */ 118 public Boolean isDestinationPerDurableSubscriber() { 119 return destinationPerDurableSubscriber; 120 } 121 122 /** 123 * Sets the value of the destinationPerDurableSubscriber property. 124 * 125 * @param value 126 * allowed object is 127 * {@link Boolean } 128 * 129 */ 130 public void setDestinationPerDurableSubscriber(Boolean value) { 131 this.destinationPerDurableSubscriber = value; 132 } 133 134 /** 135 * Gets the value of the enableAudit property. 136 * 137 * @return 138 * possible object is 139 * {@link Boolean } 140 * 141 */ 142 public Boolean isEnableAudit() { 143 return enableAudit; 144 } 145 146 /** 147 * Sets the value of the enableAudit property. 148 * 149 * @param value 150 * allowed object is 151 * {@link Boolean } 152 * 153 */ 154 public void setEnableAudit(Boolean value) { 155 this.enableAudit = value; 156 } 157 158 /** 159 * Gets the value of the expiration property. 160 * 161 * @return 162 * possible object is 163 * {@link Long } 164 * 165 */ 166 public Long getExpiration() { 167 return expiration; 168 } 169 170 /** 171 * Sets the value of the expiration property. 172 * 173 * @param value 174 * allowed object is 175 * {@link Long } 176 * 177 */ 178 public void setExpiration(Long value) { 179 this.expiration = value; 180 } 181 182 /** 183 * Gets the value of the maxAuditDepth property. 184 * 185 * @return 186 * possible object is 187 * {@link BigInteger } 188 * 189 */ 190 public BigInteger getMaxAuditDepth() { 191 return maxAuditDepth; 192 } 193 194 /** 195 * Sets the value of the maxAuditDepth property. 196 * 197 * @param value 198 * allowed object is 199 * {@link BigInteger } 200 * 201 */ 202 public void setMaxAuditDepth(BigInteger value) { 203 this.maxAuditDepth = value; 204 } 205 206 /** 207 * Gets the value of the maxProducersToAudit property. 208 * 209 * @return 210 * possible object is 211 * {@link BigInteger } 212 * 213 */ 214 public BigInteger getMaxProducersToAudit() { 215 return maxProducersToAudit; 216 } 217 218 /** 219 * Sets the value of the maxProducersToAudit property. 220 * 221 * @param value 222 * allowed object is 223 * {@link BigInteger } 224 * 225 */ 226 public void setMaxProducersToAudit(BigInteger value) { 227 this.maxProducersToAudit = value; 228 } 229 230 /** 231 * Gets the value of the processExpired property. 232 * 233 * @return 234 * possible object is 235 * {@link Boolean } 236 * 237 */ 238 public Boolean isProcessExpired() { 239 return processExpired; 240 } 241 242 /** 243 * Sets the value of the processExpired property. 244 * 245 * @param value 246 * allowed object is 247 * {@link Boolean } 248 * 249 */ 250 public void setProcessExpired(Boolean value) { 251 this.processExpired = value; 252 } 253 254 /** 255 * Gets the value of the processNonPersistent property. 256 * 257 * @return 258 * possible object is 259 * {@link Boolean } 260 * 261 */ 262 public Boolean isProcessNonPersistent() { 263 return processNonPersistent; 264 } 265 266 /** 267 * Sets the value of the processNonPersistent property. 268 * 269 * @param value 270 * allowed object is 271 * {@link Boolean } 272 * 273 */ 274 public void setProcessNonPersistent(Boolean value) { 275 this.processNonPersistent = value; 276 } 277 278 /** 279 * Gets the value of the queuePrefix property. 280 * 281 * @return 282 * possible object is 283 * {@link String } 284 * 285 */ 286 public String getQueuePrefix() { 287 return queuePrefix; 288 } 289 290 /** 291 * Sets the value of the queuePrefix property. 292 * 293 * @param value 294 * allowed object is 295 * {@link String } 296 * 297 */ 298 public void setQueuePrefix(String value) { 299 this.queuePrefix = value; 300 } 301 302 /** 303 * Gets the value of the queueSuffix property. 304 * 305 * @return 306 * possible object is 307 * {@link String } 308 * 309 */ 310 public String getQueueSuffix() { 311 return queueSuffix; 312 } 313 314 /** 315 * Sets the value of the queueSuffix property. 316 * 317 * @param value 318 * allowed object is 319 * {@link String } 320 * 321 */ 322 public void setQueueSuffix(String value) { 323 this.queueSuffix = value; 324 } 325 326 /** 327 * Gets the value of the topicPrefix property. 328 * 329 * @return 330 * possible object is 331 * {@link String } 332 * 333 */ 334 public String getTopicPrefix() { 335 return topicPrefix; 336 } 337 338 /** 339 * Sets the value of the topicPrefix property. 340 * 341 * @param value 342 * allowed object is 343 * {@link String } 344 * 345 */ 346 public void setTopicPrefix(String value) { 347 this.topicPrefix = value; 348 } 349 350 /** 351 * Gets the value of the topicSuffix property. 352 * 353 * @return 354 * possible object is 355 * {@link String } 356 * 357 */ 358 public String getTopicSuffix() { 359 return topicSuffix; 360 } 361 362 /** 363 * Sets the value of the topicSuffix property. 364 * 365 * @param value 366 * allowed object is 367 * {@link String } 368 * 369 */ 370 public void setTopicSuffix(String value) { 371 this.topicSuffix = value; 372 } 373 374 /** 375 * Gets the value of the useQueueForQueueMessages property. 376 * 377 * @return 378 * possible object is 379 * {@link Boolean } 380 * 381 */ 382 public Boolean isUseQueueForQueueMessages() { 383 return useQueueForQueueMessages; 384 } 385 386 /** 387 * Sets the value of the useQueueForQueueMessages property. 388 * 389 * @param value 390 * allowed object is 391 * {@link Boolean } 392 * 393 */ 394 public void setUseQueueForQueueMessages(Boolean value) { 395 this.useQueueForQueueMessages = value; 396 } 397 398 /** 399 * Gets the value of the useQueueForTopicMessages property. 400 * 401 * @return 402 * possible object is 403 * {@link Boolean } 404 * 405 */ 406 public Boolean isUseQueueForTopicMessages() { 407 return useQueueForTopicMessages; 408 } 409 410 /** 411 * Sets the value of the useQueueForTopicMessages property. 412 * 413 * @param value 414 * allowed object is 415 * {@link Boolean } 416 * 417 */ 418 public void setUseQueueForTopicMessages(Boolean value) { 419 this.useQueueForTopicMessages = value; 420 } 421 422 /** 423 * Gets the value of the id property. 424 * 425 * @return 426 * possible object is 427 * {@link String } 428 * 429 */ 430 public String getId() { 431 return id; 432 } 433 434 /** 435 * Sets the value of the id property. 436 * 437 * @param value 438 * allowed object is 439 * {@link String } 440 * 441 */ 442 public void setId(String value) { 443 this.id = value; 444 } 445 446 /** 447 * Gets a map that contains attributes that aren't bound to any typed property on this class. 448 * 449 * <p> 450 * the map is keyed by the name of the attribute and 451 * the value is the string value of the attribute. 452 * 453 * the map returned by this method is live, and you can add new attribute 454 * by updating the map directly. Because of this design, there's no setter. 455 * 456 * 457 * @return 458 * always non-null 459 */ 460 public Map<QName, String> getOtherAttributes() { 461 return otherAttributes; 462 } 463 464 public String toString() { 465 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 466 final StringBuilder buffer = new StringBuilder(); 467 append(null, buffer, strategy); 468 return buffer.toString(); 469 } 470 471 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 472 strategy.appendStart(locator, this, buffer); 473 appendFields(locator, buffer, strategy); 474 strategy.appendEnd(locator, this, buffer); 475 return buffer; 476 } 477 478 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 479 { 480 Boolean theDestinationPerDurableSubscriber; 481 theDestinationPerDurableSubscriber = this.isDestinationPerDurableSubscriber(); 482 strategy.appendField(locator, this, "destinationPerDurableSubscriber", buffer, theDestinationPerDurableSubscriber); 483 } 484 { 485 Boolean theEnableAudit; 486 theEnableAudit = this.isEnableAudit(); 487 strategy.appendField(locator, this, "enableAudit", buffer, theEnableAudit); 488 } 489 { 490 Long theExpiration; 491 theExpiration = this.getExpiration(); 492 strategy.appendField(locator, this, "expiration", buffer, theExpiration); 493 } 494 { 495 BigInteger theMaxAuditDepth; 496 theMaxAuditDepth = this.getMaxAuditDepth(); 497 strategy.appendField(locator, this, "maxAuditDepth", buffer, theMaxAuditDepth); 498 } 499 { 500 BigInteger theMaxProducersToAudit; 501 theMaxProducersToAudit = this.getMaxProducersToAudit(); 502 strategy.appendField(locator, this, "maxProducersToAudit", buffer, theMaxProducersToAudit); 503 } 504 { 505 Boolean theProcessExpired; 506 theProcessExpired = this.isProcessExpired(); 507 strategy.appendField(locator, this, "processExpired", buffer, theProcessExpired); 508 } 509 { 510 Boolean theProcessNonPersistent; 511 theProcessNonPersistent = this.isProcessNonPersistent(); 512 strategy.appendField(locator, this, "processNonPersistent", buffer, theProcessNonPersistent); 513 } 514 { 515 String theQueuePrefix; 516 theQueuePrefix = this.getQueuePrefix(); 517 strategy.appendField(locator, this, "queuePrefix", buffer, theQueuePrefix); 518 } 519 { 520 String theQueueSuffix; 521 theQueueSuffix = this.getQueueSuffix(); 522 strategy.appendField(locator, this, "queueSuffix", buffer, theQueueSuffix); 523 } 524 { 525 String theTopicPrefix; 526 theTopicPrefix = this.getTopicPrefix(); 527 strategy.appendField(locator, this, "topicPrefix", buffer, theTopicPrefix); 528 } 529 { 530 String theTopicSuffix; 531 theTopicSuffix = this.getTopicSuffix(); 532 strategy.appendField(locator, this, "topicSuffix", buffer, theTopicSuffix); 533 } 534 { 535 Boolean theUseQueueForQueueMessages; 536 theUseQueueForQueueMessages = this.isUseQueueForQueueMessages(); 537 strategy.appendField(locator, this, "useQueueForQueueMessages", buffer, theUseQueueForQueueMessages); 538 } 539 { 540 Boolean theUseQueueForTopicMessages; 541 theUseQueueForTopicMessages = this.isUseQueueForTopicMessages(); 542 strategy.appendField(locator, this, "useQueueForTopicMessages", buffer, theUseQueueForTopicMessages); 543 } 544 { 545 String theId; 546 theId = this.getId(); 547 strategy.appendField(locator, this, "id", buffer, theId); 548 } 549 return buffer; 550 } 551 552 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 553 int currentHashCode = 1; 554 { 555 Boolean theDestinationPerDurableSubscriber; 556 theDestinationPerDurableSubscriber = this.isDestinationPerDurableSubscriber(); 557 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "destinationPerDurableSubscriber", theDestinationPerDurableSubscriber), currentHashCode, theDestinationPerDurableSubscriber); 558 } 559 { 560 Boolean theEnableAudit; 561 theEnableAudit = this.isEnableAudit(); 562 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "enableAudit", theEnableAudit), currentHashCode, theEnableAudit); 563 } 564 { 565 Long theExpiration; 566 theExpiration = this.getExpiration(); 567 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "expiration", theExpiration), currentHashCode, theExpiration); 568 } 569 { 570 BigInteger theMaxAuditDepth; 571 theMaxAuditDepth = this.getMaxAuditDepth(); 572 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxAuditDepth", theMaxAuditDepth), currentHashCode, theMaxAuditDepth); 573 } 574 { 575 BigInteger theMaxProducersToAudit; 576 theMaxProducersToAudit = this.getMaxProducersToAudit(); 577 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxProducersToAudit", theMaxProducersToAudit), currentHashCode, theMaxProducersToAudit); 578 } 579 { 580 Boolean theProcessExpired; 581 theProcessExpired = this.isProcessExpired(); 582 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "processExpired", theProcessExpired), currentHashCode, theProcessExpired); 583 } 584 { 585 Boolean theProcessNonPersistent; 586 theProcessNonPersistent = this.isProcessNonPersistent(); 587 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "processNonPersistent", theProcessNonPersistent), currentHashCode, theProcessNonPersistent); 588 } 589 { 590 String theQueuePrefix; 591 theQueuePrefix = this.getQueuePrefix(); 592 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queuePrefix", theQueuePrefix), currentHashCode, theQueuePrefix); 593 } 594 { 595 String theQueueSuffix; 596 theQueueSuffix = this.getQueueSuffix(); 597 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queueSuffix", theQueueSuffix), currentHashCode, theQueueSuffix); 598 } 599 { 600 String theTopicPrefix; 601 theTopicPrefix = this.getTopicPrefix(); 602 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "topicPrefix", theTopicPrefix), currentHashCode, theTopicPrefix); 603 } 604 { 605 String theTopicSuffix; 606 theTopicSuffix = this.getTopicSuffix(); 607 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "topicSuffix", theTopicSuffix), currentHashCode, theTopicSuffix); 608 } 609 { 610 Boolean theUseQueueForQueueMessages; 611 theUseQueueForQueueMessages = this.isUseQueueForQueueMessages(); 612 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useQueueForQueueMessages", theUseQueueForQueueMessages), currentHashCode, theUseQueueForQueueMessages); 613 } 614 { 615 Boolean theUseQueueForTopicMessages; 616 theUseQueueForTopicMessages = this.isUseQueueForTopicMessages(); 617 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useQueueForTopicMessages", theUseQueueForTopicMessages), currentHashCode, theUseQueueForTopicMessages); 618 } 619 { 620 String theId; 621 theId = this.getId(); 622 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 623 } 624 return currentHashCode; 625 } 626 627 public int hashCode() { 628 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 629 return this.hashCode(null, strategy); 630 } 631 632 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 633 if (!(object instanceof DtoIndividualDeadLetterStrategy)) { 634 return false; 635 } 636 if (this == object) { 637 return true; 638 } 639 final DtoIndividualDeadLetterStrategy that = ((DtoIndividualDeadLetterStrategy) object); 640 { 641 Boolean lhsDestinationPerDurableSubscriber; 642 lhsDestinationPerDurableSubscriber = this.isDestinationPerDurableSubscriber(); 643 Boolean rhsDestinationPerDurableSubscriber; 644 rhsDestinationPerDurableSubscriber = that.isDestinationPerDurableSubscriber(); 645 if (!strategy.equals(LocatorUtils.property(thisLocator, "destinationPerDurableSubscriber", lhsDestinationPerDurableSubscriber), LocatorUtils.property(thatLocator, "destinationPerDurableSubscriber", rhsDestinationPerDurableSubscriber), lhsDestinationPerDurableSubscriber, rhsDestinationPerDurableSubscriber)) { 646 return false; 647 } 648 } 649 { 650 Boolean lhsEnableAudit; 651 lhsEnableAudit = this.isEnableAudit(); 652 Boolean rhsEnableAudit; 653 rhsEnableAudit = that.isEnableAudit(); 654 if (!strategy.equals(LocatorUtils.property(thisLocator, "enableAudit", lhsEnableAudit), LocatorUtils.property(thatLocator, "enableAudit", rhsEnableAudit), lhsEnableAudit, rhsEnableAudit)) { 655 return false; 656 } 657 } 658 { 659 Long lhsExpiration; 660 lhsExpiration = this.getExpiration(); 661 Long rhsExpiration; 662 rhsExpiration = that.getExpiration(); 663 if (!strategy.equals(LocatorUtils.property(thisLocator, "expiration", lhsExpiration), LocatorUtils.property(thatLocator, "expiration", rhsExpiration), lhsExpiration, rhsExpiration)) { 664 return false; 665 } 666 } 667 { 668 BigInteger lhsMaxAuditDepth; 669 lhsMaxAuditDepth = this.getMaxAuditDepth(); 670 BigInteger rhsMaxAuditDepth; 671 rhsMaxAuditDepth = that.getMaxAuditDepth(); 672 if (!strategy.equals(LocatorUtils.property(thisLocator, "maxAuditDepth", lhsMaxAuditDepth), LocatorUtils.property(thatLocator, "maxAuditDepth", rhsMaxAuditDepth), lhsMaxAuditDepth, rhsMaxAuditDepth)) { 673 return false; 674 } 675 } 676 { 677 BigInteger lhsMaxProducersToAudit; 678 lhsMaxProducersToAudit = this.getMaxProducersToAudit(); 679 BigInteger rhsMaxProducersToAudit; 680 rhsMaxProducersToAudit = that.getMaxProducersToAudit(); 681 if (!strategy.equals(LocatorUtils.property(thisLocator, "maxProducersToAudit", lhsMaxProducersToAudit), LocatorUtils.property(thatLocator, "maxProducersToAudit", rhsMaxProducersToAudit), lhsMaxProducersToAudit, rhsMaxProducersToAudit)) { 682 return false; 683 } 684 } 685 { 686 Boolean lhsProcessExpired; 687 lhsProcessExpired = this.isProcessExpired(); 688 Boolean rhsProcessExpired; 689 rhsProcessExpired = that.isProcessExpired(); 690 if (!strategy.equals(LocatorUtils.property(thisLocator, "processExpired", lhsProcessExpired), LocatorUtils.property(thatLocator, "processExpired", rhsProcessExpired), lhsProcessExpired, rhsProcessExpired)) { 691 return false; 692 } 693 } 694 { 695 Boolean lhsProcessNonPersistent; 696 lhsProcessNonPersistent = this.isProcessNonPersistent(); 697 Boolean rhsProcessNonPersistent; 698 rhsProcessNonPersistent = that.isProcessNonPersistent(); 699 if (!strategy.equals(LocatorUtils.property(thisLocator, "processNonPersistent", lhsProcessNonPersistent), LocatorUtils.property(thatLocator, "processNonPersistent", rhsProcessNonPersistent), lhsProcessNonPersistent, rhsProcessNonPersistent)) { 700 return false; 701 } 702 } 703 { 704 String lhsQueuePrefix; 705 lhsQueuePrefix = this.getQueuePrefix(); 706 String rhsQueuePrefix; 707 rhsQueuePrefix = that.getQueuePrefix(); 708 if (!strategy.equals(LocatorUtils.property(thisLocator, "queuePrefix", lhsQueuePrefix), LocatorUtils.property(thatLocator, "queuePrefix", rhsQueuePrefix), lhsQueuePrefix, rhsQueuePrefix)) { 709 return false; 710 } 711 } 712 { 713 String lhsQueueSuffix; 714 lhsQueueSuffix = this.getQueueSuffix(); 715 String rhsQueueSuffix; 716 rhsQueueSuffix = that.getQueueSuffix(); 717 if (!strategy.equals(LocatorUtils.property(thisLocator, "queueSuffix", lhsQueueSuffix), LocatorUtils.property(thatLocator, "queueSuffix", rhsQueueSuffix), lhsQueueSuffix, rhsQueueSuffix)) { 718 return false; 719 } 720 } 721 { 722 String lhsTopicPrefix; 723 lhsTopicPrefix = this.getTopicPrefix(); 724 String rhsTopicPrefix; 725 rhsTopicPrefix = that.getTopicPrefix(); 726 if (!strategy.equals(LocatorUtils.property(thisLocator, "topicPrefix", lhsTopicPrefix), LocatorUtils.property(thatLocator, "topicPrefix", rhsTopicPrefix), lhsTopicPrefix, rhsTopicPrefix)) { 727 return false; 728 } 729 } 730 { 731 String lhsTopicSuffix; 732 lhsTopicSuffix = this.getTopicSuffix(); 733 String rhsTopicSuffix; 734 rhsTopicSuffix = that.getTopicSuffix(); 735 if (!strategy.equals(LocatorUtils.property(thisLocator, "topicSuffix", lhsTopicSuffix), LocatorUtils.property(thatLocator, "topicSuffix", rhsTopicSuffix), lhsTopicSuffix, rhsTopicSuffix)) { 736 return false; 737 } 738 } 739 { 740 Boolean lhsUseQueueForQueueMessages; 741 lhsUseQueueForQueueMessages = this.isUseQueueForQueueMessages(); 742 Boolean rhsUseQueueForQueueMessages; 743 rhsUseQueueForQueueMessages = that.isUseQueueForQueueMessages(); 744 if (!strategy.equals(LocatorUtils.property(thisLocator, "useQueueForQueueMessages", lhsUseQueueForQueueMessages), LocatorUtils.property(thatLocator, "useQueueForQueueMessages", rhsUseQueueForQueueMessages), lhsUseQueueForQueueMessages, rhsUseQueueForQueueMessages)) { 745 return false; 746 } 747 } 748 { 749 Boolean lhsUseQueueForTopicMessages; 750 lhsUseQueueForTopicMessages = this.isUseQueueForTopicMessages(); 751 Boolean rhsUseQueueForTopicMessages; 752 rhsUseQueueForTopicMessages = that.isUseQueueForTopicMessages(); 753 if (!strategy.equals(LocatorUtils.property(thisLocator, "useQueueForTopicMessages", lhsUseQueueForTopicMessages), LocatorUtils.property(thatLocator, "useQueueForTopicMessages", rhsUseQueueForTopicMessages), lhsUseQueueForTopicMessages, rhsUseQueueForTopicMessages)) { 754 return false; 755 } 756 } 757 { 758 String lhsId; 759 lhsId = this.getId(); 760 String rhsId; 761 rhsId = that.getId(); 762 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 763 return false; 764 } 765 } 766 return true; 767 } 768 769 public boolean equals(Object object) { 770 final EqualsStrategy strategy = new ElementAwareEqualsStrategy(); 771 return equals(null, null, object, strategy); 772 } 773 774}