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: 2019.03.15 at 09:00:08 AM EDT 006// 007 008 009package org.apache.activemq.schema.core; 010 011import java.math.BigInteger; 012import java.util.ArrayList; 013import java.util.HashMap; 014import java.util.List; 015import java.util.Map; 016import javax.xml.bind.JAXBElement; 017import javax.xml.bind.annotation.XmlAccessType; 018import javax.xml.bind.annotation.XmlAccessorType; 019import javax.xml.bind.annotation.XmlAnyAttribute; 020import javax.xml.bind.annotation.XmlAnyElement; 021import javax.xml.bind.annotation.XmlAttribute; 022import javax.xml.bind.annotation.XmlElementRef; 023import javax.xml.bind.annotation.XmlElementRefs; 024import javax.xml.bind.annotation.XmlID; 025import javax.xml.bind.annotation.XmlRootElement; 026import javax.xml.bind.annotation.XmlSchemaType; 027import javax.xml.bind.annotation.XmlType; 028import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 029import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 030import javax.xml.namespace.QName; 031import org.jvnet.jaxb2_commons.lang.Equals; 032import org.jvnet.jaxb2_commons.lang.EqualsStrategy; 033import org.jvnet.jaxb2_commons.lang.HashCode; 034import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; 035import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; 036import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; 037import org.jvnet.jaxb2_commons.lang.ToString; 038import org.jvnet.jaxb2_commons.lang.ToStringStrategy; 039import org.jvnet.jaxb2_commons.locator.ObjectLocator; 040import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; 041 042 043/** 044 * <p>Java class for anonymous complex type. 045 * 046 * <p>The following schema fragment specifies the expected content contained within this class. 047 * 048 * <pre> 049 * <complexType> 050 * <complexContent> 051 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 052 * <choice maxOccurs="unbounded" minOccurs="0"> 053 * <choice> 054 * <element name="brokerInfo" minOccurs="0"> 055 * <complexType> 056 * <complexContent> 057 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 058 * <sequence minOccurs="0"> 059 * <any maxOccurs="unbounded" minOccurs="0"/> 060 * </sequence> 061 * </restriction> 062 * </complexContent> 063 * </complexType> 064 * </element> 065 * <element name="brokerService" minOccurs="0"> 066 * <complexType> 067 * <complexContent> 068 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 069 * <choice minOccurs="0"> 070 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 071 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 072 * <any namespace='##other'/> 073 * </choice> 074 * </restriction> 075 * </complexContent> 076 * </complexType> 077 * </element> 078 * <element name="discoveryAgent" minOccurs="0"> 079 * <complexType> 080 * <complexContent> 081 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 082 * <sequence minOccurs="0"> 083 * <any maxOccurs="unbounded" minOccurs="0"/> 084 * </sequence> 085 * </restriction> 086 * </complexContent> 087 * </complexType> 088 * </element> 089 * <element name="messageAuthorizationPolicy" minOccurs="0"> 090 * <complexType> 091 * <complexContent> 092 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 093 * <sequence minOccurs="0"> 094 * <any maxOccurs="unbounded" minOccurs="0"/> 095 * </sequence> 096 * </restriction> 097 * </complexContent> 098 * </complexType> 099 * </element> 100 * <element name="publishedAddressPolicy" minOccurs="0"> 101 * <complexType> 102 * <complexContent> 103 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 104 * <choice minOccurs="0"> 105 * <element ref="{http://activemq.apache.org/schema/core}publishedAddressPolicy"/> 106 * <any namespace='##other'/> 107 * </choice> 108 * </restriction> 109 * </complexContent> 110 * </complexType> 111 * </element> 112 * <element name="server" minOccurs="0"> 113 * <complexType> 114 * <complexContent> 115 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 116 * <sequence minOccurs="0"> 117 * <any maxOccurs="unbounded" minOccurs="0"/> 118 * </sequence> 119 * </restriction> 120 * </complexContent> 121 * </complexType> 122 * </element> 123 * <element name="taskRunnerFactory" minOccurs="0"> 124 * <complexType> 125 * <complexContent> 126 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 127 * <choice minOccurs="0"> 128 * <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/> 129 * <any namespace='##other'/> 130 * </choice> 131 * </restriction> 132 * </complexContent> 133 * </complexType> 134 * </element> 135 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 136 * </choice> 137 * </choice> 138 * <attribute name="allowLinkStealing" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 139 * <attribute name="auditNetworkProducers" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 140 * <attribute name="brokerInfo" type="{http://www.w3.org/2001/XMLSchema}string" /> 141 * <attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" /> 142 * <attribute name="disableAsyncDispatch" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 143 * <attribute name="discoveryAgent" type="{http://www.w3.org/2001/XMLSchema}string" /> 144 * <attribute name="discoveryUri" type="{http://www.w3.org/2001/XMLSchema}string" /> 145 * <attribute name="enableStatusMonitor" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 146 * <attribute name="maximumConsumersAllowedPerConnection" type="{http://www.w3.org/2001/XMLSchema}integer" /> 147 * <attribute name="maximumProducersAllowedPerConnection" type="{http://www.w3.org/2001/XMLSchema}integer" /> 148 * <attribute name="messageAuthorizationPolicy" type="{http://www.w3.org/2001/XMLSchema}string" /> 149 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 150 * <attribute name="publishedAddressPolicy" type="{http://www.w3.org/2001/XMLSchema}string" /> 151 * <attribute name="rebalanceClusterClients" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 152 * <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}string" /> 153 * <attribute name="taskRunnerFactory" type="{http://www.w3.org/2001/XMLSchema}string" /> 154 * <attribute name="updateClusterClients" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 155 * <attribute name="updateClusterClientsOnRemove" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 156 * <attribute name="updateClusterFilter" type="{http://www.w3.org/2001/XMLSchema}string" /> 157 * <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" /> 158 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 159 * <anyAttribute processContents='lax' namespace='##other'/> 160 * </restriction> 161 * </complexContent> 162 * </complexType> 163 * </pre> 164 * 165 * 166 */ 167@XmlAccessorType(XmlAccessType.FIELD) 168@XmlType(name = "", propOrder = { 169 "brokerInfoOrBrokerServiceOrDiscoveryAgent" 170}) 171@XmlRootElement(name = "transportConnector") 172public class DtoTransportConnector implements Equals, HashCode, ToString 173{ 174 175 @XmlElementRefs({ 176 @XmlElementRef(name = "discoveryAgent", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 177 @XmlElementRef(name = "messageAuthorizationPolicy", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 178 @XmlElementRef(name = "server", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 179 @XmlElementRef(name = "brokerInfo", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 180 @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 181 @XmlElementRef(name = "publishedAddressPolicy", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 182 @XmlElementRef(name = "taskRunnerFactory", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 183 }) 184 @XmlAnyElement(lax = true) 185 protected List<Object> brokerInfoOrBrokerServiceOrDiscoveryAgent; 186 @XmlAttribute(name = "allowLinkStealing") 187 protected Boolean allowLinkStealing; 188 @XmlAttribute(name = "auditNetworkProducers") 189 protected Boolean auditNetworkProducers; 190 @XmlAttribute(name = "brokerInfo") 191 protected String brokerInfo; 192 @XmlAttribute(name = "brokerService") 193 protected String brokerService; 194 @XmlAttribute(name = "disableAsyncDispatch") 195 protected Boolean disableAsyncDispatch; 196 @XmlAttribute(name = "discoveryAgent") 197 protected String discoveryAgent; 198 @XmlAttribute(name = "discoveryUri") 199 protected String discoveryUri; 200 @XmlAttribute(name = "enableStatusMonitor") 201 protected Boolean enableStatusMonitor; 202 @XmlAttribute(name = "maximumConsumersAllowedPerConnection") 203 protected BigInteger maximumConsumersAllowedPerConnection; 204 @XmlAttribute(name = "maximumProducersAllowedPerConnection") 205 protected BigInteger maximumProducersAllowedPerConnection; 206 @XmlAttribute(name = "messageAuthorizationPolicy") 207 protected String messageAuthorizationPolicy; 208 @XmlAttribute(name = "name") 209 protected String name; 210 @XmlAttribute(name = "publishedAddressPolicy") 211 protected String publishedAddressPolicy; 212 @XmlAttribute(name = "rebalanceClusterClients") 213 protected Boolean rebalanceClusterClients; 214 @XmlAttribute(name = "server") 215 protected String server; 216 @XmlAttribute(name = "taskRunnerFactory") 217 protected String taskRunnerFactory; 218 @XmlAttribute(name = "updateClusterClients") 219 protected Boolean updateClusterClients; 220 @XmlAttribute(name = "updateClusterClientsOnRemove") 221 protected Boolean updateClusterClientsOnRemove; 222 @XmlAttribute(name = "updateClusterFilter") 223 protected String updateClusterFilter; 224 @XmlAttribute(name = "uri") 225 protected String uri; 226 @XmlAttribute(name = "id") 227 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 228 @XmlID 229 @XmlSchemaType(name = "ID") 230 protected String id; 231 @XmlAnyAttribute 232 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 233 234 /** 235 * Gets the value of the brokerInfoOrBrokerServiceOrDiscoveryAgent property. 236 * 237 * <p> 238 * This accessor method returns a reference to the live list, 239 * not a snapshot. Therefore any modification you make to the 240 * returned list will be present inside the JAXB object. 241 * This is why there is not a <CODE>set</CODE> method for the brokerInfoOrBrokerServiceOrDiscoveryAgent property. 242 * 243 * <p> 244 * For example, to add a new item, do as follows: 245 * <pre> 246 * getBrokerInfoOrBrokerServiceOrDiscoveryAgent().add(newItem); 247 * </pre> 248 * 249 * 250 * <p> 251 * Objects of the following type(s) are allowed in the list 252 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.DiscoveryAgent }{@code >} 253 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.MessageAuthorizationPolicy }{@code >} 254 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.Server }{@code >} 255 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.BrokerInfo }{@code >} 256 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.BrokerService }{@code >} 257 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.PublishedAddressPolicy }{@code >} 258 * {@link JAXBElement }{@code <}{@link DtoTransportConnector.TaskRunnerFactory }{@code >} 259 * {@link Object } 260 * 261 * 262 */ 263 public List<Object> getBrokerInfoOrBrokerServiceOrDiscoveryAgent() { 264 if (brokerInfoOrBrokerServiceOrDiscoveryAgent == null) { 265 brokerInfoOrBrokerServiceOrDiscoveryAgent = new ArrayList<Object>(); 266 } 267 return this.brokerInfoOrBrokerServiceOrDiscoveryAgent; 268 } 269 270 /** 271 * Gets the value of the allowLinkStealing property. 272 * 273 * @return 274 * possible object is 275 * {@link Boolean } 276 * 277 */ 278 public Boolean isAllowLinkStealing() { 279 return allowLinkStealing; 280 } 281 282 /** 283 * Sets the value of the allowLinkStealing property. 284 * 285 * @param value 286 * allowed object is 287 * {@link Boolean } 288 * 289 */ 290 public void setAllowLinkStealing(Boolean value) { 291 this.allowLinkStealing = value; 292 } 293 294 /** 295 * Gets the value of the auditNetworkProducers property. 296 * 297 * @return 298 * possible object is 299 * {@link Boolean } 300 * 301 */ 302 public Boolean isAuditNetworkProducers() { 303 return auditNetworkProducers; 304 } 305 306 /** 307 * Sets the value of the auditNetworkProducers property. 308 * 309 * @param value 310 * allowed object is 311 * {@link Boolean } 312 * 313 */ 314 public void setAuditNetworkProducers(Boolean value) { 315 this.auditNetworkProducers = value; 316 } 317 318 /** 319 * Gets the value of the brokerInfo property. 320 * 321 * @return 322 * possible object is 323 * {@link String } 324 * 325 */ 326 public String getBrokerInfo() { 327 return brokerInfo; 328 } 329 330 /** 331 * Sets the value of the brokerInfo property. 332 * 333 * @param value 334 * allowed object is 335 * {@link String } 336 * 337 */ 338 public void setBrokerInfo(String value) { 339 this.brokerInfo = value; 340 } 341 342 /** 343 * Gets the value of the brokerService property. 344 * 345 * @return 346 * possible object is 347 * {@link String } 348 * 349 */ 350 public String getBrokerService() { 351 return brokerService; 352 } 353 354 /** 355 * Sets the value of the brokerService property. 356 * 357 * @param value 358 * allowed object is 359 * {@link String } 360 * 361 */ 362 public void setBrokerService(String value) { 363 this.brokerService = value; 364 } 365 366 /** 367 * Gets the value of the disableAsyncDispatch property. 368 * 369 * @return 370 * possible object is 371 * {@link Boolean } 372 * 373 */ 374 public Boolean isDisableAsyncDispatch() { 375 return disableAsyncDispatch; 376 } 377 378 /** 379 * Sets the value of the disableAsyncDispatch property. 380 * 381 * @param value 382 * allowed object is 383 * {@link Boolean } 384 * 385 */ 386 public void setDisableAsyncDispatch(Boolean value) { 387 this.disableAsyncDispatch = value; 388 } 389 390 /** 391 * Gets the value of the discoveryAgent property. 392 * 393 * @return 394 * possible object is 395 * {@link String } 396 * 397 */ 398 public String getDiscoveryAgent() { 399 return discoveryAgent; 400 } 401 402 /** 403 * Sets the value of the discoveryAgent property. 404 * 405 * @param value 406 * allowed object is 407 * {@link String } 408 * 409 */ 410 public void setDiscoveryAgent(String value) { 411 this.discoveryAgent = value; 412 } 413 414 /** 415 * Gets the value of the discoveryUri property. 416 * 417 * @return 418 * possible object is 419 * {@link String } 420 * 421 */ 422 public String getDiscoveryUri() { 423 return discoveryUri; 424 } 425 426 /** 427 * Sets the value of the discoveryUri property. 428 * 429 * @param value 430 * allowed object is 431 * {@link String } 432 * 433 */ 434 public void setDiscoveryUri(String value) { 435 this.discoveryUri = value; 436 } 437 438 /** 439 * Gets the value of the enableStatusMonitor property. 440 * 441 * @return 442 * possible object is 443 * {@link Boolean } 444 * 445 */ 446 public Boolean isEnableStatusMonitor() { 447 return enableStatusMonitor; 448 } 449 450 /** 451 * Sets the value of the enableStatusMonitor property. 452 * 453 * @param value 454 * allowed object is 455 * {@link Boolean } 456 * 457 */ 458 public void setEnableStatusMonitor(Boolean value) { 459 this.enableStatusMonitor = value; 460 } 461 462 /** 463 * Gets the value of the maximumConsumersAllowedPerConnection property. 464 * 465 * @return 466 * possible object is 467 * {@link BigInteger } 468 * 469 */ 470 public BigInteger getMaximumConsumersAllowedPerConnection() { 471 return maximumConsumersAllowedPerConnection; 472 } 473 474 /** 475 * Sets the value of the maximumConsumersAllowedPerConnection property. 476 * 477 * @param value 478 * allowed object is 479 * {@link BigInteger } 480 * 481 */ 482 public void setMaximumConsumersAllowedPerConnection(BigInteger value) { 483 this.maximumConsumersAllowedPerConnection = value; 484 } 485 486 /** 487 * Gets the value of the maximumProducersAllowedPerConnection property. 488 * 489 * @return 490 * possible object is 491 * {@link BigInteger } 492 * 493 */ 494 public BigInteger getMaximumProducersAllowedPerConnection() { 495 return maximumProducersAllowedPerConnection; 496 } 497 498 /** 499 * Sets the value of the maximumProducersAllowedPerConnection property. 500 * 501 * @param value 502 * allowed object is 503 * {@link BigInteger } 504 * 505 */ 506 public void setMaximumProducersAllowedPerConnection(BigInteger value) { 507 this.maximumProducersAllowedPerConnection = value; 508 } 509 510 /** 511 * Gets the value of the messageAuthorizationPolicy property. 512 * 513 * @return 514 * possible object is 515 * {@link String } 516 * 517 */ 518 public String getMessageAuthorizationPolicy() { 519 return messageAuthorizationPolicy; 520 } 521 522 /** 523 * Sets the value of the messageAuthorizationPolicy property. 524 * 525 * @param value 526 * allowed object is 527 * {@link String } 528 * 529 */ 530 public void setMessageAuthorizationPolicy(String value) { 531 this.messageAuthorizationPolicy = value; 532 } 533 534 /** 535 * Gets the value of the name property. 536 * 537 * @return 538 * possible object is 539 * {@link String } 540 * 541 */ 542 public String getName() { 543 return name; 544 } 545 546 /** 547 * Sets the value of the name property. 548 * 549 * @param value 550 * allowed object is 551 * {@link String } 552 * 553 */ 554 public void setName(String value) { 555 this.name = value; 556 } 557 558 /** 559 * Gets the value of the publishedAddressPolicy property. 560 * 561 * @return 562 * possible object is 563 * {@link String } 564 * 565 */ 566 public String getPublishedAddressPolicy() { 567 return publishedAddressPolicy; 568 } 569 570 /** 571 * Sets the value of the publishedAddressPolicy property. 572 * 573 * @param value 574 * allowed object is 575 * {@link String } 576 * 577 */ 578 public void setPublishedAddressPolicy(String value) { 579 this.publishedAddressPolicy = value; 580 } 581 582 /** 583 * Gets the value of the rebalanceClusterClients property. 584 * 585 * @return 586 * possible object is 587 * {@link Boolean } 588 * 589 */ 590 public Boolean isRebalanceClusterClients() { 591 return rebalanceClusterClients; 592 } 593 594 /** 595 * Sets the value of the rebalanceClusterClients property. 596 * 597 * @param value 598 * allowed object is 599 * {@link Boolean } 600 * 601 */ 602 public void setRebalanceClusterClients(Boolean value) { 603 this.rebalanceClusterClients = value; 604 } 605 606 /** 607 * Gets the value of the server property. 608 * 609 * @return 610 * possible object is 611 * {@link String } 612 * 613 */ 614 public String getServer() { 615 return server; 616 } 617 618 /** 619 * Sets the value of the server property. 620 * 621 * @param value 622 * allowed object is 623 * {@link String } 624 * 625 */ 626 public void setServer(String value) { 627 this.server = value; 628 } 629 630 /** 631 * Gets the value of the taskRunnerFactory property. 632 * 633 * @return 634 * possible object is 635 * {@link String } 636 * 637 */ 638 public String getTaskRunnerFactory() { 639 return taskRunnerFactory; 640 } 641 642 /** 643 * Sets the value of the taskRunnerFactory property. 644 * 645 * @param value 646 * allowed object is 647 * {@link String } 648 * 649 */ 650 public void setTaskRunnerFactory(String value) { 651 this.taskRunnerFactory = value; 652 } 653 654 /** 655 * Gets the value of the updateClusterClients property. 656 * 657 * @return 658 * possible object is 659 * {@link Boolean } 660 * 661 */ 662 public Boolean isUpdateClusterClients() { 663 return updateClusterClients; 664 } 665 666 /** 667 * Sets the value of the updateClusterClients property. 668 * 669 * @param value 670 * allowed object is 671 * {@link Boolean } 672 * 673 */ 674 public void setUpdateClusterClients(Boolean value) { 675 this.updateClusterClients = value; 676 } 677 678 /** 679 * Gets the value of the updateClusterClientsOnRemove property. 680 * 681 * @return 682 * possible object is 683 * {@link Boolean } 684 * 685 */ 686 public Boolean isUpdateClusterClientsOnRemove() { 687 return updateClusterClientsOnRemove; 688 } 689 690 /** 691 * Sets the value of the updateClusterClientsOnRemove property. 692 * 693 * @param value 694 * allowed object is 695 * {@link Boolean } 696 * 697 */ 698 public void setUpdateClusterClientsOnRemove(Boolean value) { 699 this.updateClusterClientsOnRemove = value; 700 } 701 702 /** 703 * Gets the value of the updateClusterFilter property. 704 * 705 * @return 706 * possible object is 707 * {@link String } 708 * 709 */ 710 public String getUpdateClusterFilter() { 711 return updateClusterFilter; 712 } 713 714 /** 715 * Sets the value of the updateClusterFilter property. 716 * 717 * @param value 718 * allowed object is 719 * {@link String } 720 * 721 */ 722 public void setUpdateClusterFilter(String value) { 723 this.updateClusterFilter = value; 724 } 725 726 /** 727 * Gets the value of the uri property. 728 * 729 * @return 730 * possible object is 731 * {@link String } 732 * 733 */ 734 public String getUri() { 735 return uri; 736 } 737 738 /** 739 * Sets the value of the uri property. 740 * 741 * @param value 742 * allowed object is 743 * {@link String } 744 * 745 */ 746 public void setUri(String value) { 747 this.uri = value; 748 } 749 750 /** 751 * Gets the value of the id property. 752 * 753 * @return 754 * possible object is 755 * {@link String } 756 * 757 */ 758 public String getId() { 759 return id; 760 } 761 762 /** 763 * Sets the value of the id property. 764 * 765 * @param value 766 * allowed object is 767 * {@link String } 768 * 769 */ 770 public void setId(String value) { 771 this.id = value; 772 } 773 774 /** 775 * Gets a map that contains attributes that aren't bound to any typed property on this class. 776 * 777 * <p> 778 * the map is keyed by the name of the attribute and 779 * the value is the string value of the attribute. 780 * 781 * the map returned by this method is live, and you can add new attribute 782 * by updating the map directly. Because of this design, there's no setter. 783 * 784 * 785 * @return 786 * always non-null 787 */ 788 public Map<QName, String> getOtherAttributes() { 789 return otherAttributes; 790 } 791 792 public String toString() { 793 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 794 final StringBuilder buffer = new StringBuilder(); 795 append(null, buffer, strategy); 796 return buffer.toString(); 797 } 798 799 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 800 strategy.appendStart(locator, this, buffer); 801 appendFields(locator, buffer, strategy); 802 strategy.appendEnd(locator, this, buffer); 803 return buffer; 804 } 805 806 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 807 { 808 List<Object> theBrokerInfoOrBrokerServiceOrDiscoveryAgent; 809 theBrokerInfoOrBrokerServiceOrDiscoveryAgent = (((this.brokerInfoOrBrokerServiceOrDiscoveryAgent!= null)&&(!this.brokerInfoOrBrokerServiceOrDiscoveryAgent.isEmpty()))?this.getBrokerInfoOrBrokerServiceOrDiscoveryAgent():null); 810 strategy.appendField(locator, this, "brokerInfoOrBrokerServiceOrDiscoveryAgent", buffer, theBrokerInfoOrBrokerServiceOrDiscoveryAgent); 811 } 812 { 813 Boolean theAllowLinkStealing; 814 theAllowLinkStealing = this.isAllowLinkStealing(); 815 strategy.appendField(locator, this, "allowLinkStealing", buffer, theAllowLinkStealing); 816 } 817 { 818 Boolean theAuditNetworkProducers; 819 theAuditNetworkProducers = this.isAuditNetworkProducers(); 820 strategy.appendField(locator, this, "auditNetworkProducers", buffer, theAuditNetworkProducers); 821 } 822 { 823 String theBrokerInfo; 824 theBrokerInfo = this.getBrokerInfo(); 825 strategy.appendField(locator, this, "brokerInfo", buffer, theBrokerInfo); 826 } 827 { 828 String theBrokerService; 829 theBrokerService = this.getBrokerService(); 830 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 831 } 832 { 833 Boolean theDisableAsyncDispatch; 834 theDisableAsyncDispatch = this.isDisableAsyncDispatch(); 835 strategy.appendField(locator, this, "disableAsyncDispatch", buffer, theDisableAsyncDispatch); 836 } 837 { 838 String theDiscoveryAgent; 839 theDiscoveryAgent = this.getDiscoveryAgent(); 840 strategy.appendField(locator, this, "discoveryAgent", buffer, theDiscoveryAgent); 841 } 842 { 843 String theDiscoveryUri; 844 theDiscoveryUri = this.getDiscoveryUri(); 845 strategy.appendField(locator, this, "discoveryUri", buffer, theDiscoveryUri); 846 } 847 { 848 Boolean theEnableStatusMonitor; 849 theEnableStatusMonitor = this.isEnableStatusMonitor(); 850 strategy.appendField(locator, this, "enableStatusMonitor", buffer, theEnableStatusMonitor); 851 } 852 { 853 BigInteger theMaximumConsumersAllowedPerConnection; 854 theMaximumConsumersAllowedPerConnection = this.getMaximumConsumersAllowedPerConnection(); 855 strategy.appendField(locator, this, "maximumConsumersAllowedPerConnection", buffer, theMaximumConsumersAllowedPerConnection); 856 } 857 { 858 BigInteger theMaximumProducersAllowedPerConnection; 859 theMaximumProducersAllowedPerConnection = this.getMaximumProducersAllowedPerConnection(); 860 strategy.appendField(locator, this, "maximumProducersAllowedPerConnection", buffer, theMaximumProducersAllowedPerConnection); 861 } 862 { 863 String theMessageAuthorizationPolicy; 864 theMessageAuthorizationPolicy = this.getMessageAuthorizationPolicy(); 865 strategy.appendField(locator, this, "messageAuthorizationPolicy", buffer, theMessageAuthorizationPolicy); 866 } 867 { 868 String theName; 869 theName = this.getName(); 870 strategy.appendField(locator, this, "name", buffer, theName); 871 } 872 { 873 String thePublishedAddressPolicy; 874 thePublishedAddressPolicy = this.getPublishedAddressPolicy(); 875 strategy.appendField(locator, this, "publishedAddressPolicy", buffer, thePublishedAddressPolicy); 876 } 877 { 878 Boolean theRebalanceClusterClients; 879 theRebalanceClusterClients = this.isRebalanceClusterClients(); 880 strategy.appendField(locator, this, "rebalanceClusterClients", buffer, theRebalanceClusterClients); 881 } 882 { 883 String theServer; 884 theServer = this.getServer(); 885 strategy.appendField(locator, this, "server", buffer, theServer); 886 } 887 { 888 String theTaskRunnerFactory; 889 theTaskRunnerFactory = this.getTaskRunnerFactory(); 890 strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory); 891 } 892 { 893 Boolean theUpdateClusterClients; 894 theUpdateClusterClients = this.isUpdateClusterClients(); 895 strategy.appendField(locator, this, "updateClusterClients", buffer, theUpdateClusterClients); 896 } 897 { 898 Boolean theUpdateClusterClientsOnRemove; 899 theUpdateClusterClientsOnRemove = this.isUpdateClusterClientsOnRemove(); 900 strategy.appendField(locator, this, "updateClusterClientsOnRemove", buffer, theUpdateClusterClientsOnRemove); 901 } 902 { 903 String theUpdateClusterFilter; 904 theUpdateClusterFilter = this.getUpdateClusterFilter(); 905 strategy.appendField(locator, this, "updateClusterFilter", buffer, theUpdateClusterFilter); 906 } 907 { 908 String theUri; 909 theUri = this.getUri(); 910 strategy.appendField(locator, this, "uri", buffer, theUri); 911 } 912 { 913 String theId; 914 theId = this.getId(); 915 strategy.appendField(locator, this, "id", buffer, theId); 916 } 917 return buffer; 918 } 919 920 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 921 int currentHashCode = 1; 922 { 923 List<Object> theBrokerInfoOrBrokerServiceOrDiscoveryAgent; 924 theBrokerInfoOrBrokerServiceOrDiscoveryAgent = (((this.brokerInfoOrBrokerServiceOrDiscoveryAgent!= null)&&(!this.brokerInfoOrBrokerServiceOrDiscoveryAgent.isEmpty()))?this.getBrokerInfoOrBrokerServiceOrDiscoveryAgent():null); 925 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerInfoOrBrokerServiceOrDiscoveryAgent", theBrokerInfoOrBrokerServiceOrDiscoveryAgent), currentHashCode, theBrokerInfoOrBrokerServiceOrDiscoveryAgent); 926 } 927 { 928 Boolean theAllowLinkStealing; 929 theAllowLinkStealing = this.isAllowLinkStealing(); 930 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "allowLinkStealing", theAllowLinkStealing), currentHashCode, theAllowLinkStealing); 931 } 932 { 933 Boolean theAuditNetworkProducers; 934 theAuditNetworkProducers = this.isAuditNetworkProducers(); 935 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "auditNetworkProducers", theAuditNetworkProducers), currentHashCode, theAuditNetworkProducers); 936 } 937 { 938 String theBrokerInfo; 939 theBrokerInfo = this.getBrokerInfo(); 940 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerInfo", theBrokerInfo), currentHashCode, theBrokerInfo); 941 } 942 { 943 String theBrokerService; 944 theBrokerService = this.getBrokerService(); 945 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 946 } 947 { 948 Boolean theDisableAsyncDispatch; 949 theDisableAsyncDispatch = this.isDisableAsyncDispatch(); 950 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "disableAsyncDispatch", theDisableAsyncDispatch), currentHashCode, theDisableAsyncDispatch); 951 } 952 { 953 String theDiscoveryAgent; 954 theDiscoveryAgent = this.getDiscoveryAgent(); 955 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discoveryAgent", theDiscoveryAgent), currentHashCode, theDiscoveryAgent); 956 } 957 { 958 String theDiscoveryUri; 959 theDiscoveryUri = this.getDiscoveryUri(); 960 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discoveryUri", theDiscoveryUri), currentHashCode, theDiscoveryUri); 961 } 962 { 963 Boolean theEnableStatusMonitor; 964 theEnableStatusMonitor = this.isEnableStatusMonitor(); 965 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "enableStatusMonitor", theEnableStatusMonitor), currentHashCode, theEnableStatusMonitor); 966 } 967 { 968 BigInteger theMaximumConsumersAllowedPerConnection; 969 theMaximumConsumersAllowedPerConnection = this.getMaximumConsumersAllowedPerConnection(); 970 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maximumConsumersAllowedPerConnection", theMaximumConsumersAllowedPerConnection), currentHashCode, theMaximumConsumersAllowedPerConnection); 971 } 972 { 973 BigInteger theMaximumProducersAllowedPerConnection; 974 theMaximumProducersAllowedPerConnection = this.getMaximumProducersAllowedPerConnection(); 975 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maximumProducersAllowedPerConnection", theMaximumProducersAllowedPerConnection), currentHashCode, theMaximumProducersAllowedPerConnection); 976 } 977 { 978 String theMessageAuthorizationPolicy; 979 theMessageAuthorizationPolicy = this.getMessageAuthorizationPolicy(); 980 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageAuthorizationPolicy", theMessageAuthorizationPolicy), currentHashCode, theMessageAuthorizationPolicy); 981 } 982 { 983 String theName; 984 theName = this.getName(); 985 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); 986 } 987 { 988 String thePublishedAddressPolicy; 989 thePublishedAddressPolicy = this.getPublishedAddressPolicy(); 990 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publishedAddressPolicy", thePublishedAddressPolicy), currentHashCode, thePublishedAddressPolicy); 991 } 992 { 993 Boolean theRebalanceClusterClients; 994 theRebalanceClusterClients = this.isRebalanceClusterClients(); 995 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rebalanceClusterClients", theRebalanceClusterClients), currentHashCode, theRebalanceClusterClients); 996 } 997 { 998 String theServer; 999 theServer = this.getServer(); 1000 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "server", theServer), currentHashCode, theServer); 1001 } 1002 { 1003 String theTaskRunnerFactory; 1004 theTaskRunnerFactory = this.getTaskRunnerFactory(); 1005 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory); 1006 } 1007 { 1008 Boolean theUpdateClusterClients; 1009 theUpdateClusterClients = this.isUpdateClusterClients(); 1010 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "updateClusterClients", theUpdateClusterClients), currentHashCode, theUpdateClusterClients); 1011 } 1012 { 1013 Boolean theUpdateClusterClientsOnRemove; 1014 theUpdateClusterClientsOnRemove = this.isUpdateClusterClientsOnRemove(); 1015 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "updateClusterClientsOnRemove", theUpdateClusterClientsOnRemove), currentHashCode, theUpdateClusterClientsOnRemove); 1016 } 1017 { 1018 String theUpdateClusterFilter; 1019 theUpdateClusterFilter = this.getUpdateClusterFilter(); 1020 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "updateClusterFilter", theUpdateClusterFilter), currentHashCode, theUpdateClusterFilter); 1021 } 1022 { 1023 String theUri; 1024 theUri = this.getUri(); 1025 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uri", theUri), currentHashCode, theUri); 1026 } 1027 { 1028 String theId; 1029 theId = this.getId(); 1030 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 1031 } 1032 return currentHashCode; 1033 } 1034 1035 public int hashCode() { 1036 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1037 return this.hashCode(null, strategy); 1038 } 1039 1040 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1041 if (!(object instanceof DtoTransportConnector)) { 1042 return false; 1043 } 1044 if (this == object) { 1045 return true; 1046 } 1047 final DtoTransportConnector that = ((DtoTransportConnector) object); 1048 { 1049 List<Object> lhsBrokerInfoOrBrokerServiceOrDiscoveryAgent; 1050 lhsBrokerInfoOrBrokerServiceOrDiscoveryAgent = (((this.brokerInfoOrBrokerServiceOrDiscoveryAgent!= null)&&(!this.brokerInfoOrBrokerServiceOrDiscoveryAgent.isEmpty()))?this.getBrokerInfoOrBrokerServiceOrDiscoveryAgent():null); 1051 List<Object> rhsBrokerInfoOrBrokerServiceOrDiscoveryAgent; 1052 rhsBrokerInfoOrBrokerServiceOrDiscoveryAgent = (((that.brokerInfoOrBrokerServiceOrDiscoveryAgent!= null)&&(!that.brokerInfoOrBrokerServiceOrDiscoveryAgent.isEmpty()))?that.getBrokerInfoOrBrokerServiceOrDiscoveryAgent():null); 1053 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerInfoOrBrokerServiceOrDiscoveryAgent", lhsBrokerInfoOrBrokerServiceOrDiscoveryAgent), LocatorUtils.property(thatLocator, "brokerInfoOrBrokerServiceOrDiscoveryAgent", rhsBrokerInfoOrBrokerServiceOrDiscoveryAgent), lhsBrokerInfoOrBrokerServiceOrDiscoveryAgent, rhsBrokerInfoOrBrokerServiceOrDiscoveryAgent)) { 1054 return false; 1055 } 1056 } 1057 { 1058 Boolean lhsAllowLinkStealing; 1059 lhsAllowLinkStealing = this.isAllowLinkStealing(); 1060 Boolean rhsAllowLinkStealing; 1061 rhsAllowLinkStealing = that.isAllowLinkStealing(); 1062 if (!strategy.equals(LocatorUtils.property(thisLocator, "allowLinkStealing", lhsAllowLinkStealing), LocatorUtils.property(thatLocator, "allowLinkStealing", rhsAllowLinkStealing), lhsAllowLinkStealing, rhsAllowLinkStealing)) { 1063 return false; 1064 } 1065 } 1066 { 1067 Boolean lhsAuditNetworkProducers; 1068 lhsAuditNetworkProducers = this.isAuditNetworkProducers(); 1069 Boolean rhsAuditNetworkProducers; 1070 rhsAuditNetworkProducers = that.isAuditNetworkProducers(); 1071 if (!strategy.equals(LocatorUtils.property(thisLocator, "auditNetworkProducers", lhsAuditNetworkProducers), LocatorUtils.property(thatLocator, "auditNetworkProducers", rhsAuditNetworkProducers), lhsAuditNetworkProducers, rhsAuditNetworkProducers)) { 1072 return false; 1073 } 1074 } 1075 { 1076 String lhsBrokerInfo; 1077 lhsBrokerInfo = this.getBrokerInfo(); 1078 String rhsBrokerInfo; 1079 rhsBrokerInfo = that.getBrokerInfo(); 1080 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerInfo", lhsBrokerInfo), LocatorUtils.property(thatLocator, "brokerInfo", rhsBrokerInfo), lhsBrokerInfo, rhsBrokerInfo)) { 1081 return false; 1082 } 1083 } 1084 { 1085 String lhsBrokerService; 1086 lhsBrokerService = this.getBrokerService(); 1087 String rhsBrokerService; 1088 rhsBrokerService = that.getBrokerService(); 1089 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 1090 return false; 1091 } 1092 } 1093 { 1094 Boolean lhsDisableAsyncDispatch; 1095 lhsDisableAsyncDispatch = this.isDisableAsyncDispatch(); 1096 Boolean rhsDisableAsyncDispatch; 1097 rhsDisableAsyncDispatch = that.isDisableAsyncDispatch(); 1098 if (!strategy.equals(LocatorUtils.property(thisLocator, "disableAsyncDispatch", lhsDisableAsyncDispatch), LocatorUtils.property(thatLocator, "disableAsyncDispatch", rhsDisableAsyncDispatch), lhsDisableAsyncDispatch, rhsDisableAsyncDispatch)) { 1099 return false; 1100 } 1101 } 1102 { 1103 String lhsDiscoveryAgent; 1104 lhsDiscoveryAgent = this.getDiscoveryAgent(); 1105 String rhsDiscoveryAgent; 1106 rhsDiscoveryAgent = that.getDiscoveryAgent(); 1107 if (!strategy.equals(LocatorUtils.property(thisLocator, "discoveryAgent", lhsDiscoveryAgent), LocatorUtils.property(thatLocator, "discoveryAgent", rhsDiscoveryAgent), lhsDiscoveryAgent, rhsDiscoveryAgent)) { 1108 return false; 1109 } 1110 } 1111 { 1112 String lhsDiscoveryUri; 1113 lhsDiscoveryUri = this.getDiscoveryUri(); 1114 String rhsDiscoveryUri; 1115 rhsDiscoveryUri = that.getDiscoveryUri(); 1116 if (!strategy.equals(LocatorUtils.property(thisLocator, "discoveryUri", lhsDiscoveryUri), LocatorUtils.property(thatLocator, "discoveryUri", rhsDiscoveryUri), lhsDiscoveryUri, rhsDiscoveryUri)) { 1117 return false; 1118 } 1119 } 1120 { 1121 Boolean lhsEnableStatusMonitor; 1122 lhsEnableStatusMonitor = this.isEnableStatusMonitor(); 1123 Boolean rhsEnableStatusMonitor; 1124 rhsEnableStatusMonitor = that.isEnableStatusMonitor(); 1125 if (!strategy.equals(LocatorUtils.property(thisLocator, "enableStatusMonitor", lhsEnableStatusMonitor), LocatorUtils.property(thatLocator, "enableStatusMonitor", rhsEnableStatusMonitor), lhsEnableStatusMonitor, rhsEnableStatusMonitor)) { 1126 return false; 1127 } 1128 } 1129 { 1130 BigInteger lhsMaximumConsumersAllowedPerConnection; 1131 lhsMaximumConsumersAllowedPerConnection = this.getMaximumConsumersAllowedPerConnection(); 1132 BigInteger rhsMaximumConsumersAllowedPerConnection; 1133 rhsMaximumConsumersAllowedPerConnection = that.getMaximumConsumersAllowedPerConnection(); 1134 if (!strategy.equals(LocatorUtils.property(thisLocator, "maximumConsumersAllowedPerConnection", lhsMaximumConsumersAllowedPerConnection), LocatorUtils.property(thatLocator, "maximumConsumersAllowedPerConnection", rhsMaximumConsumersAllowedPerConnection), lhsMaximumConsumersAllowedPerConnection, rhsMaximumConsumersAllowedPerConnection)) { 1135 return false; 1136 } 1137 } 1138 { 1139 BigInteger lhsMaximumProducersAllowedPerConnection; 1140 lhsMaximumProducersAllowedPerConnection = this.getMaximumProducersAllowedPerConnection(); 1141 BigInteger rhsMaximumProducersAllowedPerConnection; 1142 rhsMaximumProducersAllowedPerConnection = that.getMaximumProducersAllowedPerConnection(); 1143 if (!strategy.equals(LocatorUtils.property(thisLocator, "maximumProducersAllowedPerConnection", lhsMaximumProducersAllowedPerConnection), LocatorUtils.property(thatLocator, "maximumProducersAllowedPerConnection", rhsMaximumProducersAllowedPerConnection), lhsMaximumProducersAllowedPerConnection, rhsMaximumProducersAllowedPerConnection)) { 1144 return false; 1145 } 1146 } 1147 { 1148 String lhsMessageAuthorizationPolicy; 1149 lhsMessageAuthorizationPolicy = this.getMessageAuthorizationPolicy(); 1150 String rhsMessageAuthorizationPolicy; 1151 rhsMessageAuthorizationPolicy = that.getMessageAuthorizationPolicy(); 1152 if (!strategy.equals(LocatorUtils.property(thisLocator, "messageAuthorizationPolicy", lhsMessageAuthorizationPolicy), LocatorUtils.property(thatLocator, "messageAuthorizationPolicy", rhsMessageAuthorizationPolicy), lhsMessageAuthorizationPolicy, rhsMessageAuthorizationPolicy)) { 1153 return false; 1154 } 1155 } 1156 { 1157 String lhsName; 1158 lhsName = this.getName(); 1159 String rhsName; 1160 rhsName = that.getName(); 1161 if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) { 1162 return false; 1163 } 1164 } 1165 { 1166 String lhsPublishedAddressPolicy; 1167 lhsPublishedAddressPolicy = this.getPublishedAddressPolicy(); 1168 String rhsPublishedAddressPolicy; 1169 rhsPublishedAddressPolicy = that.getPublishedAddressPolicy(); 1170 if (!strategy.equals(LocatorUtils.property(thisLocator, "publishedAddressPolicy", lhsPublishedAddressPolicy), LocatorUtils.property(thatLocator, "publishedAddressPolicy", rhsPublishedAddressPolicy), lhsPublishedAddressPolicy, rhsPublishedAddressPolicy)) { 1171 return false; 1172 } 1173 } 1174 { 1175 Boolean lhsRebalanceClusterClients; 1176 lhsRebalanceClusterClients = this.isRebalanceClusterClients(); 1177 Boolean rhsRebalanceClusterClients; 1178 rhsRebalanceClusterClients = that.isRebalanceClusterClients(); 1179 if (!strategy.equals(LocatorUtils.property(thisLocator, "rebalanceClusterClients", lhsRebalanceClusterClients), LocatorUtils.property(thatLocator, "rebalanceClusterClients", rhsRebalanceClusterClients), lhsRebalanceClusterClients, rhsRebalanceClusterClients)) { 1180 return false; 1181 } 1182 } 1183 { 1184 String lhsServer; 1185 lhsServer = this.getServer(); 1186 String rhsServer; 1187 rhsServer = that.getServer(); 1188 if (!strategy.equals(LocatorUtils.property(thisLocator, "server", lhsServer), LocatorUtils.property(thatLocator, "server", rhsServer), lhsServer, rhsServer)) { 1189 return false; 1190 } 1191 } 1192 { 1193 String lhsTaskRunnerFactory; 1194 lhsTaskRunnerFactory = this.getTaskRunnerFactory(); 1195 String rhsTaskRunnerFactory; 1196 rhsTaskRunnerFactory = that.getTaskRunnerFactory(); 1197 if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) { 1198 return false; 1199 } 1200 } 1201 { 1202 Boolean lhsUpdateClusterClients; 1203 lhsUpdateClusterClients = this.isUpdateClusterClients(); 1204 Boolean rhsUpdateClusterClients; 1205 rhsUpdateClusterClients = that.isUpdateClusterClients(); 1206 if (!strategy.equals(LocatorUtils.property(thisLocator, "updateClusterClients", lhsUpdateClusterClients), LocatorUtils.property(thatLocator, "updateClusterClients", rhsUpdateClusterClients), lhsUpdateClusterClients, rhsUpdateClusterClients)) { 1207 return false; 1208 } 1209 } 1210 { 1211 Boolean lhsUpdateClusterClientsOnRemove; 1212 lhsUpdateClusterClientsOnRemove = this.isUpdateClusterClientsOnRemove(); 1213 Boolean rhsUpdateClusterClientsOnRemove; 1214 rhsUpdateClusterClientsOnRemove = that.isUpdateClusterClientsOnRemove(); 1215 if (!strategy.equals(LocatorUtils.property(thisLocator, "updateClusterClientsOnRemove", lhsUpdateClusterClientsOnRemove), LocatorUtils.property(thatLocator, "updateClusterClientsOnRemove", rhsUpdateClusterClientsOnRemove), lhsUpdateClusterClientsOnRemove, rhsUpdateClusterClientsOnRemove)) { 1216 return false; 1217 } 1218 } 1219 { 1220 String lhsUpdateClusterFilter; 1221 lhsUpdateClusterFilter = this.getUpdateClusterFilter(); 1222 String rhsUpdateClusterFilter; 1223 rhsUpdateClusterFilter = that.getUpdateClusterFilter(); 1224 if (!strategy.equals(LocatorUtils.property(thisLocator, "updateClusterFilter", lhsUpdateClusterFilter), LocatorUtils.property(thatLocator, "updateClusterFilter", rhsUpdateClusterFilter), lhsUpdateClusterFilter, rhsUpdateClusterFilter)) { 1225 return false; 1226 } 1227 } 1228 { 1229 String lhsUri; 1230 lhsUri = this.getUri(); 1231 String rhsUri; 1232 rhsUri = that.getUri(); 1233 if (!strategy.equals(LocatorUtils.property(thisLocator, "uri", lhsUri), LocatorUtils.property(thatLocator, "uri", rhsUri), lhsUri, rhsUri)) { 1234 return false; 1235 } 1236 } 1237 { 1238 String lhsId; 1239 lhsId = this.getId(); 1240 String rhsId; 1241 rhsId = that.getId(); 1242 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 1243 return false; 1244 } 1245 } 1246 return true; 1247 } 1248 1249 public boolean equals(Object object) { 1250 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1251 return equals(null, null, object, strategy); 1252 } 1253 1254 1255 /** 1256 * <p>Java class for anonymous complex type. 1257 * 1258 * <p>The following schema fragment specifies the expected content contained within this class. 1259 * 1260 * <pre> 1261 * <complexType> 1262 * <complexContent> 1263 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1264 * <sequence minOccurs="0"> 1265 * <any maxOccurs="unbounded" minOccurs="0"/> 1266 * </sequence> 1267 * </restriction> 1268 * </complexContent> 1269 * </complexType> 1270 * </pre> 1271 * 1272 * 1273 */ 1274 @XmlAccessorType(XmlAccessType.FIELD) 1275 @XmlType(name = "", propOrder = { 1276 "any" 1277 }) 1278 public static class BrokerInfo 1279 implements Equals, HashCode, ToString 1280 { 1281 1282 @XmlAnyElement(lax = true) 1283 protected List<Object> any; 1284 1285 /** 1286 * Gets the value of the any property. 1287 * 1288 * <p> 1289 * This accessor method returns a reference to the live list, 1290 * not a snapshot. Therefore any modification you make to the 1291 * returned list will be present inside the JAXB object. 1292 * This is why there is not a <CODE>set</CODE> method for the any property. 1293 * 1294 * <p> 1295 * For example, to add a new item, do as follows: 1296 * <pre> 1297 * getAny().add(newItem); 1298 * </pre> 1299 * 1300 * 1301 * <p> 1302 * Objects of the following type(s) are allowed in the list 1303 * {@link Object } 1304 * 1305 * 1306 */ 1307 public List<Object> getAny() { 1308 if (any == null) { 1309 any = new ArrayList<Object>(); 1310 } 1311 return this.any; 1312 } 1313 1314 public String toString() { 1315 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1316 final StringBuilder buffer = new StringBuilder(); 1317 append(null, buffer, strategy); 1318 return buffer.toString(); 1319 } 1320 1321 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1322 strategy.appendStart(locator, this, buffer); 1323 appendFields(locator, buffer, strategy); 1324 strategy.appendEnd(locator, this, buffer); 1325 return buffer; 1326 } 1327 1328 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1329 { 1330 List<Object> theAny; 1331 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1332 strategy.appendField(locator, this, "any", buffer, theAny); 1333 } 1334 return buffer; 1335 } 1336 1337 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1338 int currentHashCode = 1; 1339 { 1340 List<Object> theAny; 1341 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1342 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1343 } 1344 return currentHashCode; 1345 } 1346 1347 public int hashCode() { 1348 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1349 return this.hashCode(null, strategy); 1350 } 1351 1352 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1353 if (!(object instanceof DtoTransportConnector.BrokerInfo)) { 1354 return false; 1355 } 1356 if (this == object) { 1357 return true; 1358 } 1359 final DtoTransportConnector.BrokerInfo that = ((DtoTransportConnector.BrokerInfo) object); 1360 { 1361 List<Object> lhsAny; 1362 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1363 List<Object> rhsAny; 1364 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1365 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1366 return false; 1367 } 1368 } 1369 return true; 1370 } 1371 1372 public boolean equals(Object object) { 1373 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1374 return equals(null, null, object, strategy); 1375 } 1376 1377 } 1378 1379 1380 /** 1381 * <p>Java class for anonymous complex type. 1382 * 1383 * <p>The following schema fragment specifies the expected content contained within this class. 1384 * 1385 * <pre> 1386 * <complexType> 1387 * <complexContent> 1388 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1389 * <choice minOccurs="0"> 1390 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 1391 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 1392 * <any namespace='##other'/> 1393 * </choice> 1394 * </restriction> 1395 * </complexContent> 1396 * </complexType> 1397 * </pre> 1398 * 1399 * 1400 */ 1401 @XmlAccessorType(XmlAccessType.FIELD) 1402 @XmlType(name = "", propOrder = { 1403 "broker", 1404 "brokerService", 1405 "any" 1406 }) 1407 public static class BrokerService 1408 implements Equals, HashCode, ToString 1409 { 1410 1411 protected DtoBroker broker; 1412 protected DtoBrokerService brokerService; 1413 @XmlAnyElement(lax = true) 1414 protected Object any; 1415 1416 /** 1417 * Gets the value of the broker property. 1418 * 1419 * @return 1420 * possible object is 1421 * {@link DtoBroker } 1422 * 1423 */ 1424 public DtoBroker getBroker() { 1425 return broker; 1426 } 1427 1428 /** 1429 * Sets the value of the broker property. 1430 * 1431 * @param value 1432 * allowed object is 1433 * {@link DtoBroker } 1434 * 1435 */ 1436 public void setBroker(DtoBroker value) { 1437 this.broker = value; 1438 } 1439 1440 /** 1441 * Gets the value of the brokerService property. 1442 * 1443 * @return 1444 * possible object is 1445 * {@link DtoBrokerService } 1446 * 1447 */ 1448 public DtoBrokerService getBrokerService() { 1449 return brokerService; 1450 } 1451 1452 /** 1453 * Sets the value of the brokerService property. 1454 * 1455 * @param value 1456 * allowed object is 1457 * {@link DtoBrokerService } 1458 * 1459 */ 1460 public void setBrokerService(DtoBrokerService value) { 1461 this.brokerService = value; 1462 } 1463 1464 /** 1465 * Gets the value of the any property. 1466 * 1467 * @return 1468 * possible object is 1469 * {@link Object } 1470 * 1471 */ 1472 public Object getAny() { 1473 return any; 1474 } 1475 1476 /** 1477 * Sets the value of the any property. 1478 * 1479 * @param value 1480 * allowed object is 1481 * {@link Object } 1482 * 1483 */ 1484 public void setAny(Object value) { 1485 this.any = value; 1486 } 1487 1488 public String toString() { 1489 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1490 final StringBuilder buffer = new StringBuilder(); 1491 append(null, buffer, strategy); 1492 return buffer.toString(); 1493 } 1494 1495 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1496 strategy.appendStart(locator, this, buffer); 1497 appendFields(locator, buffer, strategy); 1498 strategy.appendEnd(locator, this, buffer); 1499 return buffer; 1500 } 1501 1502 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1503 { 1504 DtoBroker theBroker; 1505 theBroker = this.getBroker(); 1506 strategy.appendField(locator, this, "broker", buffer, theBroker); 1507 } 1508 { 1509 DtoBrokerService theBrokerService; 1510 theBrokerService = this.getBrokerService(); 1511 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 1512 } 1513 { 1514 Object theAny; 1515 theAny = this.getAny(); 1516 strategy.appendField(locator, this, "any", buffer, theAny); 1517 } 1518 return buffer; 1519 } 1520 1521 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1522 int currentHashCode = 1; 1523 { 1524 DtoBroker theBroker; 1525 theBroker = this.getBroker(); 1526 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker); 1527 } 1528 { 1529 DtoBrokerService theBrokerService; 1530 theBrokerService = this.getBrokerService(); 1531 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 1532 } 1533 { 1534 Object theAny; 1535 theAny = this.getAny(); 1536 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1537 } 1538 return currentHashCode; 1539 } 1540 1541 public int hashCode() { 1542 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1543 return this.hashCode(null, strategy); 1544 } 1545 1546 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1547 if (!(object instanceof DtoTransportConnector.BrokerService)) { 1548 return false; 1549 } 1550 if (this == object) { 1551 return true; 1552 } 1553 final DtoTransportConnector.BrokerService that = ((DtoTransportConnector.BrokerService) object); 1554 { 1555 DtoBroker lhsBroker; 1556 lhsBroker = this.getBroker(); 1557 DtoBroker rhsBroker; 1558 rhsBroker = that.getBroker(); 1559 if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) { 1560 return false; 1561 } 1562 } 1563 { 1564 DtoBrokerService lhsBrokerService; 1565 lhsBrokerService = this.getBrokerService(); 1566 DtoBrokerService rhsBrokerService; 1567 rhsBrokerService = that.getBrokerService(); 1568 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 1569 return false; 1570 } 1571 } 1572 { 1573 Object lhsAny; 1574 lhsAny = this.getAny(); 1575 Object rhsAny; 1576 rhsAny = that.getAny(); 1577 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1578 return false; 1579 } 1580 } 1581 return true; 1582 } 1583 1584 public boolean equals(Object object) { 1585 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1586 return equals(null, null, object, strategy); 1587 } 1588 1589 } 1590 1591 1592 /** 1593 * <p>Java class for anonymous complex type. 1594 * 1595 * <p>The following schema fragment specifies the expected content contained within this class. 1596 * 1597 * <pre> 1598 * <complexType> 1599 * <complexContent> 1600 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1601 * <sequence minOccurs="0"> 1602 * <any maxOccurs="unbounded" minOccurs="0"/> 1603 * </sequence> 1604 * </restriction> 1605 * </complexContent> 1606 * </complexType> 1607 * </pre> 1608 * 1609 * 1610 */ 1611 @XmlAccessorType(XmlAccessType.FIELD) 1612 @XmlType(name = "", propOrder = { 1613 "any" 1614 }) 1615 public static class DiscoveryAgent 1616 implements Equals, HashCode, ToString 1617 { 1618 1619 @XmlAnyElement(lax = true) 1620 protected List<Object> any; 1621 1622 /** 1623 * Gets the value of the any property. 1624 * 1625 * <p> 1626 * This accessor method returns a reference to the live list, 1627 * not a snapshot. Therefore any modification you make to the 1628 * returned list will be present inside the JAXB object. 1629 * This is why there is not a <CODE>set</CODE> method for the any property. 1630 * 1631 * <p> 1632 * For example, to add a new item, do as follows: 1633 * <pre> 1634 * getAny().add(newItem); 1635 * </pre> 1636 * 1637 * 1638 * <p> 1639 * Objects of the following type(s) are allowed in the list 1640 * {@link Object } 1641 * 1642 * 1643 */ 1644 public List<Object> getAny() { 1645 if (any == null) { 1646 any = new ArrayList<Object>(); 1647 } 1648 return this.any; 1649 } 1650 1651 public String toString() { 1652 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1653 final StringBuilder buffer = new StringBuilder(); 1654 append(null, buffer, strategy); 1655 return buffer.toString(); 1656 } 1657 1658 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1659 strategy.appendStart(locator, this, buffer); 1660 appendFields(locator, buffer, strategy); 1661 strategy.appendEnd(locator, this, buffer); 1662 return buffer; 1663 } 1664 1665 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1666 { 1667 List<Object> theAny; 1668 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1669 strategy.appendField(locator, this, "any", buffer, theAny); 1670 } 1671 return buffer; 1672 } 1673 1674 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1675 int currentHashCode = 1; 1676 { 1677 List<Object> theAny; 1678 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1679 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1680 } 1681 return currentHashCode; 1682 } 1683 1684 public int hashCode() { 1685 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1686 return this.hashCode(null, strategy); 1687 } 1688 1689 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1690 if (!(object instanceof DtoTransportConnector.DiscoveryAgent)) { 1691 return false; 1692 } 1693 if (this == object) { 1694 return true; 1695 } 1696 final DtoTransportConnector.DiscoveryAgent that = ((DtoTransportConnector.DiscoveryAgent) object); 1697 { 1698 List<Object> lhsAny; 1699 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1700 List<Object> rhsAny; 1701 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1702 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1703 return false; 1704 } 1705 } 1706 return true; 1707 } 1708 1709 public boolean equals(Object object) { 1710 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1711 return equals(null, null, object, strategy); 1712 } 1713 1714 } 1715 1716 1717 /** 1718 * <p>Java class for anonymous complex type. 1719 * 1720 * <p>The following schema fragment specifies the expected content contained within this class. 1721 * 1722 * <pre> 1723 * <complexType> 1724 * <complexContent> 1725 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1726 * <sequence minOccurs="0"> 1727 * <any maxOccurs="unbounded" minOccurs="0"/> 1728 * </sequence> 1729 * </restriction> 1730 * </complexContent> 1731 * </complexType> 1732 * </pre> 1733 * 1734 * 1735 */ 1736 @XmlAccessorType(XmlAccessType.FIELD) 1737 @XmlType(name = "", propOrder = { 1738 "any" 1739 }) 1740 public static class MessageAuthorizationPolicy 1741 implements Equals, HashCode, ToString 1742 { 1743 1744 @XmlAnyElement(lax = true) 1745 protected List<Object> any; 1746 1747 /** 1748 * Gets the value of the any property. 1749 * 1750 * <p> 1751 * This accessor method returns a reference to the live list, 1752 * not a snapshot. Therefore any modification you make to the 1753 * returned list will be present inside the JAXB object. 1754 * This is why there is not a <CODE>set</CODE> method for the any property. 1755 * 1756 * <p> 1757 * For example, to add a new item, do as follows: 1758 * <pre> 1759 * getAny().add(newItem); 1760 * </pre> 1761 * 1762 * 1763 * <p> 1764 * Objects of the following type(s) are allowed in the list 1765 * {@link Object } 1766 * 1767 * 1768 */ 1769 public List<Object> getAny() { 1770 if (any == null) { 1771 any = new ArrayList<Object>(); 1772 } 1773 return this.any; 1774 } 1775 1776 public String toString() { 1777 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1778 final StringBuilder buffer = new StringBuilder(); 1779 append(null, buffer, strategy); 1780 return buffer.toString(); 1781 } 1782 1783 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1784 strategy.appendStart(locator, this, buffer); 1785 appendFields(locator, buffer, strategy); 1786 strategy.appendEnd(locator, this, buffer); 1787 return buffer; 1788 } 1789 1790 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1791 { 1792 List<Object> theAny; 1793 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1794 strategy.appendField(locator, this, "any", buffer, theAny); 1795 } 1796 return buffer; 1797 } 1798 1799 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1800 int currentHashCode = 1; 1801 { 1802 List<Object> theAny; 1803 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1804 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1805 } 1806 return currentHashCode; 1807 } 1808 1809 public int hashCode() { 1810 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1811 return this.hashCode(null, strategy); 1812 } 1813 1814 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1815 if (!(object instanceof DtoTransportConnector.MessageAuthorizationPolicy)) { 1816 return false; 1817 } 1818 if (this == object) { 1819 return true; 1820 } 1821 final DtoTransportConnector.MessageAuthorizationPolicy that = ((DtoTransportConnector.MessageAuthorizationPolicy) object); 1822 { 1823 List<Object> lhsAny; 1824 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1825 List<Object> rhsAny; 1826 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1827 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1828 return false; 1829 } 1830 } 1831 return true; 1832 } 1833 1834 public boolean equals(Object object) { 1835 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1836 return equals(null, null, object, strategy); 1837 } 1838 1839 } 1840 1841 1842 /** 1843 * <p>Java class for anonymous complex type. 1844 * 1845 * <p>The following schema fragment specifies the expected content contained within this class. 1846 * 1847 * <pre> 1848 * <complexType> 1849 * <complexContent> 1850 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1851 * <choice minOccurs="0"> 1852 * <element ref="{http://activemq.apache.org/schema/core}publishedAddressPolicy"/> 1853 * <any namespace='##other'/> 1854 * </choice> 1855 * </restriction> 1856 * </complexContent> 1857 * </complexType> 1858 * </pre> 1859 * 1860 * 1861 */ 1862 @XmlAccessorType(XmlAccessType.FIELD) 1863 @XmlType(name = "", propOrder = { 1864 "publishedAddressPolicy", 1865 "any" 1866 }) 1867 public static class PublishedAddressPolicy 1868 implements Equals, HashCode, ToString 1869 { 1870 1871 protected DtoPublishedAddressPolicy publishedAddressPolicy; 1872 @XmlAnyElement(lax = true) 1873 protected Object any; 1874 1875 /** 1876 * Gets the value of the publishedAddressPolicy property. 1877 * 1878 * @return 1879 * possible object is 1880 * {@link DtoPublishedAddressPolicy } 1881 * 1882 */ 1883 public DtoPublishedAddressPolicy getPublishedAddressPolicy() { 1884 return publishedAddressPolicy; 1885 } 1886 1887 /** 1888 * Sets the value of the publishedAddressPolicy property. 1889 * 1890 * @param value 1891 * allowed object is 1892 * {@link DtoPublishedAddressPolicy } 1893 * 1894 */ 1895 public void setPublishedAddressPolicy(DtoPublishedAddressPolicy value) { 1896 this.publishedAddressPolicy = value; 1897 } 1898 1899 /** 1900 * Gets the value of the any property. 1901 * 1902 * @return 1903 * possible object is 1904 * {@link Object } 1905 * 1906 */ 1907 public Object getAny() { 1908 return any; 1909 } 1910 1911 /** 1912 * Sets the value of the any property. 1913 * 1914 * @param value 1915 * allowed object is 1916 * {@link Object } 1917 * 1918 */ 1919 public void setAny(Object value) { 1920 this.any = value; 1921 } 1922 1923 public String toString() { 1924 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1925 final StringBuilder buffer = new StringBuilder(); 1926 append(null, buffer, strategy); 1927 return buffer.toString(); 1928 } 1929 1930 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1931 strategy.appendStart(locator, this, buffer); 1932 appendFields(locator, buffer, strategy); 1933 strategy.appendEnd(locator, this, buffer); 1934 return buffer; 1935 } 1936 1937 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1938 { 1939 DtoPublishedAddressPolicy thePublishedAddressPolicy; 1940 thePublishedAddressPolicy = this.getPublishedAddressPolicy(); 1941 strategy.appendField(locator, this, "publishedAddressPolicy", buffer, thePublishedAddressPolicy); 1942 } 1943 { 1944 Object theAny; 1945 theAny = this.getAny(); 1946 strategy.appendField(locator, this, "any", buffer, theAny); 1947 } 1948 return buffer; 1949 } 1950 1951 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1952 int currentHashCode = 1; 1953 { 1954 DtoPublishedAddressPolicy thePublishedAddressPolicy; 1955 thePublishedAddressPolicy = this.getPublishedAddressPolicy(); 1956 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "publishedAddressPolicy", thePublishedAddressPolicy), currentHashCode, thePublishedAddressPolicy); 1957 } 1958 { 1959 Object theAny; 1960 theAny = this.getAny(); 1961 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1962 } 1963 return currentHashCode; 1964 } 1965 1966 public int hashCode() { 1967 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1968 return this.hashCode(null, strategy); 1969 } 1970 1971 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1972 if (!(object instanceof DtoTransportConnector.PublishedAddressPolicy)) { 1973 return false; 1974 } 1975 if (this == object) { 1976 return true; 1977 } 1978 final DtoTransportConnector.PublishedAddressPolicy that = ((DtoTransportConnector.PublishedAddressPolicy) object); 1979 { 1980 DtoPublishedAddressPolicy lhsPublishedAddressPolicy; 1981 lhsPublishedAddressPolicy = this.getPublishedAddressPolicy(); 1982 DtoPublishedAddressPolicy rhsPublishedAddressPolicy; 1983 rhsPublishedAddressPolicy = that.getPublishedAddressPolicy(); 1984 if (!strategy.equals(LocatorUtils.property(thisLocator, "publishedAddressPolicy", lhsPublishedAddressPolicy), LocatorUtils.property(thatLocator, "publishedAddressPolicy", rhsPublishedAddressPolicy), lhsPublishedAddressPolicy, rhsPublishedAddressPolicy)) { 1985 return false; 1986 } 1987 } 1988 { 1989 Object lhsAny; 1990 lhsAny = this.getAny(); 1991 Object rhsAny; 1992 rhsAny = that.getAny(); 1993 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1994 return false; 1995 } 1996 } 1997 return true; 1998 } 1999 2000 public boolean equals(Object object) { 2001 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2002 return equals(null, null, object, strategy); 2003 } 2004 2005 } 2006 2007 2008 /** 2009 * <p>Java class for anonymous complex type. 2010 * 2011 * <p>The following schema fragment specifies the expected content contained within this class. 2012 * 2013 * <pre> 2014 * <complexType> 2015 * <complexContent> 2016 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2017 * <sequence minOccurs="0"> 2018 * <any maxOccurs="unbounded" minOccurs="0"/> 2019 * </sequence> 2020 * </restriction> 2021 * </complexContent> 2022 * </complexType> 2023 * </pre> 2024 * 2025 * 2026 */ 2027 @XmlAccessorType(XmlAccessType.FIELD) 2028 @XmlType(name = "", propOrder = { 2029 "any" 2030 }) 2031 public static class Server 2032 implements Equals, HashCode, ToString 2033 { 2034 2035 @XmlAnyElement(lax = true) 2036 protected List<Object> any; 2037 2038 /** 2039 * Gets the value of the any property. 2040 * 2041 * <p> 2042 * This accessor method returns a reference to the live list, 2043 * not a snapshot. Therefore any modification you make to the 2044 * returned list will be present inside the JAXB object. 2045 * This is why there is not a <CODE>set</CODE> method for the any property. 2046 * 2047 * <p> 2048 * For example, to add a new item, do as follows: 2049 * <pre> 2050 * getAny().add(newItem); 2051 * </pre> 2052 * 2053 * 2054 * <p> 2055 * Objects of the following type(s) are allowed in the list 2056 * {@link Object } 2057 * 2058 * 2059 */ 2060 public List<Object> getAny() { 2061 if (any == null) { 2062 any = new ArrayList<Object>(); 2063 } 2064 return this.any; 2065 } 2066 2067 public String toString() { 2068 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2069 final StringBuilder buffer = new StringBuilder(); 2070 append(null, buffer, strategy); 2071 return buffer.toString(); 2072 } 2073 2074 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2075 strategy.appendStart(locator, this, buffer); 2076 appendFields(locator, buffer, strategy); 2077 strategy.appendEnd(locator, this, buffer); 2078 return buffer; 2079 } 2080 2081 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2082 { 2083 List<Object> theAny; 2084 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2085 strategy.appendField(locator, this, "any", buffer, theAny); 2086 } 2087 return buffer; 2088 } 2089 2090 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2091 int currentHashCode = 1; 2092 { 2093 List<Object> theAny; 2094 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2095 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2096 } 2097 return currentHashCode; 2098 } 2099 2100 public int hashCode() { 2101 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2102 return this.hashCode(null, strategy); 2103 } 2104 2105 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2106 if (!(object instanceof DtoTransportConnector.Server)) { 2107 return false; 2108 } 2109 if (this == object) { 2110 return true; 2111 } 2112 final DtoTransportConnector.Server that = ((DtoTransportConnector.Server) object); 2113 { 2114 List<Object> lhsAny; 2115 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2116 List<Object> rhsAny; 2117 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 2118 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2119 return false; 2120 } 2121 } 2122 return true; 2123 } 2124 2125 public boolean equals(Object object) { 2126 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2127 return equals(null, null, object, strategy); 2128 } 2129 2130 } 2131 2132 2133 /** 2134 * <p>Java class for anonymous complex type. 2135 * 2136 * <p>The following schema fragment specifies the expected content contained within this class. 2137 * 2138 * <pre> 2139 * <complexType> 2140 * <complexContent> 2141 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2142 * <choice minOccurs="0"> 2143 * <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/> 2144 * <any namespace='##other'/> 2145 * </choice> 2146 * </restriction> 2147 * </complexContent> 2148 * </complexType> 2149 * </pre> 2150 * 2151 * 2152 */ 2153 @XmlAccessorType(XmlAccessType.FIELD) 2154 @XmlType(name = "", propOrder = { 2155 "taskRunnerFactory", 2156 "any" 2157 }) 2158 public static class TaskRunnerFactory 2159 implements Equals, HashCode, ToString 2160 { 2161 2162 protected DtoTaskRunnerFactory taskRunnerFactory; 2163 @XmlAnyElement(lax = true) 2164 protected Object any; 2165 2166 /** 2167 * Gets the value of the taskRunnerFactory property. 2168 * 2169 * @return 2170 * possible object is 2171 * {@link DtoTaskRunnerFactory } 2172 * 2173 */ 2174 public DtoTaskRunnerFactory getTaskRunnerFactory() { 2175 return taskRunnerFactory; 2176 } 2177 2178 /** 2179 * Sets the value of the taskRunnerFactory property. 2180 * 2181 * @param value 2182 * allowed object is 2183 * {@link DtoTaskRunnerFactory } 2184 * 2185 */ 2186 public void setTaskRunnerFactory(DtoTaskRunnerFactory value) { 2187 this.taskRunnerFactory = value; 2188 } 2189 2190 /** 2191 * Gets the value of the any property. 2192 * 2193 * @return 2194 * possible object is 2195 * {@link Object } 2196 * 2197 */ 2198 public Object getAny() { 2199 return any; 2200 } 2201 2202 /** 2203 * Sets the value of the any property. 2204 * 2205 * @param value 2206 * allowed object is 2207 * {@link Object } 2208 * 2209 */ 2210 public void setAny(Object value) { 2211 this.any = value; 2212 } 2213 2214 public String toString() { 2215 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2216 final StringBuilder buffer = new StringBuilder(); 2217 append(null, buffer, strategy); 2218 return buffer.toString(); 2219 } 2220 2221 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2222 strategy.appendStart(locator, this, buffer); 2223 appendFields(locator, buffer, strategy); 2224 strategy.appendEnd(locator, this, buffer); 2225 return buffer; 2226 } 2227 2228 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2229 { 2230 DtoTaskRunnerFactory theTaskRunnerFactory; 2231 theTaskRunnerFactory = this.getTaskRunnerFactory(); 2232 strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory); 2233 } 2234 { 2235 Object theAny; 2236 theAny = this.getAny(); 2237 strategy.appendField(locator, this, "any", buffer, theAny); 2238 } 2239 return buffer; 2240 } 2241 2242 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2243 int currentHashCode = 1; 2244 { 2245 DtoTaskRunnerFactory theTaskRunnerFactory; 2246 theTaskRunnerFactory = this.getTaskRunnerFactory(); 2247 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory); 2248 } 2249 { 2250 Object theAny; 2251 theAny = this.getAny(); 2252 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2253 } 2254 return currentHashCode; 2255 } 2256 2257 public int hashCode() { 2258 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2259 return this.hashCode(null, strategy); 2260 } 2261 2262 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2263 if (!(object instanceof DtoTransportConnector.TaskRunnerFactory)) { 2264 return false; 2265 } 2266 if (this == object) { 2267 return true; 2268 } 2269 final DtoTransportConnector.TaskRunnerFactory that = ((DtoTransportConnector.TaskRunnerFactory) object); 2270 { 2271 DtoTaskRunnerFactory lhsTaskRunnerFactory; 2272 lhsTaskRunnerFactory = this.getTaskRunnerFactory(); 2273 DtoTaskRunnerFactory rhsTaskRunnerFactory; 2274 rhsTaskRunnerFactory = that.getTaskRunnerFactory(); 2275 if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) { 2276 return false; 2277 } 2278 } 2279 { 2280 Object lhsAny; 2281 lhsAny = this.getAny(); 2282 Object rhsAny; 2283 rhsAny = that.getAny(); 2284 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2285 return false; 2286 } 2287 } 2288 return true; 2289 } 2290 2291 public boolean equals(Object object) { 2292 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2293 return equals(null, null, object, strategy); 2294 } 2295 2296 } 2297 2298}