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