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="brokerService" minOccurs="0"> 055 * <complexType> 056 * <complexContent> 057 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 058 * <choice minOccurs="0"> 059 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 060 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 061 * <any namespace='##other'/> 062 * </choice> 063 * </restriction> 064 * </complexContent> 065 * </complexType> 066 * </element> 067 * <element name="inboundMessageConvertor" minOccurs="0"> 068 * <complexType> 069 * <complexContent> 070 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 071 * <choice minOccurs="0"> 072 * <element ref="{http://activemq.apache.org/schema/core}simpleJmsMessageConvertor"/> 073 * <any namespace='##other'/> 074 * </choice> 075 * </restriction> 076 * </complexContent> 077 * </complexType> 078 * </element> 079 * <element name="inboundTopicBridges" maxOccurs="unbounded" minOccurs="0"> 080 * <complexType> 081 * <complexContent> 082 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 083 * <choice maxOccurs="unbounded" minOccurs="0"> 084 * <element ref="{http://activemq.apache.org/schema/core}inboundTopicBridge"/> 085 * <any namespace='##other'/> 086 * </choice> 087 * </restriction> 088 * </complexContent> 089 * </complexType> 090 * </element> 091 * <element name="localTopicConnection" minOccurs="0"> 092 * <complexType> 093 * <complexContent> 094 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 095 * <sequence minOccurs="0"> 096 * <any maxOccurs="unbounded" minOccurs="0"/> 097 * </sequence> 098 * </restriction> 099 * </complexContent> 100 * </complexType> 101 * </element> 102 * <element name="localTopicConnectionFactory" minOccurs="0"> 103 * <complexType> 104 * <complexContent> 105 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 106 * <choice minOccurs="0"> 107 * <element ref="{http://activemq.apache.org/schema/core}connectionFactory"/> 108 * <element ref="{http://activemq.apache.org/schema/core}xaConnectionFactory"/> 109 * <any namespace='##other'/> 110 * </choice> 111 * </restriction> 112 * </complexContent> 113 * </complexType> 114 * </element> 115 * <element name="outboundMessageConvertor" minOccurs="0"> 116 * <complexType> 117 * <complexContent> 118 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 119 * <choice minOccurs="0"> 120 * <element ref="{http://activemq.apache.org/schema/core}simpleJmsMessageConvertor"/> 121 * <any namespace='##other'/> 122 * </choice> 123 * </restriction> 124 * </complexContent> 125 * </complexType> 126 * </element> 127 * <element name="outboundTopicBridges" maxOccurs="unbounded" minOccurs="0"> 128 * <complexType> 129 * <complexContent> 130 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 131 * <choice maxOccurs="unbounded" minOccurs="0"> 132 * <element ref="{http://activemq.apache.org/schema/core}outboundTopicBridge"/> 133 * <any namespace='##other'/> 134 * </choice> 135 * </restriction> 136 * </complexContent> 137 * </complexType> 138 * </element> 139 * <element name="outboundTopicConnection" minOccurs="0"> 140 * <complexType> 141 * <complexContent> 142 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 143 * <sequence minOccurs="0"> 144 * <any maxOccurs="unbounded" minOccurs="0"/> 145 * </sequence> 146 * </restriction> 147 * </complexContent> 148 * </complexType> 149 * </element> 150 * <element name="outboundTopicConnectionFactory" minOccurs="0"> 151 * <complexType> 152 * <complexContent> 153 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 154 * <choice minOccurs="0"> 155 * <element ref="{http://activemq.apache.org/schema/core}connectionFactory"/> 156 * <element ref="{http://activemq.apache.org/schema/core}xaConnectionFactory"/> 157 * <any namespace='##other'/> 158 * </choice> 159 * </restriction> 160 * </complexContent> 161 * </complexType> 162 * </element> 163 * <element name="reconnectionPolicy" minOccurs="0"> 164 * <complexType> 165 * <complexContent> 166 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 167 * <choice minOccurs="0"> 168 * <element ref="{http://activemq.apache.org/schema/core}reconnectionPolicy"/> 169 * <any namespace='##other'/> 170 * </choice> 171 * </restriction> 172 * </complexContent> 173 * </complexType> 174 * </element> 175 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 176 * </choice> 177 * </choice> 178 * <attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" /> 179 * <attribute name="inboundMessageConvertor" type="{http://www.w3.org/2001/XMLSchema}string" /> 180 * <attribute name="jndiLocalTemplate" type="{http://www.w3.org/2001/XMLSchema}string" /> 181 * <attribute name="jndiOutboundTemplate" type="{http://www.w3.org/2001/XMLSchema}string" /> 182 * <attribute name="localClientId" type="{http://www.w3.org/2001/XMLSchema}string" /> 183 * <attribute name="localConnectionFactoryName" type="{http://www.w3.org/2001/XMLSchema}string" /> 184 * <attribute name="localPassword" type="{http://www.w3.org/2001/XMLSchema}string" /> 185 * <attribute name="localTopicConnection" type="{http://www.w3.org/2001/XMLSchema}string" /> 186 * <attribute name="localTopicConnectionFactory" type="{http://www.w3.org/2001/XMLSchema}string" /> 187 * <attribute name="localUsername" type="{http://www.w3.org/2001/XMLSchema}string" /> 188 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 189 * <attribute name="outboundClientId" type="{http://www.w3.org/2001/XMLSchema}string" /> 190 * <attribute name="outboundMessageConvertor" type="{http://www.w3.org/2001/XMLSchema}string" /> 191 * <attribute name="outboundPassword" type="{http://www.w3.org/2001/XMLSchema}string" /> 192 * <attribute name="outboundTopicConnection" type="{http://www.w3.org/2001/XMLSchema}string" /> 193 * <attribute name="outboundTopicConnectionFactory" type="{http://www.w3.org/2001/XMLSchema}string" /> 194 * <attribute name="outboundTopicConnectionFactoryName" type="{http://www.w3.org/2001/XMLSchema}string" /> 195 * <attribute name="outboundUsername" type="{http://www.w3.org/2001/XMLSchema}string" /> 196 * <attribute name="preferJndiDestinationLookup" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 197 * <attribute name="reconnectionPolicy" type="{http://www.w3.org/2001/XMLSchema}string" /> 198 * <attribute name="replyToDestinationCacheSize" type="{http://www.w3.org/2001/XMLSchema}integer" /> 199 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 200 * <anyAttribute processContents='lax' namespace='##other'/> 201 * </restriction> 202 * </complexContent> 203 * </complexType> 204 * </pre> 205 * 206 * 207 */ 208@XmlAccessorType(XmlAccessType.FIELD) 209@XmlType(name = "", propOrder = { 210 "brokerServiceOrInboundMessageConvertorOrInboundTopicBridges" 211}) 212@XmlRootElement(name = "jmsTopicConnector") 213public class DtoJmsTopicConnector implements Equals, HashCode, ToString 214{ 215 216 @XmlElementRefs({ 217 @XmlElementRef(name = "outboundTopicConnection", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 218 @XmlElementRef(name = "localTopicConnectionFactory", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 219 @XmlElementRef(name = "inboundTopicBridges", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 220 @XmlElementRef(name = "outboundMessageConvertor", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 221 @XmlElementRef(name = "outboundTopicBridges", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 222 @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 223 @XmlElementRef(name = "inboundMessageConvertor", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 224 @XmlElementRef(name = "localTopicConnection", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 225 @XmlElementRef(name = "outboundTopicConnectionFactory", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 226 @XmlElementRef(name = "reconnectionPolicy", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 227 }) 228 @XmlAnyElement(lax = true) 229 protected List<Object> brokerServiceOrInboundMessageConvertorOrInboundTopicBridges; 230 @XmlAttribute(name = "brokerService") 231 protected String brokerService; 232 @XmlAttribute(name = "inboundMessageConvertor") 233 protected String inboundMessageConvertor; 234 @XmlAttribute(name = "jndiLocalTemplate") 235 protected String jndiLocalTemplate; 236 @XmlAttribute(name = "jndiOutboundTemplate") 237 protected String jndiOutboundTemplate; 238 @XmlAttribute(name = "localClientId") 239 protected String localClientId; 240 @XmlAttribute(name = "localConnectionFactoryName") 241 protected String localConnectionFactoryName; 242 @XmlAttribute(name = "localPassword") 243 protected String localPassword; 244 @XmlAttribute(name = "localTopicConnection") 245 protected String localTopicConnection; 246 @XmlAttribute(name = "localTopicConnectionFactory") 247 protected String localTopicConnectionFactory; 248 @XmlAttribute(name = "localUsername") 249 protected String localUsername; 250 @XmlAttribute(name = "name") 251 protected String name; 252 @XmlAttribute(name = "outboundClientId") 253 protected String outboundClientId; 254 @XmlAttribute(name = "outboundMessageConvertor") 255 protected String outboundMessageConvertor; 256 @XmlAttribute(name = "outboundPassword") 257 protected String outboundPassword; 258 @XmlAttribute(name = "outboundTopicConnection") 259 protected String outboundTopicConnection; 260 @XmlAttribute(name = "outboundTopicConnectionFactory") 261 protected String outboundTopicConnectionFactory; 262 @XmlAttribute(name = "outboundTopicConnectionFactoryName") 263 protected String outboundTopicConnectionFactoryName; 264 @XmlAttribute(name = "outboundUsername") 265 protected String outboundUsername; 266 @XmlAttribute(name = "preferJndiDestinationLookup") 267 protected Boolean preferJndiDestinationLookup; 268 @XmlAttribute(name = "reconnectionPolicy") 269 protected String reconnectionPolicy; 270 @XmlAttribute(name = "replyToDestinationCacheSize") 271 protected BigInteger replyToDestinationCacheSize; 272 @XmlAttribute(name = "id") 273 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 274 @XmlID 275 @XmlSchemaType(name = "ID") 276 protected String id; 277 @XmlAnyAttribute 278 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 279 280 /** 281 * Gets the value of the brokerServiceOrInboundMessageConvertorOrInboundTopicBridges property. 282 * 283 * <p> 284 * This accessor method returns a reference to the live list, 285 * not a snapshot. Therefore any modification you make to the 286 * returned list will be present inside the JAXB object. 287 * This is why there is not a <CODE>set</CODE> method for the brokerServiceOrInboundMessageConvertorOrInboundTopicBridges property. 288 * 289 * <p> 290 * For example, to add a new item, do as follows: 291 * <pre> 292 * getBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges().add(newItem); 293 * </pre> 294 * 295 * 296 * <p> 297 * Objects of the following type(s) are allowed in the list 298 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.OutboundTopicConnection }{@code >} 299 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.LocalTopicConnectionFactory }{@code >} 300 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.InboundTopicBridges }{@code >} 301 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.OutboundMessageConvertor }{@code >} 302 * {@link Object } 303 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.OutboundTopicBridges }{@code >} 304 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.BrokerService }{@code >} 305 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.InboundMessageConvertor }{@code >} 306 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.LocalTopicConnection }{@code >} 307 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.OutboundTopicConnectionFactory }{@code >} 308 * {@link JAXBElement }{@code <}{@link DtoJmsTopicConnector.ReconnectionPolicy }{@code >} 309 * 310 * 311 */ 312 public List<Object> getBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges() { 313 if (brokerServiceOrInboundMessageConvertorOrInboundTopicBridges == null) { 314 brokerServiceOrInboundMessageConvertorOrInboundTopicBridges = new ArrayList<Object>(); 315 } 316 return this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges; 317 } 318 319 /** 320 * Gets the value of the brokerService property. 321 * 322 * @return 323 * possible object is 324 * {@link String } 325 * 326 */ 327 public String getBrokerService() { 328 return brokerService; 329 } 330 331 /** 332 * Sets the value of the brokerService property. 333 * 334 * @param value 335 * allowed object is 336 * {@link String } 337 * 338 */ 339 public void setBrokerService(String value) { 340 this.brokerService = value; 341 } 342 343 /** 344 * Gets the value of the inboundMessageConvertor property. 345 * 346 * @return 347 * possible object is 348 * {@link String } 349 * 350 */ 351 public String getInboundMessageConvertor() { 352 return inboundMessageConvertor; 353 } 354 355 /** 356 * Sets the value of the inboundMessageConvertor property. 357 * 358 * @param value 359 * allowed object is 360 * {@link String } 361 * 362 */ 363 public void setInboundMessageConvertor(String value) { 364 this.inboundMessageConvertor = value; 365 } 366 367 /** 368 * Gets the value of the jndiLocalTemplate property. 369 * 370 * @return 371 * possible object is 372 * {@link String } 373 * 374 */ 375 public String getJndiLocalTemplate() { 376 return jndiLocalTemplate; 377 } 378 379 /** 380 * Sets the value of the jndiLocalTemplate property. 381 * 382 * @param value 383 * allowed object is 384 * {@link String } 385 * 386 */ 387 public void setJndiLocalTemplate(String value) { 388 this.jndiLocalTemplate = value; 389 } 390 391 /** 392 * Gets the value of the jndiOutboundTemplate property. 393 * 394 * @return 395 * possible object is 396 * {@link String } 397 * 398 */ 399 public String getJndiOutboundTemplate() { 400 return jndiOutboundTemplate; 401 } 402 403 /** 404 * Sets the value of the jndiOutboundTemplate property. 405 * 406 * @param value 407 * allowed object is 408 * {@link String } 409 * 410 */ 411 public void setJndiOutboundTemplate(String value) { 412 this.jndiOutboundTemplate = value; 413 } 414 415 /** 416 * Gets the value of the localClientId property. 417 * 418 * @return 419 * possible object is 420 * {@link String } 421 * 422 */ 423 public String getLocalClientId() { 424 return localClientId; 425 } 426 427 /** 428 * Sets the value of the localClientId property. 429 * 430 * @param value 431 * allowed object is 432 * {@link String } 433 * 434 */ 435 public void setLocalClientId(String value) { 436 this.localClientId = value; 437 } 438 439 /** 440 * Gets the value of the localConnectionFactoryName property. 441 * 442 * @return 443 * possible object is 444 * {@link String } 445 * 446 */ 447 public String getLocalConnectionFactoryName() { 448 return localConnectionFactoryName; 449 } 450 451 /** 452 * Sets the value of the localConnectionFactoryName property. 453 * 454 * @param value 455 * allowed object is 456 * {@link String } 457 * 458 */ 459 public void setLocalConnectionFactoryName(String value) { 460 this.localConnectionFactoryName = value; 461 } 462 463 /** 464 * Gets the value of the localPassword property. 465 * 466 * @return 467 * possible object is 468 * {@link String } 469 * 470 */ 471 public String getLocalPassword() { 472 return localPassword; 473 } 474 475 /** 476 * Sets the value of the localPassword property. 477 * 478 * @param value 479 * allowed object is 480 * {@link String } 481 * 482 */ 483 public void setLocalPassword(String value) { 484 this.localPassword = value; 485 } 486 487 /** 488 * Gets the value of the localTopicConnection property. 489 * 490 * @return 491 * possible object is 492 * {@link String } 493 * 494 */ 495 public String getLocalTopicConnection() { 496 return localTopicConnection; 497 } 498 499 /** 500 * Sets the value of the localTopicConnection property. 501 * 502 * @param value 503 * allowed object is 504 * {@link String } 505 * 506 */ 507 public void setLocalTopicConnection(String value) { 508 this.localTopicConnection = value; 509 } 510 511 /** 512 * Gets the value of the localTopicConnectionFactory property. 513 * 514 * @return 515 * possible object is 516 * {@link String } 517 * 518 */ 519 public String getLocalTopicConnectionFactory() { 520 return localTopicConnectionFactory; 521 } 522 523 /** 524 * Sets the value of the localTopicConnectionFactory property. 525 * 526 * @param value 527 * allowed object is 528 * {@link String } 529 * 530 */ 531 public void setLocalTopicConnectionFactory(String value) { 532 this.localTopicConnectionFactory = value; 533 } 534 535 /** 536 * Gets the value of the localUsername property. 537 * 538 * @return 539 * possible object is 540 * {@link String } 541 * 542 */ 543 public String getLocalUsername() { 544 return localUsername; 545 } 546 547 /** 548 * Sets the value of the localUsername property. 549 * 550 * @param value 551 * allowed object is 552 * {@link String } 553 * 554 */ 555 public void setLocalUsername(String value) { 556 this.localUsername = value; 557 } 558 559 /** 560 * Gets the value of the name property. 561 * 562 * @return 563 * possible object is 564 * {@link String } 565 * 566 */ 567 public String getName() { 568 return name; 569 } 570 571 /** 572 * Sets the value of the name property. 573 * 574 * @param value 575 * allowed object is 576 * {@link String } 577 * 578 */ 579 public void setName(String value) { 580 this.name = value; 581 } 582 583 /** 584 * Gets the value of the outboundClientId property. 585 * 586 * @return 587 * possible object is 588 * {@link String } 589 * 590 */ 591 public String getOutboundClientId() { 592 return outboundClientId; 593 } 594 595 /** 596 * Sets the value of the outboundClientId property. 597 * 598 * @param value 599 * allowed object is 600 * {@link String } 601 * 602 */ 603 public void setOutboundClientId(String value) { 604 this.outboundClientId = value; 605 } 606 607 /** 608 * Gets the value of the outboundMessageConvertor property. 609 * 610 * @return 611 * possible object is 612 * {@link String } 613 * 614 */ 615 public String getOutboundMessageConvertor() { 616 return outboundMessageConvertor; 617 } 618 619 /** 620 * Sets the value of the outboundMessageConvertor property. 621 * 622 * @param value 623 * allowed object is 624 * {@link String } 625 * 626 */ 627 public void setOutboundMessageConvertor(String value) { 628 this.outboundMessageConvertor = value; 629 } 630 631 /** 632 * Gets the value of the outboundPassword property. 633 * 634 * @return 635 * possible object is 636 * {@link String } 637 * 638 */ 639 public String getOutboundPassword() { 640 return outboundPassword; 641 } 642 643 /** 644 * Sets the value of the outboundPassword property. 645 * 646 * @param value 647 * allowed object is 648 * {@link String } 649 * 650 */ 651 public void setOutboundPassword(String value) { 652 this.outboundPassword = value; 653 } 654 655 /** 656 * Gets the value of the outboundTopicConnection property. 657 * 658 * @return 659 * possible object is 660 * {@link String } 661 * 662 */ 663 public String getOutboundTopicConnection() { 664 return outboundTopicConnection; 665 } 666 667 /** 668 * Sets the value of the outboundTopicConnection property. 669 * 670 * @param value 671 * allowed object is 672 * {@link String } 673 * 674 */ 675 public void setOutboundTopicConnection(String value) { 676 this.outboundTopicConnection = value; 677 } 678 679 /** 680 * Gets the value of the outboundTopicConnectionFactory property. 681 * 682 * @return 683 * possible object is 684 * {@link String } 685 * 686 */ 687 public String getOutboundTopicConnectionFactory() { 688 return outboundTopicConnectionFactory; 689 } 690 691 /** 692 * Sets the value of the outboundTopicConnectionFactory property. 693 * 694 * @param value 695 * allowed object is 696 * {@link String } 697 * 698 */ 699 public void setOutboundTopicConnectionFactory(String value) { 700 this.outboundTopicConnectionFactory = value; 701 } 702 703 /** 704 * Gets the value of the outboundTopicConnectionFactoryName property. 705 * 706 * @return 707 * possible object is 708 * {@link String } 709 * 710 */ 711 public String getOutboundTopicConnectionFactoryName() { 712 return outboundTopicConnectionFactoryName; 713 } 714 715 /** 716 * Sets the value of the outboundTopicConnectionFactoryName property. 717 * 718 * @param value 719 * allowed object is 720 * {@link String } 721 * 722 */ 723 public void setOutboundTopicConnectionFactoryName(String value) { 724 this.outboundTopicConnectionFactoryName = value; 725 } 726 727 /** 728 * Gets the value of the outboundUsername property. 729 * 730 * @return 731 * possible object is 732 * {@link String } 733 * 734 */ 735 public String getOutboundUsername() { 736 return outboundUsername; 737 } 738 739 /** 740 * Sets the value of the outboundUsername property. 741 * 742 * @param value 743 * allowed object is 744 * {@link String } 745 * 746 */ 747 public void setOutboundUsername(String value) { 748 this.outboundUsername = value; 749 } 750 751 /** 752 * Gets the value of the preferJndiDestinationLookup property. 753 * 754 * @return 755 * possible object is 756 * {@link Boolean } 757 * 758 */ 759 public Boolean isPreferJndiDestinationLookup() { 760 return preferJndiDestinationLookup; 761 } 762 763 /** 764 * Sets the value of the preferJndiDestinationLookup property. 765 * 766 * @param value 767 * allowed object is 768 * {@link Boolean } 769 * 770 */ 771 public void setPreferJndiDestinationLookup(Boolean value) { 772 this.preferJndiDestinationLookup = value; 773 } 774 775 /** 776 * Gets the value of the reconnectionPolicy property. 777 * 778 * @return 779 * possible object is 780 * {@link String } 781 * 782 */ 783 public String getReconnectionPolicy() { 784 return reconnectionPolicy; 785 } 786 787 /** 788 * Sets the value of the reconnectionPolicy property. 789 * 790 * @param value 791 * allowed object is 792 * {@link String } 793 * 794 */ 795 public void setReconnectionPolicy(String value) { 796 this.reconnectionPolicy = value; 797 } 798 799 /** 800 * Gets the value of the replyToDestinationCacheSize property. 801 * 802 * @return 803 * possible object is 804 * {@link BigInteger } 805 * 806 */ 807 public BigInteger getReplyToDestinationCacheSize() { 808 return replyToDestinationCacheSize; 809 } 810 811 /** 812 * Sets the value of the replyToDestinationCacheSize property. 813 * 814 * @param value 815 * allowed object is 816 * {@link BigInteger } 817 * 818 */ 819 public void setReplyToDestinationCacheSize(BigInteger value) { 820 this.replyToDestinationCacheSize = value; 821 } 822 823 /** 824 * Gets the value of the id property. 825 * 826 * @return 827 * possible object is 828 * {@link String } 829 * 830 */ 831 public String getId() { 832 return id; 833 } 834 835 /** 836 * Sets the value of the id property. 837 * 838 * @param value 839 * allowed object is 840 * {@link String } 841 * 842 */ 843 public void setId(String value) { 844 this.id = value; 845 } 846 847 /** 848 * Gets a map that contains attributes that aren't bound to any typed property on this class. 849 * 850 * <p> 851 * the map is keyed by the name of the attribute and 852 * the value is the string value of the attribute. 853 * 854 * the map returned by this method is live, and you can add new attribute 855 * by updating the map directly. Because of this design, there's no setter. 856 * 857 * 858 * @return 859 * always non-null 860 */ 861 public Map<QName, String> getOtherAttributes() { 862 return otherAttributes; 863 } 864 865 public String toString() { 866 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 867 final StringBuilder buffer = new StringBuilder(); 868 append(null, buffer, strategy); 869 return buffer.toString(); 870 } 871 872 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 873 strategy.appendStart(locator, this, buffer); 874 appendFields(locator, buffer, strategy); 875 strategy.appendEnd(locator, this, buffer); 876 return buffer; 877 } 878 879 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 880 { 881 List<Object> theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges; 882 theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges = (((this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges!= null)&&(!this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges.isEmpty()))?this.getBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges():null); 883 strategy.appendField(locator, this, "brokerServiceOrInboundMessageConvertorOrInboundTopicBridges", buffer, theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges); 884 } 885 { 886 String theBrokerService; 887 theBrokerService = this.getBrokerService(); 888 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 889 } 890 { 891 String theInboundMessageConvertor; 892 theInboundMessageConvertor = this.getInboundMessageConvertor(); 893 strategy.appendField(locator, this, "inboundMessageConvertor", buffer, theInboundMessageConvertor); 894 } 895 { 896 String theJndiLocalTemplate; 897 theJndiLocalTemplate = this.getJndiLocalTemplate(); 898 strategy.appendField(locator, this, "jndiLocalTemplate", buffer, theJndiLocalTemplate); 899 } 900 { 901 String theJndiOutboundTemplate; 902 theJndiOutboundTemplate = this.getJndiOutboundTemplate(); 903 strategy.appendField(locator, this, "jndiOutboundTemplate", buffer, theJndiOutboundTemplate); 904 } 905 { 906 String theLocalClientId; 907 theLocalClientId = this.getLocalClientId(); 908 strategy.appendField(locator, this, "localClientId", buffer, theLocalClientId); 909 } 910 { 911 String theLocalConnectionFactoryName; 912 theLocalConnectionFactoryName = this.getLocalConnectionFactoryName(); 913 strategy.appendField(locator, this, "localConnectionFactoryName", buffer, theLocalConnectionFactoryName); 914 } 915 { 916 String theLocalPassword; 917 theLocalPassword = this.getLocalPassword(); 918 strategy.appendField(locator, this, "localPassword", buffer, theLocalPassword); 919 } 920 { 921 String theLocalTopicConnection; 922 theLocalTopicConnection = this.getLocalTopicConnection(); 923 strategy.appendField(locator, this, "localTopicConnection", buffer, theLocalTopicConnection); 924 } 925 { 926 String theLocalTopicConnectionFactory; 927 theLocalTopicConnectionFactory = this.getLocalTopicConnectionFactory(); 928 strategy.appendField(locator, this, "localTopicConnectionFactory", buffer, theLocalTopicConnectionFactory); 929 } 930 { 931 String theLocalUsername; 932 theLocalUsername = this.getLocalUsername(); 933 strategy.appendField(locator, this, "localUsername", buffer, theLocalUsername); 934 } 935 { 936 String theName; 937 theName = this.getName(); 938 strategy.appendField(locator, this, "name", buffer, theName); 939 } 940 { 941 String theOutboundClientId; 942 theOutboundClientId = this.getOutboundClientId(); 943 strategy.appendField(locator, this, "outboundClientId", buffer, theOutboundClientId); 944 } 945 { 946 String theOutboundMessageConvertor; 947 theOutboundMessageConvertor = this.getOutboundMessageConvertor(); 948 strategy.appendField(locator, this, "outboundMessageConvertor", buffer, theOutboundMessageConvertor); 949 } 950 { 951 String theOutboundPassword; 952 theOutboundPassword = this.getOutboundPassword(); 953 strategy.appendField(locator, this, "outboundPassword", buffer, theOutboundPassword); 954 } 955 { 956 String theOutboundTopicConnection; 957 theOutboundTopicConnection = this.getOutboundTopicConnection(); 958 strategy.appendField(locator, this, "outboundTopicConnection", buffer, theOutboundTopicConnection); 959 } 960 { 961 String theOutboundTopicConnectionFactory; 962 theOutboundTopicConnectionFactory = this.getOutboundTopicConnectionFactory(); 963 strategy.appendField(locator, this, "outboundTopicConnectionFactory", buffer, theOutboundTopicConnectionFactory); 964 } 965 { 966 String theOutboundTopicConnectionFactoryName; 967 theOutboundTopicConnectionFactoryName = this.getOutboundTopicConnectionFactoryName(); 968 strategy.appendField(locator, this, "outboundTopicConnectionFactoryName", buffer, theOutboundTopicConnectionFactoryName); 969 } 970 { 971 String theOutboundUsername; 972 theOutboundUsername = this.getOutboundUsername(); 973 strategy.appendField(locator, this, "outboundUsername", buffer, theOutboundUsername); 974 } 975 { 976 Boolean thePreferJndiDestinationLookup; 977 thePreferJndiDestinationLookup = this.isPreferJndiDestinationLookup(); 978 strategy.appendField(locator, this, "preferJndiDestinationLookup", buffer, thePreferJndiDestinationLookup); 979 } 980 { 981 String theReconnectionPolicy; 982 theReconnectionPolicy = this.getReconnectionPolicy(); 983 strategy.appendField(locator, this, "reconnectionPolicy", buffer, theReconnectionPolicy); 984 } 985 { 986 BigInteger theReplyToDestinationCacheSize; 987 theReplyToDestinationCacheSize = this.getReplyToDestinationCacheSize(); 988 strategy.appendField(locator, this, "replyToDestinationCacheSize", buffer, theReplyToDestinationCacheSize); 989 } 990 { 991 String theId; 992 theId = this.getId(); 993 strategy.appendField(locator, this, "id", buffer, theId); 994 } 995 return buffer; 996 } 997 998 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 999 int currentHashCode = 1; 1000 { 1001 List<Object> theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges; 1002 theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges = (((this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges!= null)&&(!this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges.isEmpty()))?this.getBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges():null); 1003 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerServiceOrInboundMessageConvertorOrInboundTopicBridges", theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges), currentHashCode, theBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges); 1004 } 1005 { 1006 String theBrokerService; 1007 theBrokerService = this.getBrokerService(); 1008 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 1009 } 1010 { 1011 String theInboundMessageConvertor; 1012 theInboundMessageConvertor = this.getInboundMessageConvertor(); 1013 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inboundMessageConvertor", theInboundMessageConvertor), currentHashCode, theInboundMessageConvertor); 1014 } 1015 { 1016 String theJndiLocalTemplate; 1017 theJndiLocalTemplate = this.getJndiLocalTemplate(); 1018 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jndiLocalTemplate", theJndiLocalTemplate), currentHashCode, theJndiLocalTemplate); 1019 } 1020 { 1021 String theJndiOutboundTemplate; 1022 theJndiOutboundTemplate = this.getJndiOutboundTemplate(); 1023 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jndiOutboundTemplate", theJndiOutboundTemplate), currentHashCode, theJndiOutboundTemplate); 1024 } 1025 { 1026 String theLocalClientId; 1027 theLocalClientId = this.getLocalClientId(); 1028 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localClientId", theLocalClientId), currentHashCode, theLocalClientId); 1029 } 1030 { 1031 String theLocalConnectionFactoryName; 1032 theLocalConnectionFactoryName = this.getLocalConnectionFactoryName(); 1033 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localConnectionFactoryName", theLocalConnectionFactoryName), currentHashCode, theLocalConnectionFactoryName); 1034 } 1035 { 1036 String theLocalPassword; 1037 theLocalPassword = this.getLocalPassword(); 1038 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localPassword", theLocalPassword), currentHashCode, theLocalPassword); 1039 } 1040 { 1041 String theLocalTopicConnection; 1042 theLocalTopicConnection = this.getLocalTopicConnection(); 1043 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localTopicConnection", theLocalTopicConnection), currentHashCode, theLocalTopicConnection); 1044 } 1045 { 1046 String theLocalTopicConnectionFactory; 1047 theLocalTopicConnectionFactory = this.getLocalTopicConnectionFactory(); 1048 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localTopicConnectionFactory", theLocalTopicConnectionFactory), currentHashCode, theLocalTopicConnectionFactory); 1049 } 1050 { 1051 String theLocalUsername; 1052 theLocalUsername = this.getLocalUsername(); 1053 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localUsername", theLocalUsername), currentHashCode, theLocalUsername); 1054 } 1055 { 1056 String theName; 1057 theName = this.getName(); 1058 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); 1059 } 1060 { 1061 String theOutboundClientId; 1062 theOutboundClientId = this.getOutboundClientId(); 1063 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundClientId", theOutboundClientId), currentHashCode, theOutboundClientId); 1064 } 1065 { 1066 String theOutboundMessageConvertor; 1067 theOutboundMessageConvertor = this.getOutboundMessageConvertor(); 1068 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundMessageConvertor", theOutboundMessageConvertor), currentHashCode, theOutboundMessageConvertor); 1069 } 1070 { 1071 String theOutboundPassword; 1072 theOutboundPassword = this.getOutboundPassword(); 1073 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundPassword", theOutboundPassword), currentHashCode, theOutboundPassword); 1074 } 1075 { 1076 String theOutboundTopicConnection; 1077 theOutboundTopicConnection = this.getOutboundTopicConnection(); 1078 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundTopicConnection", theOutboundTopicConnection), currentHashCode, theOutboundTopicConnection); 1079 } 1080 { 1081 String theOutboundTopicConnectionFactory; 1082 theOutboundTopicConnectionFactory = this.getOutboundTopicConnectionFactory(); 1083 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundTopicConnectionFactory", theOutboundTopicConnectionFactory), currentHashCode, theOutboundTopicConnectionFactory); 1084 } 1085 { 1086 String theOutboundTopicConnectionFactoryName; 1087 theOutboundTopicConnectionFactoryName = this.getOutboundTopicConnectionFactoryName(); 1088 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundTopicConnectionFactoryName", theOutboundTopicConnectionFactoryName), currentHashCode, theOutboundTopicConnectionFactoryName); 1089 } 1090 { 1091 String theOutboundUsername; 1092 theOutboundUsername = this.getOutboundUsername(); 1093 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundUsername", theOutboundUsername), currentHashCode, theOutboundUsername); 1094 } 1095 { 1096 Boolean thePreferJndiDestinationLookup; 1097 thePreferJndiDestinationLookup = this.isPreferJndiDestinationLookup(); 1098 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "preferJndiDestinationLookup", thePreferJndiDestinationLookup), currentHashCode, thePreferJndiDestinationLookup); 1099 } 1100 { 1101 String theReconnectionPolicy; 1102 theReconnectionPolicy = this.getReconnectionPolicy(); 1103 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reconnectionPolicy", theReconnectionPolicy), currentHashCode, theReconnectionPolicy); 1104 } 1105 { 1106 BigInteger theReplyToDestinationCacheSize; 1107 theReplyToDestinationCacheSize = this.getReplyToDestinationCacheSize(); 1108 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "replyToDestinationCacheSize", theReplyToDestinationCacheSize), currentHashCode, theReplyToDestinationCacheSize); 1109 } 1110 { 1111 String theId; 1112 theId = this.getId(); 1113 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 1114 } 1115 return currentHashCode; 1116 } 1117 1118 public int hashCode() { 1119 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1120 return this.hashCode(null, strategy); 1121 } 1122 1123 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1124 if (!(object instanceof DtoJmsTopicConnector)) { 1125 return false; 1126 } 1127 if (this == object) { 1128 return true; 1129 } 1130 final DtoJmsTopicConnector that = ((DtoJmsTopicConnector) object); 1131 { 1132 List<Object> lhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges; 1133 lhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges = (((this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges!= null)&&(!this.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges.isEmpty()))?this.getBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges():null); 1134 List<Object> rhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges; 1135 rhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges = (((that.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges!= null)&&(!that.brokerServiceOrInboundMessageConvertorOrInboundTopicBridges.isEmpty()))?that.getBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges():null); 1136 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerServiceOrInboundMessageConvertorOrInboundTopicBridges", lhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges), LocatorUtils.property(thatLocator, "brokerServiceOrInboundMessageConvertorOrInboundTopicBridges", rhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges), lhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges, rhsBrokerServiceOrInboundMessageConvertorOrInboundTopicBridges)) { 1137 return false; 1138 } 1139 } 1140 { 1141 String lhsBrokerService; 1142 lhsBrokerService = this.getBrokerService(); 1143 String rhsBrokerService; 1144 rhsBrokerService = that.getBrokerService(); 1145 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 1146 return false; 1147 } 1148 } 1149 { 1150 String lhsInboundMessageConvertor; 1151 lhsInboundMessageConvertor = this.getInboundMessageConvertor(); 1152 String rhsInboundMessageConvertor; 1153 rhsInboundMessageConvertor = that.getInboundMessageConvertor(); 1154 if (!strategy.equals(LocatorUtils.property(thisLocator, "inboundMessageConvertor", lhsInboundMessageConvertor), LocatorUtils.property(thatLocator, "inboundMessageConvertor", rhsInboundMessageConvertor), lhsInboundMessageConvertor, rhsInboundMessageConvertor)) { 1155 return false; 1156 } 1157 } 1158 { 1159 String lhsJndiLocalTemplate; 1160 lhsJndiLocalTemplate = this.getJndiLocalTemplate(); 1161 String rhsJndiLocalTemplate; 1162 rhsJndiLocalTemplate = that.getJndiLocalTemplate(); 1163 if (!strategy.equals(LocatorUtils.property(thisLocator, "jndiLocalTemplate", lhsJndiLocalTemplate), LocatorUtils.property(thatLocator, "jndiLocalTemplate", rhsJndiLocalTemplate), lhsJndiLocalTemplate, rhsJndiLocalTemplate)) { 1164 return false; 1165 } 1166 } 1167 { 1168 String lhsJndiOutboundTemplate; 1169 lhsJndiOutboundTemplate = this.getJndiOutboundTemplate(); 1170 String rhsJndiOutboundTemplate; 1171 rhsJndiOutboundTemplate = that.getJndiOutboundTemplate(); 1172 if (!strategy.equals(LocatorUtils.property(thisLocator, "jndiOutboundTemplate", lhsJndiOutboundTemplate), LocatorUtils.property(thatLocator, "jndiOutboundTemplate", rhsJndiOutboundTemplate), lhsJndiOutboundTemplate, rhsJndiOutboundTemplate)) { 1173 return false; 1174 } 1175 } 1176 { 1177 String lhsLocalClientId; 1178 lhsLocalClientId = this.getLocalClientId(); 1179 String rhsLocalClientId; 1180 rhsLocalClientId = that.getLocalClientId(); 1181 if (!strategy.equals(LocatorUtils.property(thisLocator, "localClientId", lhsLocalClientId), LocatorUtils.property(thatLocator, "localClientId", rhsLocalClientId), lhsLocalClientId, rhsLocalClientId)) { 1182 return false; 1183 } 1184 } 1185 { 1186 String lhsLocalConnectionFactoryName; 1187 lhsLocalConnectionFactoryName = this.getLocalConnectionFactoryName(); 1188 String rhsLocalConnectionFactoryName; 1189 rhsLocalConnectionFactoryName = that.getLocalConnectionFactoryName(); 1190 if (!strategy.equals(LocatorUtils.property(thisLocator, "localConnectionFactoryName", lhsLocalConnectionFactoryName), LocatorUtils.property(thatLocator, "localConnectionFactoryName", rhsLocalConnectionFactoryName), lhsLocalConnectionFactoryName, rhsLocalConnectionFactoryName)) { 1191 return false; 1192 } 1193 } 1194 { 1195 String lhsLocalPassword; 1196 lhsLocalPassword = this.getLocalPassword(); 1197 String rhsLocalPassword; 1198 rhsLocalPassword = that.getLocalPassword(); 1199 if (!strategy.equals(LocatorUtils.property(thisLocator, "localPassword", lhsLocalPassword), LocatorUtils.property(thatLocator, "localPassword", rhsLocalPassword), lhsLocalPassword, rhsLocalPassword)) { 1200 return false; 1201 } 1202 } 1203 { 1204 String lhsLocalTopicConnection; 1205 lhsLocalTopicConnection = this.getLocalTopicConnection(); 1206 String rhsLocalTopicConnection; 1207 rhsLocalTopicConnection = that.getLocalTopicConnection(); 1208 if (!strategy.equals(LocatorUtils.property(thisLocator, "localTopicConnection", lhsLocalTopicConnection), LocatorUtils.property(thatLocator, "localTopicConnection", rhsLocalTopicConnection), lhsLocalTopicConnection, rhsLocalTopicConnection)) { 1209 return false; 1210 } 1211 } 1212 { 1213 String lhsLocalTopicConnectionFactory; 1214 lhsLocalTopicConnectionFactory = this.getLocalTopicConnectionFactory(); 1215 String rhsLocalTopicConnectionFactory; 1216 rhsLocalTopicConnectionFactory = that.getLocalTopicConnectionFactory(); 1217 if (!strategy.equals(LocatorUtils.property(thisLocator, "localTopicConnectionFactory", lhsLocalTopicConnectionFactory), LocatorUtils.property(thatLocator, "localTopicConnectionFactory", rhsLocalTopicConnectionFactory), lhsLocalTopicConnectionFactory, rhsLocalTopicConnectionFactory)) { 1218 return false; 1219 } 1220 } 1221 { 1222 String lhsLocalUsername; 1223 lhsLocalUsername = this.getLocalUsername(); 1224 String rhsLocalUsername; 1225 rhsLocalUsername = that.getLocalUsername(); 1226 if (!strategy.equals(LocatorUtils.property(thisLocator, "localUsername", lhsLocalUsername), LocatorUtils.property(thatLocator, "localUsername", rhsLocalUsername), lhsLocalUsername, rhsLocalUsername)) { 1227 return false; 1228 } 1229 } 1230 { 1231 String lhsName; 1232 lhsName = this.getName(); 1233 String rhsName; 1234 rhsName = that.getName(); 1235 if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) { 1236 return false; 1237 } 1238 } 1239 { 1240 String lhsOutboundClientId; 1241 lhsOutboundClientId = this.getOutboundClientId(); 1242 String rhsOutboundClientId; 1243 rhsOutboundClientId = that.getOutboundClientId(); 1244 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundClientId", lhsOutboundClientId), LocatorUtils.property(thatLocator, "outboundClientId", rhsOutboundClientId), lhsOutboundClientId, rhsOutboundClientId)) { 1245 return false; 1246 } 1247 } 1248 { 1249 String lhsOutboundMessageConvertor; 1250 lhsOutboundMessageConvertor = this.getOutboundMessageConvertor(); 1251 String rhsOutboundMessageConvertor; 1252 rhsOutboundMessageConvertor = that.getOutboundMessageConvertor(); 1253 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundMessageConvertor", lhsOutboundMessageConvertor), LocatorUtils.property(thatLocator, "outboundMessageConvertor", rhsOutboundMessageConvertor), lhsOutboundMessageConvertor, rhsOutboundMessageConvertor)) { 1254 return false; 1255 } 1256 } 1257 { 1258 String lhsOutboundPassword; 1259 lhsOutboundPassword = this.getOutboundPassword(); 1260 String rhsOutboundPassword; 1261 rhsOutboundPassword = that.getOutboundPassword(); 1262 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundPassword", lhsOutboundPassword), LocatorUtils.property(thatLocator, "outboundPassword", rhsOutboundPassword), lhsOutboundPassword, rhsOutboundPassword)) { 1263 return false; 1264 } 1265 } 1266 { 1267 String lhsOutboundTopicConnection; 1268 lhsOutboundTopicConnection = this.getOutboundTopicConnection(); 1269 String rhsOutboundTopicConnection; 1270 rhsOutboundTopicConnection = that.getOutboundTopicConnection(); 1271 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundTopicConnection", lhsOutboundTopicConnection), LocatorUtils.property(thatLocator, "outboundTopicConnection", rhsOutboundTopicConnection), lhsOutboundTopicConnection, rhsOutboundTopicConnection)) { 1272 return false; 1273 } 1274 } 1275 { 1276 String lhsOutboundTopicConnectionFactory; 1277 lhsOutboundTopicConnectionFactory = this.getOutboundTopicConnectionFactory(); 1278 String rhsOutboundTopicConnectionFactory; 1279 rhsOutboundTopicConnectionFactory = that.getOutboundTopicConnectionFactory(); 1280 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundTopicConnectionFactory", lhsOutboundTopicConnectionFactory), LocatorUtils.property(thatLocator, "outboundTopicConnectionFactory", rhsOutboundTopicConnectionFactory), lhsOutboundTopicConnectionFactory, rhsOutboundTopicConnectionFactory)) { 1281 return false; 1282 } 1283 } 1284 { 1285 String lhsOutboundTopicConnectionFactoryName; 1286 lhsOutboundTopicConnectionFactoryName = this.getOutboundTopicConnectionFactoryName(); 1287 String rhsOutboundTopicConnectionFactoryName; 1288 rhsOutboundTopicConnectionFactoryName = that.getOutboundTopicConnectionFactoryName(); 1289 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundTopicConnectionFactoryName", lhsOutboundTopicConnectionFactoryName), LocatorUtils.property(thatLocator, "outboundTopicConnectionFactoryName", rhsOutboundTopicConnectionFactoryName), lhsOutboundTopicConnectionFactoryName, rhsOutboundTopicConnectionFactoryName)) { 1290 return false; 1291 } 1292 } 1293 { 1294 String lhsOutboundUsername; 1295 lhsOutboundUsername = this.getOutboundUsername(); 1296 String rhsOutboundUsername; 1297 rhsOutboundUsername = that.getOutboundUsername(); 1298 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundUsername", lhsOutboundUsername), LocatorUtils.property(thatLocator, "outboundUsername", rhsOutboundUsername), lhsOutboundUsername, rhsOutboundUsername)) { 1299 return false; 1300 } 1301 } 1302 { 1303 Boolean lhsPreferJndiDestinationLookup; 1304 lhsPreferJndiDestinationLookup = this.isPreferJndiDestinationLookup(); 1305 Boolean rhsPreferJndiDestinationLookup; 1306 rhsPreferJndiDestinationLookup = that.isPreferJndiDestinationLookup(); 1307 if (!strategy.equals(LocatorUtils.property(thisLocator, "preferJndiDestinationLookup", lhsPreferJndiDestinationLookup), LocatorUtils.property(thatLocator, "preferJndiDestinationLookup", rhsPreferJndiDestinationLookup), lhsPreferJndiDestinationLookup, rhsPreferJndiDestinationLookup)) { 1308 return false; 1309 } 1310 } 1311 { 1312 String lhsReconnectionPolicy; 1313 lhsReconnectionPolicy = this.getReconnectionPolicy(); 1314 String rhsReconnectionPolicy; 1315 rhsReconnectionPolicy = that.getReconnectionPolicy(); 1316 if (!strategy.equals(LocatorUtils.property(thisLocator, "reconnectionPolicy", lhsReconnectionPolicy), LocatorUtils.property(thatLocator, "reconnectionPolicy", rhsReconnectionPolicy), lhsReconnectionPolicy, rhsReconnectionPolicy)) { 1317 return false; 1318 } 1319 } 1320 { 1321 BigInteger lhsReplyToDestinationCacheSize; 1322 lhsReplyToDestinationCacheSize = this.getReplyToDestinationCacheSize(); 1323 BigInteger rhsReplyToDestinationCacheSize; 1324 rhsReplyToDestinationCacheSize = that.getReplyToDestinationCacheSize(); 1325 if (!strategy.equals(LocatorUtils.property(thisLocator, "replyToDestinationCacheSize", lhsReplyToDestinationCacheSize), LocatorUtils.property(thatLocator, "replyToDestinationCacheSize", rhsReplyToDestinationCacheSize), lhsReplyToDestinationCacheSize, rhsReplyToDestinationCacheSize)) { 1326 return false; 1327 } 1328 } 1329 { 1330 String lhsId; 1331 lhsId = this.getId(); 1332 String rhsId; 1333 rhsId = that.getId(); 1334 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 1335 return false; 1336 } 1337 } 1338 return true; 1339 } 1340 1341 public boolean equals(Object object) { 1342 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1343 return equals(null, null, object, strategy); 1344 } 1345 1346 1347 /** 1348 * <p>Java class for anonymous complex type. 1349 * 1350 * <p>The following schema fragment specifies the expected content contained within this class. 1351 * 1352 * <pre> 1353 * <complexType> 1354 * <complexContent> 1355 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1356 * <choice minOccurs="0"> 1357 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 1358 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 1359 * <any namespace='##other'/> 1360 * </choice> 1361 * </restriction> 1362 * </complexContent> 1363 * </complexType> 1364 * </pre> 1365 * 1366 * 1367 */ 1368 @XmlAccessorType(XmlAccessType.FIELD) 1369 @XmlType(name = "", propOrder = { 1370 "broker", 1371 "brokerService", 1372 "any" 1373 }) 1374 public static class BrokerService 1375 implements Equals, HashCode, ToString 1376 { 1377 1378 protected DtoBroker broker; 1379 protected DtoBrokerService brokerService; 1380 @XmlAnyElement(lax = true) 1381 protected Object any; 1382 1383 /** 1384 * Gets the value of the broker property. 1385 * 1386 * @return 1387 * possible object is 1388 * {@link DtoBroker } 1389 * 1390 */ 1391 public DtoBroker getBroker() { 1392 return broker; 1393 } 1394 1395 /** 1396 * Sets the value of the broker property. 1397 * 1398 * @param value 1399 * allowed object is 1400 * {@link DtoBroker } 1401 * 1402 */ 1403 public void setBroker(DtoBroker value) { 1404 this.broker = value; 1405 } 1406 1407 /** 1408 * Gets the value of the brokerService property. 1409 * 1410 * @return 1411 * possible object is 1412 * {@link DtoBrokerService } 1413 * 1414 */ 1415 public DtoBrokerService getBrokerService() { 1416 return brokerService; 1417 } 1418 1419 /** 1420 * Sets the value of the brokerService property. 1421 * 1422 * @param value 1423 * allowed object is 1424 * {@link DtoBrokerService } 1425 * 1426 */ 1427 public void setBrokerService(DtoBrokerService value) { 1428 this.brokerService = value; 1429 } 1430 1431 /** 1432 * Gets the value of the any property. 1433 * 1434 * @return 1435 * possible object is 1436 * {@link Object } 1437 * 1438 */ 1439 public Object getAny() { 1440 return any; 1441 } 1442 1443 /** 1444 * Sets the value of the any property. 1445 * 1446 * @param value 1447 * allowed object is 1448 * {@link Object } 1449 * 1450 */ 1451 public void setAny(Object value) { 1452 this.any = value; 1453 } 1454 1455 public String toString() { 1456 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1457 final StringBuilder buffer = new StringBuilder(); 1458 append(null, buffer, strategy); 1459 return buffer.toString(); 1460 } 1461 1462 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1463 strategy.appendStart(locator, this, buffer); 1464 appendFields(locator, buffer, strategy); 1465 strategy.appendEnd(locator, this, buffer); 1466 return buffer; 1467 } 1468 1469 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1470 { 1471 DtoBroker theBroker; 1472 theBroker = this.getBroker(); 1473 strategy.appendField(locator, this, "broker", buffer, theBroker); 1474 } 1475 { 1476 DtoBrokerService theBrokerService; 1477 theBrokerService = this.getBrokerService(); 1478 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 1479 } 1480 { 1481 Object theAny; 1482 theAny = this.getAny(); 1483 strategy.appendField(locator, this, "any", buffer, theAny); 1484 } 1485 return buffer; 1486 } 1487 1488 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1489 int currentHashCode = 1; 1490 { 1491 DtoBroker theBroker; 1492 theBroker = this.getBroker(); 1493 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker); 1494 } 1495 { 1496 DtoBrokerService theBrokerService; 1497 theBrokerService = this.getBrokerService(); 1498 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 1499 } 1500 { 1501 Object theAny; 1502 theAny = this.getAny(); 1503 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1504 } 1505 return currentHashCode; 1506 } 1507 1508 public int hashCode() { 1509 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1510 return this.hashCode(null, strategy); 1511 } 1512 1513 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1514 if (!(object instanceof DtoJmsTopicConnector.BrokerService)) { 1515 return false; 1516 } 1517 if (this == object) { 1518 return true; 1519 } 1520 final DtoJmsTopicConnector.BrokerService that = ((DtoJmsTopicConnector.BrokerService) object); 1521 { 1522 DtoBroker lhsBroker; 1523 lhsBroker = this.getBroker(); 1524 DtoBroker rhsBroker; 1525 rhsBroker = that.getBroker(); 1526 if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) { 1527 return false; 1528 } 1529 } 1530 { 1531 DtoBrokerService lhsBrokerService; 1532 lhsBrokerService = this.getBrokerService(); 1533 DtoBrokerService rhsBrokerService; 1534 rhsBrokerService = that.getBrokerService(); 1535 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 1536 return false; 1537 } 1538 } 1539 { 1540 Object lhsAny; 1541 lhsAny = this.getAny(); 1542 Object rhsAny; 1543 rhsAny = that.getAny(); 1544 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1545 return false; 1546 } 1547 } 1548 return true; 1549 } 1550 1551 public boolean equals(Object object) { 1552 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1553 return equals(null, null, object, strategy); 1554 } 1555 1556 } 1557 1558 1559 /** 1560 * <p>Java class for anonymous complex type. 1561 * 1562 * <p>The following schema fragment specifies the expected content contained within this class. 1563 * 1564 * <pre> 1565 * <complexType> 1566 * <complexContent> 1567 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1568 * <choice minOccurs="0"> 1569 * <element ref="{http://activemq.apache.org/schema/core}simpleJmsMessageConvertor"/> 1570 * <any namespace='##other'/> 1571 * </choice> 1572 * </restriction> 1573 * </complexContent> 1574 * </complexType> 1575 * </pre> 1576 * 1577 * 1578 */ 1579 @XmlAccessorType(XmlAccessType.FIELD) 1580 @XmlType(name = "", propOrder = { 1581 "simpleJmsMessageConvertor", 1582 "any" 1583 }) 1584 public static class InboundMessageConvertor 1585 implements Equals, HashCode, ToString 1586 { 1587 1588 protected DtoSimpleJmsMessageConvertor simpleJmsMessageConvertor; 1589 @XmlAnyElement(lax = true) 1590 protected Object any; 1591 1592 /** 1593 * Gets the value of the simpleJmsMessageConvertor property. 1594 * 1595 * @return 1596 * possible object is 1597 * {@link DtoSimpleJmsMessageConvertor } 1598 * 1599 */ 1600 public DtoSimpleJmsMessageConvertor getSimpleJmsMessageConvertor() { 1601 return simpleJmsMessageConvertor; 1602 } 1603 1604 /** 1605 * Sets the value of the simpleJmsMessageConvertor property. 1606 * 1607 * @param value 1608 * allowed object is 1609 * {@link DtoSimpleJmsMessageConvertor } 1610 * 1611 */ 1612 public void setSimpleJmsMessageConvertor(DtoSimpleJmsMessageConvertor value) { 1613 this.simpleJmsMessageConvertor = value; 1614 } 1615 1616 /** 1617 * Gets the value of the any property. 1618 * 1619 * @return 1620 * possible object is 1621 * {@link Object } 1622 * 1623 */ 1624 public Object getAny() { 1625 return any; 1626 } 1627 1628 /** 1629 * Sets the value of the any property. 1630 * 1631 * @param value 1632 * allowed object is 1633 * {@link Object } 1634 * 1635 */ 1636 public void setAny(Object value) { 1637 this.any = value; 1638 } 1639 1640 public String toString() { 1641 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1642 final StringBuilder buffer = new StringBuilder(); 1643 append(null, buffer, strategy); 1644 return buffer.toString(); 1645 } 1646 1647 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1648 strategy.appendStart(locator, this, buffer); 1649 appendFields(locator, buffer, strategy); 1650 strategy.appendEnd(locator, this, buffer); 1651 return buffer; 1652 } 1653 1654 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1655 { 1656 DtoSimpleJmsMessageConvertor theSimpleJmsMessageConvertor; 1657 theSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 1658 strategy.appendField(locator, this, "simpleJmsMessageConvertor", buffer, theSimpleJmsMessageConvertor); 1659 } 1660 { 1661 Object theAny; 1662 theAny = this.getAny(); 1663 strategy.appendField(locator, this, "any", buffer, theAny); 1664 } 1665 return buffer; 1666 } 1667 1668 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1669 int currentHashCode = 1; 1670 { 1671 DtoSimpleJmsMessageConvertor theSimpleJmsMessageConvertor; 1672 theSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 1673 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "simpleJmsMessageConvertor", theSimpleJmsMessageConvertor), currentHashCode, theSimpleJmsMessageConvertor); 1674 } 1675 { 1676 Object theAny; 1677 theAny = this.getAny(); 1678 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1679 } 1680 return currentHashCode; 1681 } 1682 1683 public int hashCode() { 1684 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1685 return this.hashCode(null, strategy); 1686 } 1687 1688 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1689 if (!(object instanceof DtoJmsTopicConnector.InboundMessageConvertor)) { 1690 return false; 1691 } 1692 if (this == object) { 1693 return true; 1694 } 1695 final DtoJmsTopicConnector.InboundMessageConvertor that = ((DtoJmsTopicConnector.InboundMessageConvertor) object); 1696 { 1697 DtoSimpleJmsMessageConvertor lhsSimpleJmsMessageConvertor; 1698 lhsSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 1699 DtoSimpleJmsMessageConvertor rhsSimpleJmsMessageConvertor; 1700 rhsSimpleJmsMessageConvertor = that.getSimpleJmsMessageConvertor(); 1701 if (!strategy.equals(LocatorUtils.property(thisLocator, "simpleJmsMessageConvertor", lhsSimpleJmsMessageConvertor), LocatorUtils.property(thatLocator, "simpleJmsMessageConvertor", rhsSimpleJmsMessageConvertor), lhsSimpleJmsMessageConvertor, rhsSimpleJmsMessageConvertor)) { 1702 return false; 1703 } 1704 } 1705 { 1706 Object lhsAny; 1707 lhsAny = this.getAny(); 1708 Object rhsAny; 1709 rhsAny = that.getAny(); 1710 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1711 return false; 1712 } 1713 } 1714 return true; 1715 } 1716 1717 public boolean equals(Object object) { 1718 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1719 return equals(null, null, object, strategy); 1720 } 1721 1722 } 1723 1724 1725 /** 1726 * <p>Java class for anonymous complex type. 1727 * 1728 * <p>The following schema fragment specifies the expected content contained within this class. 1729 * 1730 * <pre> 1731 * <complexType> 1732 * <complexContent> 1733 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1734 * <choice maxOccurs="unbounded" minOccurs="0"> 1735 * <element ref="{http://activemq.apache.org/schema/core}inboundTopicBridge"/> 1736 * <any namespace='##other'/> 1737 * </choice> 1738 * </restriction> 1739 * </complexContent> 1740 * </complexType> 1741 * </pre> 1742 * 1743 * 1744 */ 1745 @XmlAccessorType(XmlAccessType.FIELD) 1746 @XmlType(name = "", propOrder = { 1747 "inboundTopicBridgeOrAny" 1748 }) 1749 public static class InboundTopicBridges 1750 implements Equals, HashCode, ToString 1751 { 1752 1753 @XmlElementRef(name = "inboundTopicBridge", namespace = "http://activemq.apache.org/schema/core", type = DtoInboundTopicBridge.class, required = false) 1754 @XmlAnyElement(lax = true) 1755 protected List<Object> inboundTopicBridgeOrAny; 1756 1757 /** 1758 * Gets the value of the inboundTopicBridgeOrAny property. 1759 * 1760 * <p> 1761 * This accessor method returns a reference to the live list, 1762 * not a snapshot. Therefore any modification you make to the 1763 * returned list will be present inside the JAXB object. 1764 * This is why there is not a <CODE>set</CODE> method for the inboundTopicBridgeOrAny property. 1765 * 1766 * <p> 1767 * For example, to add a new item, do as follows: 1768 * <pre> 1769 * getInboundTopicBridgeOrAny().add(newItem); 1770 * </pre> 1771 * 1772 * 1773 * <p> 1774 * Objects of the following type(s) are allowed in the list 1775 * {@link Object } 1776 * {@link DtoInboundTopicBridge } 1777 * 1778 * 1779 */ 1780 public List<Object> getInboundTopicBridgeOrAny() { 1781 if (inboundTopicBridgeOrAny == null) { 1782 inboundTopicBridgeOrAny = new ArrayList<Object>(); 1783 } 1784 return this.inboundTopicBridgeOrAny; 1785 } 1786 1787 public String toString() { 1788 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1789 final StringBuilder buffer = new StringBuilder(); 1790 append(null, buffer, strategy); 1791 return buffer.toString(); 1792 } 1793 1794 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1795 strategy.appendStart(locator, this, buffer); 1796 appendFields(locator, buffer, strategy); 1797 strategy.appendEnd(locator, this, buffer); 1798 return buffer; 1799 } 1800 1801 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1802 { 1803 List<Object> theInboundTopicBridgeOrAny; 1804 theInboundTopicBridgeOrAny = (((this.inboundTopicBridgeOrAny!= null)&&(!this.inboundTopicBridgeOrAny.isEmpty()))?this.getInboundTopicBridgeOrAny():null); 1805 strategy.appendField(locator, this, "inboundTopicBridgeOrAny", buffer, theInboundTopicBridgeOrAny); 1806 } 1807 return buffer; 1808 } 1809 1810 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1811 int currentHashCode = 1; 1812 { 1813 List<Object> theInboundTopicBridgeOrAny; 1814 theInboundTopicBridgeOrAny = (((this.inboundTopicBridgeOrAny!= null)&&(!this.inboundTopicBridgeOrAny.isEmpty()))?this.getInboundTopicBridgeOrAny():null); 1815 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inboundTopicBridgeOrAny", theInboundTopicBridgeOrAny), currentHashCode, theInboundTopicBridgeOrAny); 1816 } 1817 return currentHashCode; 1818 } 1819 1820 public int hashCode() { 1821 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1822 return this.hashCode(null, strategy); 1823 } 1824 1825 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1826 if (!(object instanceof DtoJmsTopicConnector.InboundTopicBridges)) { 1827 return false; 1828 } 1829 if (this == object) { 1830 return true; 1831 } 1832 final DtoJmsTopicConnector.InboundTopicBridges that = ((DtoJmsTopicConnector.InboundTopicBridges) object); 1833 { 1834 List<Object> lhsInboundTopicBridgeOrAny; 1835 lhsInboundTopicBridgeOrAny = (((this.inboundTopicBridgeOrAny!= null)&&(!this.inboundTopicBridgeOrAny.isEmpty()))?this.getInboundTopicBridgeOrAny():null); 1836 List<Object> rhsInboundTopicBridgeOrAny; 1837 rhsInboundTopicBridgeOrAny = (((that.inboundTopicBridgeOrAny!= null)&&(!that.inboundTopicBridgeOrAny.isEmpty()))?that.getInboundTopicBridgeOrAny():null); 1838 if (!strategy.equals(LocatorUtils.property(thisLocator, "inboundTopicBridgeOrAny", lhsInboundTopicBridgeOrAny), LocatorUtils.property(thatLocator, "inboundTopicBridgeOrAny", rhsInboundTopicBridgeOrAny), lhsInboundTopicBridgeOrAny, rhsInboundTopicBridgeOrAny)) { 1839 return false; 1840 } 1841 } 1842 return true; 1843 } 1844 1845 public boolean equals(Object object) { 1846 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1847 return equals(null, null, object, strategy); 1848 } 1849 1850 } 1851 1852 1853 /** 1854 * <p>Java class for anonymous complex type. 1855 * 1856 * <p>The following schema fragment specifies the expected content contained within this class. 1857 * 1858 * <pre> 1859 * <complexType> 1860 * <complexContent> 1861 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1862 * <sequence minOccurs="0"> 1863 * <any maxOccurs="unbounded" minOccurs="0"/> 1864 * </sequence> 1865 * </restriction> 1866 * </complexContent> 1867 * </complexType> 1868 * </pre> 1869 * 1870 * 1871 */ 1872 @XmlAccessorType(XmlAccessType.FIELD) 1873 @XmlType(name = "", propOrder = { 1874 "any" 1875 }) 1876 public static class LocalTopicConnection 1877 implements Equals, HashCode, ToString 1878 { 1879 1880 @XmlAnyElement(lax = true) 1881 protected List<Object> any; 1882 1883 /** 1884 * Gets the value of the any property. 1885 * 1886 * <p> 1887 * This accessor method returns a reference to the live list, 1888 * not a snapshot. Therefore any modification you make to the 1889 * returned list will be present inside the JAXB object. 1890 * This is why there is not a <CODE>set</CODE> method for the any property. 1891 * 1892 * <p> 1893 * For example, to add a new item, do as follows: 1894 * <pre> 1895 * getAny().add(newItem); 1896 * </pre> 1897 * 1898 * 1899 * <p> 1900 * Objects of the following type(s) are allowed in the list 1901 * {@link Object } 1902 * 1903 * 1904 */ 1905 public List<Object> getAny() { 1906 if (any == null) { 1907 any = new ArrayList<Object>(); 1908 } 1909 return this.any; 1910 } 1911 1912 public String toString() { 1913 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1914 final StringBuilder buffer = new StringBuilder(); 1915 append(null, buffer, strategy); 1916 return buffer.toString(); 1917 } 1918 1919 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1920 strategy.appendStart(locator, this, buffer); 1921 appendFields(locator, buffer, strategy); 1922 strategy.appendEnd(locator, this, buffer); 1923 return buffer; 1924 } 1925 1926 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1927 { 1928 List<Object> theAny; 1929 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1930 strategy.appendField(locator, this, "any", buffer, theAny); 1931 } 1932 return buffer; 1933 } 1934 1935 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1936 int currentHashCode = 1; 1937 { 1938 List<Object> theAny; 1939 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1940 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1941 } 1942 return currentHashCode; 1943 } 1944 1945 public int hashCode() { 1946 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1947 return this.hashCode(null, strategy); 1948 } 1949 1950 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1951 if (!(object instanceof DtoJmsTopicConnector.LocalTopicConnection)) { 1952 return false; 1953 } 1954 if (this == object) { 1955 return true; 1956 } 1957 final DtoJmsTopicConnector.LocalTopicConnection that = ((DtoJmsTopicConnector.LocalTopicConnection) object); 1958 { 1959 List<Object> lhsAny; 1960 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1961 List<Object> rhsAny; 1962 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1963 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1964 return false; 1965 } 1966 } 1967 return true; 1968 } 1969 1970 public boolean equals(Object object) { 1971 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1972 return equals(null, null, object, strategy); 1973 } 1974 1975 } 1976 1977 1978 /** 1979 * <p>Java class for anonymous complex type. 1980 * 1981 * <p>The following schema fragment specifies the expected content contained within this class. 1982 * 1983 * <pre> 1984 * <complexType> 1985 * <complexContent> 1986 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1987 * <choice minOccurs="0"> 1988 * <element ref="{http://activemq.apache.org/schema/core}connectionFactory"/> 1989 * <element ref="{http://activemq.apache.org/schema/core}xaConnectionFactory"/> 1990 * <any namespace='##other'/> 1991 * </choice> 1992 * </restriction> 1993 * </complexContent> 1994 * </complexType> 1995 * </pre> 1996 * 1997 * 1998 */ 1999 @XmlAccessorType(XmlAccessType.FIELD) 2000 @XmlType(name = "", propOrder = { 2001 "connectionFactory", 2002 "xaConnectionFactory", 2003 "any" 2004 }) 2005 public static class LocalTopicConnectionFactory 2006 implements Equals, HashCode, ToString 2007 { 2008 2009 protected DtoConnectionFactory connectionFactory; 2010 protected DtoXaConnectionFactory xaConnectionFactory; 2011 @XmlAnyElement(lax = true) 2012 protected Object any; 2013 2014 /** 2015 * Gets the value of the connectionFactory property. 2016 * 2017 * @return 2018 * possible object is 2019 * {@link DtoConnectionFactory } 2020 * 2021 */ 2022 public DtoConnectionFactory getConnectionFactory() { 2023 return connectionFactory; 2024 } 2025 2026 /** 2027 * Sets the value of the connectionFactory property. 2028 * 2029 * @param value 2030 * allowed object is 2031 * {@link DtoConnectionFactory } 2032 * 2033 */ 2034 public void setConnectionFactory(DtoConnectionFactory value) { 2035 this.connectionFactory = value; 2036 } 2037 2038 /** 2039 * Gets the value of the xaConnectionFactory property. 2040 * 2041 * @return 2042 * possible object is 2043 * {@link DtoXaConnectionFactory } 2044 * 2045 */ 2046 public DtoXaConnectionFactory getXaConnectionFactory() { 2047 return xaConnectionFactory; 2048 } 2049 2050 /** 2051 * Sets the value of the xaConnectionFactory property. 2052 * 2053 * @param value 2054 * allowed object is 2055 * {@link DtoXaConnectionFactory } 2056 * 2057 */ 2058 public void setXaConnectionFactory(DtoXaConnectionFactory value) { 2059 this.xaConnectionFactory = value; 2060 } 2061 2062 /** 2063 * Gets the value of the any property. 2064 * 2065 * @return 2066 * possible object is 2067 * {@link Object } 2068 * 2069 */ 2070 public Object getAny() { 2071 return any; 2072 } 2073 2074 /** 2075 * Sets the value of the any property. 2076 * 2077 * @param value 2078 * allowed object is 2079 * {@link Object } 2080 * 2081 */ 2082 public void setAny(Object value) { 2083 this.any = value; 2084 } 2085 2086 public String toString() { 2087 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2088 final StringBuilder buffer = new StringBuilder(); 2089 append(null, buffer, strategy); 2090 return buffer.toString(); 2091 } 2092 2093 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2094 strategy.appendStart(locator, this, buffer); 2095 appendFields(locator, buffer, strategy); 2096 strategy.appendEnd(locator, this, buffer); 2097 return buffer; 2098 } 2099 2100 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2101 { 2102 DtoConnectionFactory theConnectionFactory; 2103 theConnectionFactory = this.getConnectionFactory(); 2104 strategy.appendField(locator, this, "connectionFactory", buffer, theConnectionFactory); 2105 } 2106 { 2107 DtoXaConnectionFactory theXaConnectionFactory; 2108 theXaConnectionFactory = this.getXaConnectionFactory(); 2109 strategy.appendField(locator, this, "xaConnectionFactory", buffer, theXaConnectionFactory); 2110 } 2111 { 2112 Object theAny; 2113 theAny = this.getAny(); 2114 strategy.appendField(locator, this, "any", buffer, theAny); 2115 } 2116 return buffer; 2117 } 2118 2119 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2120 int currentHashCode = 1; 2121 { 2122 DtoConnectionFactory theConnectionFactory; 2123 theConnectionFactory = this.getConnectionFactory(); 2124 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionFactory", theConnectionFactory), currentHashCode, theConnectionFactory); 2125 } 2126 { 2127 DtoXaConnectionFactory theXaConnectionFactory; 2128 theXaConnectionFactory = this.getXaConnectionFactory(); 2129 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "xaConnectionFactory", theXaConnectionFactory), currentHashCode, theXaConnectionFactory); 2130 } 2131 { 2132 Object theAny; 2133 theAny = this.getAny(); 2134 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2135 } 2136 return currentHashCode; 2137 } 2138 2139 public int hashCode() { 2140 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2141 return this.hashCode(null, strategy); 2142 } 2143 2144 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2145 if (!(object instanceof DtoJmsTopicConnector.LocalTopicConnectionFactory)) { 2146 return false; 2147 } 2148 if (this == object) { 2149 return true; 2150 } 2151 final DtoJmsTopicConnector.LocalTopicConnectionFactory that = ((DtoJmsTopicConnector.LocalTopicConnectionFactory) object); 2152 { 2153 DtoConnectionFactory lhsConnectionFactory; 2154 lhsConnectionFactory = this.getConnectionFactory(); 2155 DtoConnectionFactory rhsConnectionFactory; 2156 rhsConnectionFactory = that.getConnectionFactory(); 2157 if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionFactory", lhsConnectionFactory), LocatorUtils.property(thatLocator, "connectionFactory", rhsConnectionFactory), lhsConnectionFactory, rhsConnectionFactory)) { 2158 return false; 2159 } 2160 } 2161 { 2162 DtoXaConnectionFactory lhsXaConnectionFactory; 2163 lhsXaConnectionFactory = this.getXaConnectionFactory(); 2164 DtoXaConnectionFactory rhsXaConnectionFactory; 2165 rhsXaConnectionFactory = that.getXaConnectionFactory(); 2166 if (!strategy.equals(LocatorUtils.property(thisLocator, "xaConnectionFactory", lhsXaConnectionFactory), LocatorUtils.property(thatLocator, "xaConnectionFactory", rhsXaConnectionFactory), lhsXaConnectionFactory, rhsXaConnectionFactory)) { 2167 return false; 2168 } 2169 } 2170 { 2171 Object lhsAny; 2172 lhsAny = this.getAny(); 2173 Object rhsAny; 2174 rhsAny = that.getAny(); 2175 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2176 return false; 2177 } 2178 } 2179 return true; 2180 } 2181 2182 public boolean equals(Object object) { 2183 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2184 return equals(null, null, object, strategy); 2185 } 2186 2187 } 2188 2189 2190 /** 2191 * <p>Java class for anonymous complex type. 2192 * 2193 * <p>The following schema fragment specifies the expected content contained within this class. 2194 * 2195 * <pre> 2196 * <complexType> 2197 * <complexContent> 2198 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2199 * <choice minOccurs="0"> 2200 * <element ref="{http://activemq.apache.org/schema/core}simpleJmsMessageConvertor"/> 2201 * <any namespace='##other'/> 2202 * </choice> 2203 * </restriction> 2204 * </complexContent> 2205 * </complexType> 2206 * </pre> 2207 * 2208 * 2209 */ 2210 @XmlAccessorType(XmlAccessType.FIELD) 2211 @XmlType(name = "", propOrder = { 2212 "simpleJmsMessageConvertor", 2213 "any" 2214 }) 2215 public static class OutboundMessageConvertor 2216 implements Equals, HashCode, ToString 2217 { 2218 2219 protected DtoSimpleJmsMessageConvertor simpleJmsMessageConvertor; 2220 @XmlAnyElement(lax = true) 2221 protected Object any; 2222 2223 /** 2224 * Gets the value of the simpleJmsMessageConvertor property. 2225 * 2226 * @return 2227 * possible object is 2228 * {@link DtoSimpleJmsMessageConvertor } 2229 * 2230 */ 2231 public DtoSimpleJmsMessageConvertor getSimpleJmsMessageConvertor() { 2232 return simpleJmsMessageConvertor; 2233 } 2234 2235 /** 2236 * Sets the value of the simpleJmsMessageConvertor property. 2237 * 2238 * @param value 2239 * allowed object is 2240 * {@link DtoSimpleJmsMessageConvertor } 2241 * 2242 */ 2243 public void setSimpleJmsMessageConvertor(DtoSimpleJmsMessageConvertor value) { 2244 this.simpleJmsMessageConvertor = value; 2245 } 2246 2247 /** 2248 * Gets the value of the any property. 2249 * 2250 * @return 2251 * possible object is 2252 * {@link Object } 2253 * 2254 */ 2255 public Object getAny() { 2256 return any; 2257 } 2258 2259 /** 2260 * Sets the value of the any property. 2261 * 2262 * @param value 2263 * allowed object is 2264 * {@link Object } 2265 * 2266 */ 2267 public void setAny(Object value) { 2268 this.any = value; 2269 } 2270 2271 public String toString() { 2272 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2273 final StringBuilder buffer = new StringBuilder(); 2274 append(null, buffer, strategy); 2275 return buffer.toString(); 2276 } 2277 2278 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2279 strategy.appendStart(locator, this, buffer); 2280 appendFields(locator, buffer, strategy); 2281 strategy.appendEnd(locator, this, buffer); 2282 return buffer; 2283 } 2284 2285 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2286 { 2287 DtoSimpleJmsMessageConvertor theSimpleJmsMessageConvertor; 2288 theSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 2289 strategy.appendField(locator, this, "simpleJmsMessageConvertor", buffer, theSimpleJmsMessageConvertor); 2290 } 2291 { 2292 Object theAny; 2293 theAny = this.getAny(); 2294 strategy.appendField(locator, this, "any", buffer, theAny); 2295 } 2296 return buffer; 2297 } 2298 2299 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2300 int currentHashCode = 1; 2301 { 2302 DtoSimpleJmsMessageConvertor theSimpleJmsMessageConvertor; 2303 theSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 2304 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "simpleJmsMessageConvertor", theSimpleJmsMessageConvertor), currentHashCode, theSimpleJmsMessageConvertor); 2305 } 2306 { 2307 Object theAny; 2308 theAny = this.getAny(); 2309 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2310 } 2311 return currentHashCode; 2312 } 2313 2314 public int hashCode() { 2315 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2316 return this.hashCode(null, strategy); 2317 } 2318 2319 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2320 if (!(object instanceof DtoJmsTopicConnector.OutboundMessageConvertor)) { 2321 return false; 2322 } 2323 if (this == object) { 2324 return true; 2325 } 2326 final DtoJmsTopicConnector.OutboundMessageConvertor that = ((DtoJmsTopicConnector.OutboundMessageConvertor) object); 2327 { 2328 DtoSimpleJmsMessageConvertor lhsSimpleJmsMessageConvertor; 2329 lhsSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 2330 DtoSimpleJmsMessageConvertor rhsSimpleJmsMessageConvertor; 2331 rhsSimpleJmsMessageConvertor = that.getSimpleJmsMessageConvertor(); 2332 if (!strategy.equals(LocatorUtils.property(thisLocator, "simpleJmsMessageConvertor", lhsSimpleJmsMessageConvertor), LocatorUtils.property(thatLocator, "simpleJmsMessageConvertor", rhsSimpleJmsMessageConvertor), lhsSimpleJmsMessageConvertor, rhsSimpleJmsMessageConvertor)) { 2333 return false; 2334 } 2335 } 2336 { 2337 Object lhsAny; 2338 lhsAny = this.getAny(); 2339 Object rhsAny; 2340 rhsAny = that.getAny(); 2341 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2342 return false; 2343 } 2344 } 2345 return true; 2346 } 2347 2348 public boolean equals(Object object) { 2349 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2350 return equals(null, null, object, strategy); 2351 } 2352 2353 } 2354 2355 2356 /** 2357 * <p>Java class for anonymous complex type. 2358 * 2359 * <p>The following schema fragment specifies the expected content contained within this class. 2360 * 2361 * <pre> 2362 * <complexType> 2363 * <complexContent> 2364 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2365 * <choice maxOccurs="unbounded" minOccurs="0"> 2366 * <element ref="{http://activemq.apache.org/schema/core}outboundTopicBridge"/> 2367 * <any namespace='##other'/> 2368 * </choice> 2369 * </restriction> 2370 * </complexContent> 2371 * </complexType> 2372 * </pre> 2373 * 2374 * 2375 */ 2376 @XmlAccessorType(XmlAccessType.FIELD) 2377 @XmlType(name = "", propOrder = { 2378 "outboundTopicBridgeOrAny" 2379 }) 2380 public static class OutboundTopicBridges 2381 implements Equals, HashCode, ToString 2382 { 2383 2384 @XmlElementRef(name = "outboundTopicBridge", namespace = "http://activemq.apache.org/schema/core", type = DtoOutboundTopicBridge.class, required = false) 2385 @XmlAnyElement(lax = true) 2386 protected List<Object> outboundTopicBridgeOrAny; 2387 2388 /** 2389 * Gets the value of the outboundTopicBridgeOrAny property. 2390 * 2391 * <p> 2392 * This accessor method returns a reference to the live list, 2393 * not a snapshot. Therefore any modification you make to the 2394 * returned list will be present inside the JAXB object. 2395 * This is why there is not a <CODE>set</CODE> method for the outboundTopicBridgeOrAny property. 2396 * 2397 * <p> 2398 * For example, to add a new item, do as follows: 2399 * <pre> 2400 * getOutboundTopicBridgeOrAny().add(newItem); 2401 * </pre> 2402 * 2403 * 2404 * <p> 2405 * Objects of the following type(s) are allowed in the list 2406 * {@link DtoOutboundTopicBridge } 2407 * {@link Object } 2408 * 2409 * 2410 */ 2411 public List<Object> getOutboundTopicBridgeOrAny() { 2412 if (outboundTopicBridgeOrAny == null) { 2413 outboundTopicBridgeOrAny = new ArrayList<Object>(); 2414 } 2415 return this.outboundTopicBridgeOrAny; 2416 } 2417 2418 public String toString() { 2419 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2420 final StringBuilder buffer = new StringBuilder(); 2421 append(null, buffer, strategy); 2422 return buffer.toString(); 2423 } 2424 2425 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2426 strategy.appendStart(locator, this, buffer); 2427 appendFields(locator, buffer, strategy); 2428 strategy.appendEnd(locator, this, buffer); 2429 return buffer; 2430 } 2431 2432 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2433 { 2434 List<Object> theOutboundTopicBridgeOrAny; 2435 theOutboundTopicBridgeOrAny = (((this.outboundTopicBridgeOrAny!= null)&&(!this.outboundTopicBridgeOrAny.isEmpty()))?this.getOutboundTopicBridgeOrAny():null); 2436 strategy.appendField(locator, this, "outboundTopicBridgeOrAny", buffer, theOutboundTopicBridgeOrAny); 2437 } 2438 return buffer; 2439 } 2440 2441 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2442 int currentHashCode = 1; 2443 { 2444 List<Object> theOutboundTopicBridgeOrAny; 2445 theOutboundTopicBridgeOrAny = (((this.outboundTopicBridgeOrAny!= null)&&(!this.outboundTopicBridgeOrAny.isEmpty()))?this.getOutboundTopicBridgeOrAny():null); 2446 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "outboundTopicBridgeOrAny", theOutboundTopicBridgeOrAny), currentHashCode, theOutboundTopicBridgeOrAny); 2447 } 2448 return currentHashCode; 2449 } 2450 2451 public int hashCode() { 2452 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2453 return this.hashCode(null, strategy); 2454 } 2455 2456 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2457 if (!(object instanceof DtoJmsTopicConnector.OutboundTopicBridges)) { 2458 return false; 2459 } 2460 if (this == object) { 2461 return true; 2462 } 2463 final DtoJmsTopicConnector.OutboundTopicBridges that = ((DtoJmsTopicConnector.OutboundTopicBridges) object); 2464 { 2465 List<Object> lhsOutboundTopicBridgeOrAny; 2466 lhsOutboundTopicBridgeOrAny = (((this.outboundTopicBridgeOrAny!= null)&&(!this.outboundTopicBridgeOrAny.isEmpty()))?this.getOutboundTopicBridgeOrAny():null); 2467 List<Object> rhsOutboundTopicBridgeOrAny; 2468 rhsOutboundTopicBridgeOrAny = (((that.outboundTopicBridgeOrAny!= null)&&(!that.outboundTopicBridgeOrAny.isEmpty()))?that.getOutboundTopicBridgeOrAny():null); 2469 if (!strategy.equals(LocatorUtils.property(thisLocator, "outboundTopicBridgeOrAny", lhsOutboundTopicBridgeOrAny), LocatorUtils.property(thatLocator, "outboundTopicBridgeOrAny", rhsOutboundTopicBridgeOrAny), lhsOutboundTopicBridgeOrAny, rhsOutboundTopicBridgeOrAny)) { 2470 return false; 2471 } 2472 } 2473 return true; 2474 } 2475 2476 public boolean equals(Object object) { 2477 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2478 return equals(null, null, object, strategy); 2479 } 2480 2481 } 2482 2483 2484 /** 2485 * <p>Java class for anonymous complex type. 2486 * 2487 * <p>The following schema fragment specifies the expected content contained within this class. 2488 * 2489 * <pre> 2490 * <complexType> 2491 * <complexContent> 2492 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2493 * <sequence minOccurs="0"> 2494 * <any maxOccurs="unbounded" minOccurs="0"/> 2495 * </sequence> 2496 * </restriction> 2497 * </complexContent> 2498 * </complexType> 2499 * </pre> 2500 * 2501 * 2502 */ 2503 @XmlAccessorType(XmlAccessType.FIELD) 2504 @XmlType(name = "", propOrder = { 2505 "any" 2506 }) 2507 public static class OutboundTopicConnection 2508 implements Equals, HashCode, ToString 2509 { 2510 2511 @XmlAnyElement(lax = true) 2512 protected List<Object> any; 2513 2514 /** 2515 * Gets the value of the any property. 2516 * 2517 * <p> 2518 * This accessor method returns a reference to the live list, 2519 * not a snapshot. Therefore any modification you make to the 2520 * returned list will be present inside the JAXB object. 2521 * This is why there is not a <CODE>set</CODE> method for the any property. 2522 * 2523 * <p> 2524 * For example, to add a new item, do as follows: 2525 * <pre> 2526 * getAny().add(newItem); 2527 * </pre> 2528 * 2529 * 2530 * <p> 2531 * Objects of the following type(s) are allowed in the list 2532 * {@link Object } 2533 * 2534 * 2535 */ 2536 public List<Object> getAny() { 2537 if (any == null) { 2538 any = new ArrayList<Object>(); 2539 } 2540 return this.any; 2541 } 2542 2543 public String toString() { 2544 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2545 final StringBuilder buffer = new StringBuilder(); 2546 append(null, buffer, strategy); 2547 return buffer.toString(); 2548 } 2549 2550 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2551 strategy.appendStart(locator, this, buffer); 2552 appendFields(locator, buffer, strategy); 2553 strategy.appendEnd(locator, this, buffer); 2554 return buffer; 2555 } 2556 2557 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2558 { 2559 List<Object> theAny; 2560 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2561 strategy.appendField(locator, this, "any", buffer, theAny); 2562 } 2563 return buffer; 2564 } 2565 2566 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2567 int currentHashCode = 1; 2568 { 2569 List<Object> theAny; 2570 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2571 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2572 } 2573 return currentHashCode; 2574 } 2575 2576 public int hashCode() { 2577 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2578 return this.hashCode(null, strategy); 2579 } 2580 2581 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2582 if (!(object instanceof DtoJmsTopicConnector.OutboundTopicConnection)) { 2583 return false; 2584 } 2585 if (this == object) { 2586 return true; 2587 } 2588 final DtoJmsTopicConnector.OutboundTopicConnection that = ((DtoJmsTopicConnector.OutboundTopicConnection) object); 2589 { 2590 List<Object> lhsAny; 2591 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2592 List<Object> rhsAny; 2593 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 2594 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2595 return false; 2596 } 2597 } 2598 return true; 2599 } 2600 2601 public boolean equals(Object object) { 2602 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2603 return equals(null, null, object, strategy); 2604 } 2605 2606 } 2607 2608 2609 /** 2610 * <p>Java class for anonymous complex type. 2611 * 2612 * <p>The following schema fragment specifies the expected content contained within this class. 2613 * 2614 * <pre> 2615 * <complexType> 2616 * <complexContent> 2617 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2618 * <choice minOccurs="0"> 2619 * <element ref="{http://activemq.apache.org/schema/core}connectionFactory"/> 2620 * <element ref="{http://activemq.apache.org/schema/core}xaConnectionFactory"/> 2621 * <any namespace='##other'/> 2622 * </choice> 2623 * </restriction> 2624 * </complexContent> 2625 * </complexType> 2626 * </pre> 2627 * 2628 * 2629 */ 2630 @XmlAccessorType(XmlAccessType.FIELD) 2631 @XmlType(name = "", propOrder = { 2632 "connectionFactory", 2633 "xaConnectionFactory", 2634 "any" 2635 }) 2636 public static class OutboundTopicConnectionFactory 2637 implements Equals, HashCode, ToString 2638 { 2639 2640 protected DtoConnectionFactory connectionFactory; 2641 protected DtoXaConnectionFactory xaConnectionFactory; 2642 @XmlAnyElement(lax = true) 2643 protected Object any; 2644 2645 /** 2646 * Gets the value of the connectionFactory property. 2647 * 2648 * @return 2649 * possible object is 2650 * {@link DtoConnectionFactory } 2651 * 2652 */ 2653 public DtoConnectionFactory getConnectionFactory() { 2654 return connectionFactory; 2655 } 2656 2657 /** 2658 * Sets the value of the connectionFactory property. 2659 * 2660 * @param value 2661 * allowed object is 2662 * {@link DtoConnectionFactory } 2663 * 2664 */ 2665 public void setConnectionFactory(DtoConnectionFactory value) { 2666 this.connectionFactory = value; 2667 } 2668 2669 /** 2670 * Gets the value of the xaConnectionFactory property. 2671 * 2672 * @return 2673 * possible object is 2674 * {@link DtoXaConnectionFactory } 2675 * 2676 */ 2677 public DtoXaConnectionFactory getXaConnectionFactory() { 2678 return xaConnectionFactory; 2679 } 2680 2681 /** 2682 * Sets the value of the xaConnectionFactory property. 2683 * 2684 * @param value 2685 * allowed object is 2686 * {@link DtoXaConnectionFactory } 2687 * 2688 */ 2689 public void setXaConnectionFactory(DtoXaConnectionFactory value) { 2690 this.xaConnectionFactory = value; 2691 } 2692 2693 /** 2694 * Gets the value of the any property. 2695 * 2696 * @return 2697 * possible object is 2698 * {@link Object } 2699 * 2700 */ 2701 public Object getAny() { 2702 return any; 2703 } 2704 2705 /** 2706 * Sets the value of the any property. 2707 * 2708 * @param value 2709 * allowed object is 2710 * {@link Object } 2711 * 2712 */ 2713 public void setAny(Object value) { 2714 this.any = value; 2715 } 2716 2717 public String toString() { 2718 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2719 final StringBuilder buffer = new StringBuilder(); 2720 append(null, buffer, strategy); 2721 return buffer.toString(); 2722 } 2723 2724 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2725 strategy.appendStart(locator, this, buffer); 2726 appendFields(locator, buffer, strategy); 2727 strategy.appendEnd(locator, this, buffer); 2728 return buffer; 2729 } 2730 2731 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2732 { 2733 DtoConnectionFactory theConnectionFactory; 2734 theConnectionFactory = this.getConnectionFactory(); 2735 strategy.appendField(locator, this, "connectionFactory", buffer, theConnectionFactory); 2736 } 2737 { 2738 DtoXaConnectionFactory theXaConnectionFactory; 2739 theXaConnectionFactory = this.getXaConnectionFactory(); 2740 strategy.appendField(locator, this, "xaConnectionFactory", buffer, theXaConnectionFactory); 2741 } 2742 { 2743 Object theAny; 2744 theAny = this.getAny(); 2745 strategy.appendField(locator, this, "any", buffer, theAny); 2746 } 2747 return buffer; 2748 } 2749 2750 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2751 int currentHashCode = 1; 2752 { 2753 DtoConnectionFactory theConnectionFactory; 2754 theConnectionFactory = this.getConnectionFactory(); 2755 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionFactory", theConnectionFactory), currentHashCode, theConnectionFactory); 2756 } 2757 { 2758 DtoXaConnectionFactory theXaConnectionFactory; 2759 theXaConnectionFactory = this.getXaConnectionFactory(); 2760 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "xaConnectionFactory", theXaConnectionFactory), currentHashCode, theXaConnectionFactory); 2761 } 2762 { 2763 Object theAny; 2764 theAny = this.getAny(); 2765 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2766 } 2767 return currentHashCode; 2768 } 2769 2770 public int hashCode() { 2771 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2772 return this.hashCode(null, strategy); 2773 } 2774 2775 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2776 if (!(object instanceof DtoJmsTopicConnector.OutboundTopicConnectionFactory)) { 2777 return false; 2778 } 2779 if (this == object) { 2780 return true; 2781 } 2782 final DtoJmsTopicConnector.OutboundTopicConnectionFactory that = ((DtoJmsTopicConnector.OutboundTopicConnectionFactory) object); 2783 { 2784 DtoConnectionFactory lhsConnectionFactory; 2785 lhsConnectionFactory = this.getConnectionFactory(); 2786 DtoConnectionFactory rhsConnectionFactory; 2787 rhsConnectionFactory = that.getConnectionFactory(); 2788 if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionFactory", lhsConnectionFactory), LocatorUtils.property(thatLocator, "connectionFactory", rhsConnectionFactory), lhsConnectionFactory, rhsConnectionFactory)) { 2789 return false; 2790 } 2791 } 2792 { 2793 DtoXaConnectionFactory lhsXaConnectionFactory; 2794 lhsXaConnectionFactory = this.getXaConnectionFactory(); 2795 DtoXaConnectionFactory rhsXaConnectionFactory; 2796 rhsXaConnectionFactory = that.getXaConnectionFactory(); 2797 if (!strategy.equals(LocatorUtils.property(thisLocator, "xaConnectionFactory", lhsXaConnectionFactory), LocatorUtils.property(thatLocator, "xaConnectionFactory", rhsXaConnectionFactory), lhsXaConnectionFactory, rhsXaConnectionFactory)) { 2798 return false; 2799 } 2800 } 2801 { 2802 Object lhsAny; 2803 lhsAny = this.getAny(); 2804 Object rhsAny; 2805 rhsAny = that.getAny(); 2806 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2807 return false; 2808 } 2809 } 2810 return true; 2811 } 2812 2813 public boolean equals(Object object) { 2814 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2815 return equals(null, null, object, strategy); 2816 } 2817 2818 } 2819 2820 2821 /** 2822 * <p>Java class for anonymous complex type. 2823 * 2824 * <p>The following schema fragment specifies the expected content contained within this class. 2825 * 2826 * <pre> 2827 * <complexType> 2828 * <complexContent> 2829 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2830 * <choice minOccurs="0"> 2831 * <element ref="{http://activemq.apache.org/schema/core}reconnectionPolicy"/> 2832 * <any namespace='##other'/> 2833 * </choice> 2834 * </restriction> 2835 * </complexContent> 2836 * </complexType> 2837 * </pre> 2838 * 2839 * 2840 */ 2841 @XmlAccessorType(XmlAccessType.FIELD) 2842 @XmlType(name = "", propOrder = { 2843 "reconnectionPolicy", 2844 "any" 2845 }) 2846 public static class ReconnectionPolicy 2847 implements Equals, HashCode, ToString 2848 { 2849 2850 protected DtoReconnectionPolicy reconnectionPolicy; 2851 @XmlAnyElement(lax = true) 2852 protected Object any; 2853 2854 /** 2855 * Gets the value of the reconnectionPolicy property. 2856 * 2857 * @return 2858 * possible object is 2859 * {@link DtoReconnectionPolicy } 2860 * 2861 */ 2862 public DtoReconnectionPolicy getReconnectionPolicy() { 2863 return reconnectionPolicy; 2864 } 2865 2866 /** 2867 * Sets the value of the reconnectionPolicy property. 2868 * 2869 * @param value 2870 * allowed object is 2871 * {@link DtoReconnectionPolicy } 2872 * 2873 */ 2874 public void setReconnectionPolicy(DtoReconnectionPolicy value) { 2875 this.reconnectionPolicy = value; 2876 } 2877 2878 /** 2879 * Gets the value of the any property. 2880 * 2881 * @return 2882 * possible object is 2883 * {@link Object } 2884 * 2885 */ 2886 public Object getAny() { 2887 return any; 2888 } 2889 2890 /** 2891 * Sets the value of the any property. 2892 * 2893 * @param value 2894 * allowed object is 2895 * {@link Object } 2896 * 2897 */ 2898 public void setAny(Object value) { 2899 this.any = value; 2900 } 2901 2902 public String toString() { 2903 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2904 final StringBuilder buffer = new StringBuilder(); 2905 append(null, buffer, strategy); 2906 return buffer.toString(); 2907 } 2908 2909 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2910 strategy.appendStart(locator, this, buffer); 2911 appendFields(locator, buffer, strategy); 2912 strategy.appendEnd(locator, this, buffer); 2913 return buffer; 2914 } 2915 2916 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2917 { 2918 DtoReconnectionPolicy theReconnectionPolicy; 2919 theReconnectionPolicy = this.getReconnectionPolicy(); 2920 strategy.appendField(locator, this, "reconnectionPolicy", buffer, theReconnectionPolicy); 2921 } 2922 { 2923 Object theAny; 2924 theAny = this.getAny(); 2925 strategy.appendField(locator, this, "any", buffer, theAny); 2926 } 2927 return buffer; 2928 } 2929 2930 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2931 int currentHashCode = 1; 2932 { 2933 DtoReconnectionPolicy theReconnectionPolicy; 2934 theReconnectionPolicy = this.getReconnectionPolicy(); 2935 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "reconnectionPolicy", theReconnectionPolicy), currentHashCode, theReconnectionPolicy); 2936 } 2937 { 2938 Object theAny; 2939 theAny = this.getAny(); 2940 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2941 } 2942 return currentHashCode; 2943 } 2944 2945 public int hashCode() { 2946 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2947 return this.hashCode(null, strategy); 2948 } 2949 2950 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2951 if (!(object instanceof DtoJmsTopicConnector.ReconnectionPolicy)) { 2952 return false; 2953 } 2954 if (this == object) { 2955 return true; 2956 } 2957 final DtoJmsTopicConnector.ReconnectionPolicy that = ((DtoJmsTopicConnector.ReconnectionPolicy) object); 2958 { 2959 DtoReconnectionPolicy lhsReconnectionPolicy; 2960 lhsReconnectionPolicy = this.getReconnectionPolicy(); 2961 DtoReconnectionPolicy rhsReconnectionPolicy; 2962 rhsReconnectionPolicy = that.getReconnectionPolicy(); 2963 if (!strategy.equals(LocatorUtils.property(thisLocator, "reconnectionPolicy", lhsReconnectionPolicy), LocatorUtils.property(thatLocator, "reconnectionPolicy", rhsReconnectionPolicy), lhsReconnectionPolicy, rhsReconnectionPolicy)) { 2964 return false; 2965 } 2966 } 2967 { 2968 Object lhsAny; 2969 lhsAny = this.getAny(); 2970 Object rhsAny; 2971 rhsAny = that.getAny(); 2972 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2973 return false; 2974 } 2975 } 2976 return true; 2977 } 2978 2979 public boolean equals(Object object) { 2980 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2981 return equals(null, null, object, strategy); 2982 } 2983 2984 } 2985 2986}