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