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.util.ArrayList; 012import java.util.HashMap; 013import java.util.List; 014import java.util.Map; 015import javax.xml.bind.JAXBElement; 016import javax.xml.bind.annotation.XmlAccessType; 017import javax.xml.bind.annotation.XmlAccessorType; 018import javax.xml.bind.annotation.XmlAnyAttribute; 019import javax.xml.bind.annotation.XmlAnyElement; 020import javax.xml.bind.annotation.XmlAttribute; 021import javax.xml.bind.annotation.XmlElementRef; 022import javax.xml.bind.annotation.XmlElementRefs; 023import javax.xml.bind.annotation.XmlID; 024import javax.xml.bind.annotation.XmlRootElement; 025import javax.xml.bind.annotation.XmlSchemaType; 026import javax.xml.bind.annotation.XmlType; 027import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 028import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 029import javax.xml.namespace.QName; 030import org.jvnet.jaxb2_commons.lang.Equals; 031import org.jvnet.jaxb2_commons.lang.EqualsStrategy; 032import org.jvnet.jaxb2_commons.lang.HashCode; 033import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; 034import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; 035import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; 036import org.jvnet.jaxb2_commons.lang.ToString; 037import org.jvnet.jaxb2_commons.lang.ToStringStrategy; 038import org.jvnet.jaxb2_commons.locator.ObjectLocator; 039import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; 040 041 042/** 043 * <p>Java class for anonymous complex type. 044 * 045 * <p>The following schema fragment specifies the expected content contained within this class. 046 * 047 * <pre> 048 * <complexType> 049 * <complexContent> 050 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 051 * <choice maxOccurs="unbounded" minOccurs="0"> 052 * <choice> 053 * <element name="consumer" minOccurs="0"> 054 * <complexType> 055 * <complexContent> 056 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 057 * <sequence minOccurs="0"> 058 * <any maxOccurs="unbounded" minOccurs="0"/> 059 * </sequence> 060 * </restriction> 061 * </complexContent> 062 * </complexType> 063 * </element> 064 * <element name="consumerConnection" minOccurs="0"> 065 * <complexType> 066 * <complexContent> 067 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 068 * <sequence minOccurs="0"> 069 * <any maxOccurs="unbounded" minOccurs="0"/> 070 * </sequence> 071 * </restriction> 072 * </complexContent> 073 * </complexType> 074 * </element> 075 * <element name="consumerTopic" minOccurs="0"> 076 * <complexType> 077 * <complexContent> 078 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 079 * <choice minOccurs="0"> 080 * <element ref="{http://activemq.apache.org/schema/core}topic"/> 081 * <any namespace='##other'/> 082 * </choice> 083 * </restriction> 084 * </complexContent> 085 * </complexType> 086 * </element> 087 * <element name="jmsConnector" minOccurs="0"> 088 * <complexType> 089 * <complexContent> 090 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 091 * <choice minOccurs="0"> 092 * <element ref="{http://activemq.apache.org/schema/core}jmsQueueConnector"/> 093 * <element ref="{http://activemq.apache.org/schema/core}jmsTopicConnector"/> 094 * <any namespace='##other'/> 095 * </choice> 096 * </restriction> 097 * </complexContent> 098 * </complexType> 099 * </element> 100 * <element name="jmsMessageConvertor" minOccurs="0"> 101 * <complexType> 102 * <complexContent> 103 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 104 * <choice minOccurs="0"> 105 * <element ref="{http://activemq.apache.org/schema/core}simpleJmsMessageConvertor"/> 106 * <any namespace='##other'/> 107 * </choice> 108 * </restriction> 109 * </complexContent> 110 * </complexType> 111 * </element> 112 * <element name="producerConnection" minOccurs="0"> 113 * <complexType> 114 * <complexContent> 115 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 116 * <sequence minOccurs="0"> 117 * <any maxOccurs="unbounded" minOccurs="0"/> 118 * </sequence> 119 * </restriction> 120 * </complexContent> 121 * </complexType> 122 * </element> 123 * <element name="producerTopic" minOccurs="0"> 124 * <complexType> 125 * <complexContent> 126 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 127 * <choice minOccurs="0"> 128 * <element ref="{http://activemq.apache.org/schema/core}topic"/> 129 * <any namespace='##other'/> 130 * </choice> 131 * </restriction> 132 * </complexContent> 133 * </complexType> 134 * </element> 135 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 136 * </choice> 137 * </choice> 138 * <attribute name="consumer" type="{http://www.w3.org/2001/XMLSchema}string" /> 139 * <attribute name="consumerConnection" type="{http://www.w3.org/2001/XMLSchema}string" /> 140 * <attribute name="consumerName" type="{http://www.w3.org/2001/XMLSchema}string" /> 141 * <attribute name="consumerTopic" type="{http://www.w3.org/2001/XMLSchema}string" /> 142 * <attribute name="doHandleReplyTo" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 143 * <attribute name="inboundTopicName" type="{http://www.w3.org/2001/XMLSchema}string" /> 144 * <attribute name="jmsConnector" type="{http://www.w3.org/2001/XMLSchema}string" /> 145 * <attribute name="jmsMessageConvertor" type="{http://www.w3.org/2001/XMLSchema}string" /> 146 * <attribute name="localTopicName" type="{http://www.w3.org/2001/XMLSchema}string" /> 147 * <attribute name="producerConnection" type="{http://www.w3.org/2001/XMLSchema}string" /> 148 * <attribute name="producerTopic" type="{http://www.w3.org/2001/XMLSchema}string" /> 149 * <attribute name="selector" type="{http://www.w3.org/2001/XMLSchema}string" /> 150 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 151 * <anyAttribute processContents='lax' namespace='##other'/> 152 * </restriction> 153 * </complexContent> 154 * </complexType> 155 * </pre> 156 * 157 * 158 */ 159@XmlAccessorType(XmlAccessType.FIELD) 160@XmlType(name = "", propOrder = { 161 "consumerOrConsumerConnectionOrConsumerTopic" 162}) 163@XmlRootElement(name = "inboundTopicBridge") 164public class DtoInboundTopicBridge implements Equals, HashCode, ToString 165{ 166 167 @XmlElementRefs({ 168 @XmlElementRef(name = "producerTopic", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 169 @XmlElementRef(name = "jmsMessageConvertor", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 170 @XmlElementRef(name = "jmsConnector", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 171 @XmlElementRef(name = "consumerConnection", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 172 @XmlElementRef(name = "consumer", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 173 @XmlElementRef(name = "consumerTopic", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 174 @XmlElementRef(name = "producerConnection", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 175 }) 176 @XmlAnyElement(lax = true) 177 protected List<Object> consumerOrConsumerConnectionOrConsumerTopic; 178 @XmlAttribute(name = "consumer") 179 protected String consumer; 180 @XmlAttribute(name = "consumerConnection") 181 protected String consumerConnection; 182 @XmlAttribute(name = "consumerName") 183 protected String consumerName; 184 @XmlAttribute(name = "consumerTopic") 185 protected String consumerTopic; 186 @XmlAttribute(name = "doHandleReplyTo") 187 protected Boolean doHandleReplyTo; 188 @XmlAttribute(name = "inboundTopicName") 189 protected String inboundTopicName; 190 @XmlAttribute(name = "jmsConnector") 191 protected String jmsConnector; 192 @XmlAttribute(name = "jmsMessageConvertor") 193 protected String jmsMessageConvertor; 194 @XmlAttribute(name = "localTopicName") 195 protected String localTopicName; 196 @XmlAttribute(name = "producerConnection") 197 protected String producerConnection; 198 @XmlAttribute(name = "producerTopic") 199 protected String producerTopic; 200 @XmlAttribute(name = "selector") 201 protected String selector; 202 @XmlAttribute(name = "id") 203 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 204 @XmlID 205 @XmlSchemaType(name = "ID") 206 protected String id; 207 @XmlAnyAttribute 208 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 209 210 /** 211 * Gets the value of the consumerOrConsumerConnectionOrConsumerTopic property. 212 * 213 * <p> 214 * This accessor method returns a reference to the live list, 215 * not a snapshot. Therefore any modification you make to the 216 * returned list will be present inside the JAXB object. 217 * This is why there is not a <CODE>set</CODE> method for the consumerOrConsumerConnectionOrConsumerTopic property. 218 * 219 * <p> 220 * For example, to add a new item, do as follows: 221 * <pre> 222 * getConsumerOrConsumerConnectionOrConsumerTopic().add(newItem); 223 * </pre> 224 * 225 * 226 * <p> 227 * Objects of the following type(s) are allowed in the list 228 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.ProducerTopic }{@code >} 229 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.JmsMessageConvertor }{@code >} 230 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.JmsConnector }{@code >} 231 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.ConsumerConnection }{@code >} 232 * {@link Object } 233 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.Consumer }{@code >} 234 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.ConsumerTopic }{@code >} 235 * {@link JAXBElement }{@code <}{@link DtoInboundTopicBridge.ProducerConnection }{@code >} 236 * 237 * 238 */ 239 public List<Object> getConsumerOrConsumerConnectionOrConsumerTopic() { 240 if (consumerOrConsumerConnectionOrConsumerTopic == null) { 241 consumerOrConsumerConnectionOrConsumerTopic = new ArrayList<Object>(); 242 } 243 return this.consumerOrConsumerConnectionOrConsumerTopic; 244 } 245 246 /** 247 * Gets the value of the consumer property. 248 * 249 * @return 250 * possible object is 251 * {@link String } 252 * 253 */ 254 public String getConsumer() { 255 return consumer; 256 } 257 258 /** 259 * Sets the value of the consumer property. 260 * 261 * @param value 262 * allowed object is 263 * {@link String } 264 * 265 */ 266 public void setConsumer(String value) { 267 this.consumer = value; 268 } 269 270 /** 271 * Gets the value of the consumerConnection property. 272 * 273 * @return 274 * possible object is 275 * {@link String } 276 * 277 */ 278 public String getConsumerConnection() { 279 return consumerConnection; 280 } 281 282 /** 283 * Sets the value of the consumerConnection property. 284 * 285 * @param value 286 * allowed object is 287 * {@link String } 288 * 289 */ 290 public void setConsumerConnection(String value) { 291 this.consumerConnection = value; 292 } 293 294 /** 295 * Gets the value of the consumerName property. 296 * 297 * @return 298 * possible object is 299 * {@link String } 300 * 301 */ 302 public String getConsumerName() { 303 return consumerName; 304 } 305 306 /** 307 * Sets the value of the consumerName property. 308 * 309 * @param value 310 * allowed object is 311 * {@link String } 312 * 313 */ 314 public void setConsumerName(String value) { 315 this.consumerName = value; 316 } 317 318 /** 319 * Gets the value of the consumerTopic property. 320 * 321 * @return 322 * possible object is 323 * {@link String } 324 * 325 */ 326 public String getConsumerTopic() { 327 return consumerTopic; 328 } 329 330 /** 331 * Sets the value of the consumerTopic property. 332 * 333 * @param value 334 * allowed object is 335 * {@link String } 336 * 337 */ 338 public void setConsumerTopic(String value) { 339 this.consumerTopic = value; 340 } 341 342 /** 343 * Gets the value of the doHandleReplyTo property. 344 * 345 * @return 346 * possible object is 347 * {@link Boolean } 348 * 349 */ 350 public Boolean isDoHandleReplyTo() { 351 return doHandleReplyTo; 352 } 353 354 /** 355 * Sets the value of the doHandleReplyTo property. 356 * 357 * @param value 358 * allowed object is 359 * {@link Boolean } 360 * 361 */ 362 public void setDoHandleReplyTo(Boolean value) { 363 this.doHandleReplyTo = value; 364 } 365 366 /** 367 * Gets the value of the inboundTopicName property. 368 * 369 * @return 370 * possible object is 371 * {@link String } 372 * 373 */ 374 public String getInboundTopicName() { 375 return inboundTopicName; 376 } 377 378 /** 379 * Sets the value of the inboundTopicName property. 380 * 381 * @param value 382 * allowed object is 383 * {@link String } 384 * 385 */ 386 public void setInboundTopicName(String value) { 387 this.inboundTopicName = value; 388 } 389 390 /** 391 * Gets the value of the jmsConnector property. 392 * 393 * @return 394 * possible object is 395 * {@link String } 396 * 397 */ 398 public String getJmsConnector() { 399 return jmsConnector; 400 } 401 402 /** 403 * Sets the value of the jmsConnector property. 404 * 405 * @param value 406 * allowed object is 407 * {@link String } 408 * 409 */ 410 public void setJmsConnector(String value) { 411 this.jmsConnector = value; 412 } 413 414 /** 415 * Gets the value of the jmsMessageConvertor property. 416 * 417 * @return 418 * possible object is 419 * {@link String } 420 * 421 */ 422 public String getJmsMessageConvertor() { 423 return jmsMessageConvertor; 424 } 425 426 /** 427 * Sets the value of the jmsMessageConvertor property. 428 * 429 * @param value 430 * allowed object is 431 * {@link String } 432 * 433 */ 434 public void setJmsMessageConvertor(String value) { 435 this.jmsMessageConvertor = value; 436 } 437 438 /** 439 * Gets the value of the localTopicName property. 440 * 441 * @return 442 * possible object is 443 * {@link String } 444 * 445 */ 446 public String getLocalTopicName() { 447 return localTopicName; 448 } 449 450 /** 451 * Sets the value of the localTopicName property. 452 * 453 * @param value 454 * allowed object is 455 * {@link String } 456 * 457 */ 458 public void setLocalTopicName(String value) { 459 this.localTopicName = value; 460 } 461 462 /** 463 * Gets the value of the producerConnection property. 464 * 465 * @return 466 * possible object is 467 * {@link String } 468 * 469 */ 470 public String getProducerConnection() { 471 return producerConnection; 472 } 473 474 /** 475 * Sets the value of the producerConnection property. 476 * 477 * @param value 478 * allowed object is 479 * {@link String } 480 * 481 */ 482 public void setProducerConnection(String value) { 483 this.producerConnection = value; 484 } 485 486 /** 487 * Gets the value of the producerTopic property. 488 * 489 * @return 490 * possible object is 491 * {@link String } 492 * 493 */ 494 public String getProducerTopic() { 495 return producerTopic; 496 } 497 498 /** 499 * Sets the value of the producerTopic property. 500 * 501 * @param value 502 * allowed object is 503 * {@link String } 504 * 505 */ 506 public void setProducerTopic(String value) { 507 this.producerTopic = value; 508 } 509 510 /** 511 * Gets the value of the selector property. 512 * 513 * @return 514 * possible object is 515 * {@link String } 516 * 517 */ 518 public String getSelector() { 519 return selector; 520 } 521 522 /** 523 * Sets the value of the selector property. 524 * 525 * @param value 526 * allowed object is 527 * {@link String } 528 * 529 */ 530 public void setSelector(String value) { 531 this.selector = value; 532 } 533 534 /** 535 * Gets the value of the id property. 536 * 537 * @return 538 * possible object is 539 * {@link String } 540 * 541 */ 542 public String getId() { 543 return id; 544 } 545 546 /** 547 * Sets the value of the id property. 548 * 549 * @param value 550 * allowed object is 551 * {@link String } 552 * 553 */ 554 public void setId(String value) { 555 this.id = value; 556 } 557 558 /** 559 * Gets a map that contains attributes that aren't bound to any typed property on this class. 560 * 561 * <p> 562 * the map is keyed by the name of the attribute and 563 * the value is the string value of the attribute. 564 * 565 * the map returned by this method is live, and you can add new attribute 566 * by updating the map directly. Because of this design, there's no setter. 567 * 568 * 569 * @return 570 * always non-null 571 */ 572 public Map<QName, String> getOtherAttributes() { 573 return otherAttributes; 574 } 575 576 public String toString() { 577 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 578 final StringBuilder buffer = new StringBuilder(); 579 append(null, buffer, strategy); 580 return buffer.toString(); 581 } 582 583 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 584 strategy.appendStart(locator, this, buffer); 585 appendFields(locator, buffer, strategy); 586 strategy.appendEnd(locator, this, buffer); 587 return buffer; 588 } 589 590 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 591 { 592 List<Object> theConsumerOrConsumerConnectionOrConsumerTopic; 593 theConsumerOrConsumerConnectionOrConsumerTopic = (((this.consumerOrConsumerConnectionOrConsumerTopic!= null)&&(!this.consumerOrConsumerConnectionOrConsumerTopic.isEmpty()))?this.getConsumerOrConsumerConnectionOrConsumerTopic():null); 594 strategy.appendField(locator, this, "consumerOrConsumerConnectionOrConsumerTopic", buffer, theConsumerOrConsumerConnectionOrConsumerTopic); 595 } 596 { 597 String theConsumer; 598 theConsumer = this.getConsumer(); 599 strategy.appendField(locator, this, "consumer", buffer, theConsumer); 600 } 601 { 602 String theConsumerConnection; 603 theConsumerConnection = this.getConsumerConnection(); 604 strategy.appendField(locator, this, "consumerConnection", buffer, theConsumerConnection); 605 } 606 { 607 String theConsumerName; 608 theConsumerName = this.getConsumerName(); 609 strategy.appendField(locator, this, "consumerName", buffer, theConsumerName); 610 } 611 { 612 String theConsumerTopic; 613 theConsumerTopic = this.getConsumerTopic(); 614 strategy.appendField(locator, this, "consumerTopic", buffer, theConsumerTopic); 615 } 616 { 617 Boolean theDoHandleReplyTo; 618 theDoHandleReplyTo = this.isDoHandleReplyTo(); 619 strategy.appendField(locator, this, "doHandleReplyTo", buffer, theDoHandleReplyTo); 620 } 621 { 622 String theInboundTopicName; 623 theInboundTopicName = this.getInboundTopicName(); 624 strategy.appendField(locator, this, "inboundTopicName", buffer, theInboundTopicName); 625 } 626 { 627 String theJmsConnector; 628 theJmsConnector = this.getJmsConnector(); 629 strategy.appendField(locator, this, "jmsConnector", buffer, theJmsConnector); 630 } 631 { 632 String theJmsMessageConvertor; 633 theJmsMessageConvertor = this.getJmsMessageConvertor(); 634 strategy.appendField(locator, this, "jmsMessageConvertor", buffer, theJmsMessageConvertor); 635 } 636 { 637 String theLocalTopicName; 638 theLocalTopicName = this.getLocalTopicName(); 639 strategy.appendField(locator, this, "localTopicName", buffer, theLocalTopicName); 640 } 641 { 642 String theProducerConnection; 643 theProducerConnection = this.getProducerConnection(); 644 strategy.appendField(locator, this, "producerConnection", buffer, theProducerConnection); 645 } 646 { 647 String theProducerTopic; 648 theProducerTopic = this.getProducerTopic(); 649 strategy.appendField(locator, this, "producerTopic", buffer, theProducerTopic); 650 } 651 { 652 String theSelector; 653 theSelector = this.getSelector(); 654 strategy.appendField(locator, this, "selector", buffer, theSelector); 655 } 656 { 657 String theId; 658 theId = this.getId(); 659 strategy.appendField(locator, this, "id", buffer, theId); 660 } 661 return buffer; 662 } 663 664 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 665 int currentHashCode = 1; 666 { 667 List<Object> theConsumerOrConsumerConnectionOrConsumerTopic; 668 theConsumerOrConsumerConnectionOrConsumerTopic = (((this.consumerOrConsumerConnectionOrConsumerTopic!= null)&&(!this.consumerOrConsumerConnectionOrConsumerTopic.isEmpty()))?this.getConsumerOrConsumerConnectionOrConsumerTopic():null); 669 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumerOrConsumerConnectionOrConsumerTopic", theConsumerOrConsumerConnectionOrConsumerTopic), currentHashCode, theConsumerOrConsumerConnectionOrConsumerTopic); 670 } 671 { 672 String theConsumer; 673 theConsumer = this.getConsumer(); 674 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumer", theConsumer), currentHashCode, theConsumer); 675 } 676 { 677 String theConsumerConnection; 678 theConsumerConnection = this.getConsumerConnection(); 679 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumerConnection", theConsumerConnection), currentHashCode, theConsumerConnection); 680 } 681 { 682 String theConsumerName; 683 theConsumerName = this.getConsumerName(); 684 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumerName", theConsumerName), currentHashCode, theConsumerName); 685 } 686 { 687 String theConsumerTopic; 688 theConsumerTopic = this.getConsumerTopic(); 689 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumerTopic", theConsumerTopic), currentHashCode, theConsumerTopic); 690 } 691 { 692 Boolean theDoHandleReplyTo; 693 theDoHandleReplyTo = this.isDoHandleReplyTo(); 694 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "doHandleReplyTo", theDoHandleReplyTo), currentHashCode, theDoHandleReplyTo); 695 } 696 { 697 String theInboundTopicName; 698 theInboundTopicName = this.getInboundTopicName(); 699 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "inboundTopicName", theInboundTopicName), currentHashCode, theInboundTopicName); 700 } 701 { 702 String theJmsConnector; 703 theJmsConnector = this.getJmsConnector(); 704 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jmsConnector", theJmsConnector), currentHashCode, theJmsConnector); 705 } 706 { 707 String theJmsMessageConvertor; 708 theJmsMessageConvertor = this.getJmsMessageConvertor(); 709 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jmsMessageConvertor", theJmsMessageConvertor), currentHashCode, theJmsMessageConvertor); 710 } 711 { 712 String theLocalTopicName; 713 theLocalTopicName = this.getLocalTopicName(); 714 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localTopicName", theLocalTopicName), currentHashCode, theLocalTopicName); 715 } 716 { 717 String theProducerConnection; 718 theProducerConnection = this.getProducerConnection(); 719 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "producerConnection", theProducerConnection), currentHashCode, theProducerConnection); 720 } 721 { 722 String theProducerTopic; 723 theProducerTopic = this.getProducerTopic(); 724 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "producerTopic", theProducerTopic), currentHashCode, theProducerTopic); 725 } 726 { 727 String theSelector; 728 theSelector = this.getSelector(); 729 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "selector", theSelector), currentHashCode, theSelector); 730 } 731 { 732 String theId; 733 theId = this.getId(); 734 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 735 } 736 return currentHashCode; 737 } 738 739 public int hashCode() { 740 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 741 return this.hashCode(null, strategy); 742 } 743 744 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 745 if (!(object instanceof DtoInboundTopicBridge)) { 746 return false; 747 } 748 if (this == object) { 749 return true; 750 } 751 final DtoInboundTopicBridge that = ((DtoInboundTopicBridge) object); 752 { 753 List<Object> lhsConsumerOrConsumerConnectionOrConsumerTopic; 754 lhsConsumerOrConsumerConnectionOrConsumerTopic = (((this.consumerOrConsumerConnectionOrConsumerTopic!= null)&&(!this.consumerOrConsumerConnectionOrConsumerTopic.isEmpty()))?this.getConsumerOrConsumerConnectionOrConsumerTopic():null); 755 List<Object> rhsConsumerOrConsumerConnectionOrConsumerTopic; 756 rhsConsumerOrConsumerConnectionOrConsumerTopic = (((that.consumerOrConsumerConnectionOrConsumerTopic!= null)&&(!that.consumerOrConsumerConnectionOrConsumerTopic.isEmpty()))?that.getConsumerOrConsumerConnectionOrConsumerTopic():null); 757 if (!strategy.equals(LocatorUtils.property(thisLocator, "consumerOrConsumerConnectionOrConsumerTopic", lhsConsumerOrConsumerConnectionOrConsumerTopic), LocatorUtils.property(thatLocator, "consumerOrConsumerConnectionOrConsumerTopic", rhsConsumerOrConsumerConnectionOrConsumerTopic), lhsConsumerOrConsumerConnectionOrConsumerTopic, rhsConsumerOrConsumerConnectionOrConsumerTopic)) { 758 return false; 759 } 760 } 761 { 762 String lhsConsumer; 763 lhsConsumer = this.getConsumer(); 764 String rhsConsumer; 765 rhsConsumer = that.getConsumer(); 766 if (!strategy.equals(LocatorUtils.property(thisLocator, "consumer", lhsConsumer), LocatorUtils.property(thatLocator, "consumer", rhsConsumer), lhsConsumer, rhsConsumer)) { 767 return false; 768 } 769 } 770 { 771 String lhsConsumerConnection; 772 lhsConsumerConnection = this.getConsumerConnection(); 773 String rhsConsumerConnection; 774 rhsConsumerConnection = that.getConsumerConnection(); 775 if (!strategy.equals(LocatorUtils.property(thisLocator, "consumerConnection", lhsConsumerConnection), LocatorUtils.property(thatLocator, "consumerConnection", rhsConsumerConnection), lhsConsumerConnection, rhsConsumerConnection)) { 776 return false; 777 } 778 } 779 { 780 String lhsConsumerName; 781 lhsConsumerName = this.getConsumerName(); 782 String rhsConsumerName; 783 rhsConsumerName = that.getConsumerName(); 784 if (!strategy.equals(LocatorUtils.property(thisLocator, "consumerName", lhsConsumerName), LocatorUtils.property(thatLocator, "consumerName", rhsConsumerName), lhsConsumerName, rhsConsumerName)) { 785 return false; 786 } 787 } 788 { 789 String lhsConsumerTopic; 790 lhsConsumerTopic = this.getConsumerTopic(); 791 String rhsConsumerTopic; 792 rhsConsumerTopic = that.getConsumerTopic(); 793 if (!strategy.equals(LocatorUtils.property(thisLocator, "consumerTopic", lhsConsumerTopic), LocatorUtils.property(thatLocator, "consumerTopic", rhsConsumerTopic), lhsConsumerTopic, rhsConsumerTopic)) { 794 return false; 795 } 796 } 797 { 798 Boolean lhsDoHandleReplyTo; 799 lhsDoHandleReplyTo = this.isDoHandleReplyTo(); 800 Boolean rhsDoHandleReplyTo; 801 rhsDoHandleReplyTo = that.isDoHandleReplyTo(); 802 if (!strategy.equals(LocatorUtils.property(thisLocator, "doHandleReplyTo", lhsDoHandleReplyTo), LocatorUtils.property(thatLocator, "doHandleReplyTo", rhsDoHandleReplyTo), lhsDoHandleReplyTo, rhsDoHandleReplyTo)) { 803 return false; 804 } 805 } 806 { 807 String lhsInboundTopicName; 808 lhsInboundTopicName = this.getInboundTopicName(); 809 String rhsInboundTopicName; 810 rhsInboundTopicName = that.getInboundTopicName(); 811 if (!strategy.equals(LocatorUtils.property(thisLocator, "inboundTopicName", lhsInboundTopicName), LocatorUtils.property(thatLocator, "inboundTopicName", rhsInboundTopicName), lhsInboundTopicName, rhsInboundTopicName)) { 812 return false; 813 } 814 } 815 { 816 String lhsJmsConnector; 817 lhsJmsConnector = this.getJmsConnector(); 818 String rhsJmsConnector; 819 rhsJmsConnector = that.getJmsConnector(); 820 if (!strategy.equals(LocatorUtils.property(thisLocator, "jmsConnector", lhsJmsConnector), LocatorUtils.property(thatLocator, "jmsConnector", rhsJmsConnector), lhsJmsConnector, rhsJmsConnector)) { 821 return false; 822 } 823 } 824 { 825 String lhsJmsMessageConvertor; 826 lhsJmsMessageConvertor = this.getJmsMessageConvertor(); 827 String rhsJmsMessageConvertor; 828 rhsJmsMessageConvertor = that.getJmsMessageConvertor(); 829 if (!strategy.equals(LocatorUtils.property(thisLocator, "jmsMessageConvertor", lhsJmsMessageConvertor), LocatorUtils.property(thatLocator, "jmsMessageConvertor", rhsJmsMessageConvertor), lhsJmsMessageConvertor, rhsJmsMessageConvertor)) { 830 return false; 831 } 832 } 833 { 834 String lhsLocalTopicName; 835 lhsLocalTopicName = this.getLocalTopicName(); 836 String rhsLocalTopicName; 837 rhsLocalTopicName = that.getLocalTopicName(); 838 if (!strategy.equals(LocatorUtils.property(thisLocator, "localTopicName", lhsLocalTopicName), LocatorUtils.property(thatLocator, "localTopicName", rhsLocalTopicName), lhsLocalTopicName, rhsLocalTopicName)) { 839 return false; 840 } 841 } 842 { 843 String lhsProducerConnection; 844 lhsProducerConnection = this.getProducerConnection(); 845 String rhsProducerConnection; 846 rhsProducerConnection = that.getProducerConnection(); 847 if (!strategy.equals(LocatorUtils.property(thisLocator, "producerConnection", lhsProducerConnection), LocatorUtils.property(thatLocator, "producerConnection", rhsProducerConnection), lhsProducerConnection, rhsProducerConnection)) { 848 return false; 849 } 850 } 851 { 852 String lhsProducerTopic; 853 lhsProducerTopic = this.getProducerTopic(); 854 String rhsProducerTopic; 855 rhsProducerTopic = that.getProducerTopic(); 856 if (!strategy.equals(LocatorUtils.property(thisLocator, "producerTopic", lhsProducerTopic), LocatorUtils.property(thatLocator, "producerTopic", rhsProducerTopic), lhsProducerTopic, rhsProducerTopic)) { 857 return false; 858 } 859 } 860 { 861 String lhsSelector; 862 lhsSelector = this.getSelector(); 863 String rhsSelector; 864 rhsSelector = that.getSelector(); 865 if (!strategy.equals(LocatorUtils.property(thisLocator, "selector", lhsSelector), LocatorUtils.property(thatLocator, "selector", rhsSelector), lhsSelector, rhsSelector)) { 866 return false; 867 } 868 } 869 { 870 String lhsId; 871 lhsId = this.getId(); 872 String rhsId; 873 rhsId = that.getId(); 874 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 875 return false; 876 } 877 } 878 return true; 879 } 880 881 public boolean equals(Object object) { 882 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 883 return equals(null, null, object, strategy); 884 } 885 886 887 /** 888 * <p>Java class for anonymous complex type. 889 * 890 * <p>The following schema fragment specifies the expected content contained within this class. 891 * 892 * <pre> 893 * <complexType> 894 * <complexContent> 895 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 896 * <sequence minOccurs="0"> 897 * <any maxOccurs="unbounded" minOccurs="0"/> 898 * </sequence> 899 * </restriction> 900 * </complexContent> 901 * </complexType> 902 * </pre> 903 * 904 * 905 */ 906 @XmlAccessorType(XmlAccessType.FIELD) 907 @XmlType(name = "", propOrder = { 908 "any" 909 }) 910 public static class Consumer 911 implements Equals, HashCode, ToString 912 { 913 914 @XmlAnyElement(lax = true) 915 protected List<Object> any; 916 917 /** 918 * Gets the value of the any property. 919 * 920 * <p> 921 * This accessor method returns a reference to the live list, 922 * not a snapshot. Therefore any modification you make to the 923 * returned list will be present inside the JAXB object. 924 * This is why there is not a <CODE>set</CODE> method for the any property. 925 * 926 * <p> 927 * For example, to add a new item, do as follows: 928 * <pre> 929 * getAny().add(newItem); 930 * </pre> 931 * 932 * 933 * <p> 934 * Objects of the following type(s) are allowed in the list 935 * {@link Object } 936 * 937 * 938 */ 939 public List<Object> getAny() { 940 if (any == null) { 941 any = new ArrayList<Object>(); 942 } 943 return this.any; 944 } 945 946 public String toString() { 947 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 948 final StringBuilder buffer = new StringBuilder(); 949 append(null, buffer, strategy); 950 return buffer.toString(); 951 } 952 953 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 954 strategy.appendStart(locator, this, buffer); 955 appendFields(locator, buffer, strategy); 956 strategy.appendEnd(locator, this, buffer); 957 return buffer; 958 } 959 960 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 961 { 962 List<Object> theAny; 963 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 964 strategy.appendField(locator, this, "any", buffer, theAny); 965 } 966 return buffer; 967 } 968 969 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 970 int currentHashCode = 1; 971 { 972 List<Object> theAny; 973 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 974 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 975 } 976 return currentHashCode; 977 } 978 979 public int hashCode() { 980 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 981 return this.hashCode(null, strategy); 982 } 983 984 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 985 if (!(object instanceof DtoInboundTopicBridge.Consumer)) { 986 return false; 987 } 988 if (this == object) { 989 return true; 990 } 991 final DtoInboundTopicBridge.Consumer that = ((DtoInboundTopicBridge.Consumer) object); 992 { 993 List<Object> lhsAny; 994 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 995 List<Object> rhsAny; 996 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 997 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 998 return false; 999 } 1000 } 1001 return true; 1002 } 1003 1004 public boolean equals(Object object) { 1005 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1006 return equals(null, null, object, strategy); 1007 } 1008 1009 } 1010 1011 1012 /** 1013 * <p>Java class for anonymous complex type. 1014 * 1015 * <p>The following schema fragment specifies the expected content contained within this class. 1016 * 1017 * <pre> 1018 * <complexType> 1019 * <complexContent> 1020 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1021 * <sequence minOccurs="0"> 1022 * <any maxOccurs="unbounded" minOccurs="0"/> 1023 * </sequence> 1024 * </restriction> 1025 * </complexContent> 1026 * </complexType> 1027 * </pre> 1028 * 1029 * 1030 */ 1031 @XmlAccessorType(XmlAccessType.FIELD) 1032 @XmlType(name = "", propOrder = { 1033 "any" 1034 }) 1035 public static class ConsumerConnection 1036 implements Equals, HashCode, ToString 1037 { 1038 1039 @XmlAnyElement(lax = true) 1040 protected List<Object> any; 1041 1042 /** 1043 * Gets the value of the any property. 1044 * 1045 * <p> 1046 * This accessor method returns a reference to the live list, 1047 * not a snapshot. Therefore any modification you make to the 1048 * returned list will be present inside the JAXB object. 1049 * This is why there is not a <CODE>set</CODE> method for the any property. 1050 * 1051 * <p> 1052 * For example, to add a new item, do as follows: 1053 * <pre> 1054 * getAny().add(newItem); 1055 * </pre> 1056 * 1057 * 1058 * <p> 1059 * Objects of the following type(s) are allowed in the list 1060 * {@link Object } 1061 * 1062 * 1063 */ 1064 public List<Object> getAny() { 1065 if (any == null) { 1066 any = new ArrayList<Object>(); 1067 } 1068 return this.any; 1069 } 1070 1071 public String toString() { 1072 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1073 final StringBuilder buffer = new StringBuilder(); 1074 append(null, buffer, strategy); 1075 return buffer.toString(); 1076 } 1077 1078 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1079 strategy.appendStart(locator, this, buffer); 1080 appendFields(locator, buffer, strategy); 1081 strategy.appendEnd(locator, this, buffer); 1082 return buffer; 1083 } 1084 1085 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1086 { 1087 List<Object> theAny; 1088 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1089 strategy.appendField(locator, this, "any", buffer, theAny); 1090 } 1091 return buffer; 1092 } 1093 1094 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1095 int currentHashCode = 1; 1096 { 1097 List<Object> theAny; 1098 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1099 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1100 } 1101 return currentHashCode; 1102 } 1103 1104 public int hashCode() { 1105 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1106 return this.hashCode(null, strategy); 1107 } 1108 1109 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1110 if (!(object instanceof DtoInboundTopicBridge.ConsumerConnection)) { 1111 return false; 1112 } 1113 if (this == object) { 1114 return true; 1115 } 1116 final DtoInboundTopicBridge.ConsumerConnection that = ((DtoInboundTopicBridge.ConsumerConnection) object); 1117 { 1118 List<Object> lhsAny; 1119 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1120 List<Object> rhsAny; 1121 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1122 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1123 return false; 1124 } 1125 } 1126 return true; 1127 } 1128 1129 public boolean equals(Object object) { 1130 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1131 return equals(null, null, object, strategy); 1132 } 1133 1134 } 1135 1136 1137 /** 1138 * <p>Java class for anonymous complex type. 1139 * 1140 * <p>The following schema fragment specifies the expected content contained within this class. 1141 * 1142 * <pre> 1143 * <complexType> 1144 * <complexContent> 1145 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1146 * <choice minOccurs="0"> 1147 * <element ref="{http://activemq.apache.org/schema/core}topic"/> 1148 * <any namespace='##other'/> 1149 * </choice> 1150 * </restriction> 1151 * </complexContent> 1152 * </complexType> 1153 * </pre> 1154 * 1155 * 1156 */ 1157 @XmlAccessorType(XmlAccessType.FIELD) 1158 @XmlType(name = "", propOrder = { 1159 "topic", 1160 "any" 1161 }) 1162 public static class ConsumerTopic 1163 implements Equals, HashCode, ToString 1164 { 1165 1166 protected DtoTopic topic; 1167 @XmlAnyElement(lax = true) 1168 protected Object any; 1169 1170 /** 1171 * Gets the value of the topic property. 1172 * 1173 * @return 1174 * possible object is 1175 * {@link DtoTopic } 1176 * 1177 */ 1178 public DtoTopic getTopic() { 1179 return topic; 1180 } 1181 1182 /** 1183 * Sets the value of the topic property. 1184 * 1185 * @param value 1186 * allowed object is 1187 * {@link DtoTopic } 1188 * 1189 */ 1190 public void setTopic(DtoTopic value) { 1191 this.topic = value; 1192 } 1193 1194 /** 1195 * Gets the value of the any property. 1196 * 1197 * @return 1198 * possible object is 1199 * {@link Object } 1200 * 1201 */ 1202 public Object getAny() { 1203 return any; 1204 } 1205 1206 /** 1207 * Sets the value of the any property. 1208 * 1209 * @param value 1210 * allowed object is 1211 * {@link Object } 1212 * 1213 */ 1214 public void setAny(Object value) { 1215 this.any = value; 1216 } 1217 1218 public String toString() { 1219 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1220 final StringBuilder buffer = new StringBuilder(); 1221 append(null, buffer, strategy); 1222 return buffer.toString(); 1223 } 1224 1225 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1226 strategy.appendStart(locator, this, buffer); 1227 appendFields(locator, buffer, strategy); 1228 strategy.appendEnd(locator, this, buffer); 1229 return buffer; 1230 } 1231 1232 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1233 { 1234 DtoTopic theTopic; 1235 theTopic = this.getTopic(); 1236 strategy.appendField(locator, this, "topic", buffer, theTopic); 1237 } 1238 { 1239 Object theAny; 1240 theAny = this.getAny(); 1241 strategy.appendField(locator, this, "any", buffer, theAny); 1242 } 1243 return buffer; 1244 } 1245 1246 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1247 int currentHashCode = 1; 1248 { 1249 DtoTopic theTopic; 1250 theTopic = this.getTopic(); 1251 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "topic", theTopic), currentHashCode, theTopic); 1252 } 1253 { 1254 Object theAny; 1255 theAny = this.getAny(); 1256 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1257 } 1258 return currentHashCode; 1259 } 1260 1261 public int hashCode() { 1262 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1263 return this.hashCode(null, strategy); 1264 } 1265 1266 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1267 if (!(object instanceof DtoInboundTopicBridge.ConsumerTopic)) { 1268 return false; 1269 } 1270 if (this == object) { 1271 return true; 1272 } 1273 final DtoInboundTopicBridge.ConsumerTopic that = ((DtoInboundTopicBridge.ConsumerTopic) object); 1274 { 1275 DtoTopic lhsTopic; 1276 lhsTopic = this.getTopic(); 1277 DtoTopic rhsTopic; 1278 rhsTopic = that.getTopic(); 1279 if (!strategy.equals(LocatorUtils.property(thisLocator, "topic", lhsTopic), LocatorUtils.property(thatLocator, "topic", rhsTopic), lhsTopic, rhsTopic)) { 1280 return false; 1281 } 1282 } 1283 { 1284 Object lhsAny; 1285 lhsAny = this.getAny(); 1286 Object rhsAny; 1287 rhsAny = that.getAny(); 1288 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1289 return false; 1290 } 1291 } 1292 return true; 1293 } 1294 1295 public boolean equals(Object object) { 1296 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1297 return equals(null, null, object, strategy); 1298 } 1299 1300 } 1301 1302 1303 /** 1304 * <p>Java class for anonymous complex type. 1305 * 1306 * <p>The following schema fragment specifies the expected content contained within this class. 1307 * 1308 * <pre> 1309 * <complexType> 1310 * <complexContent> 1311 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1312 * <choice minOccurs="0"> 1313 * <element ref="{http://activemq.apache.org/schema/core}jmsQueueConnector"/> 1314 * <element ref="{http://activemq.apache.org/schema/core}jmsTopicConnector"/> 1315 * <any namespace='##other'/> 1316 * </choice> 1317 * </restriction> 1318 * </complexContent> 1319 * </complexType> 1320 * </pre> 1321 * 1322 * 1323 */ 1324 @XmlAccessorType(XmlAccessType.FIELD) 1325 @XmlType(name = "", propOrder = { 1326 "jmsQueueConnector", 1327 "jmsTopicConnector", 1328 "any" 1329 }) 1330 public static class JmsConnector 1331 implements Equals, HashCode, ToString 1332 { 1333 1334 protected DtoJmsQueueConnector jmsQueueConnector; 1335 protected DtoJmsTopicConnector jmsTopicConnector; 1336 @XmlAnyElement(lax = true) 1337 protected Object any; 1338 1339 /** 1340 * Gets the value of the jmsQueueConnector property. 1341 * 1342 * @return 1343 * possible object is 1344 * {@link DtoJmsQueueConnector } 1345 * 1346 */ 1347 public DtoJmsQueueConnector getJmsQueueConnector() { 1348 return jmsQueueConnector; 1349 } 1350 1351 /** 1352 * Sets the value of the jmsQueueConnector property. 1353 * 1354 * @param value 1355 * allowed object is 1356 * {@link DtoJmsQueueConnector } 1357 * 1358 */ 1359 public void setJmsQueueConnector(DtoJmsQueueConnector value) { 1360 this.jmsQueueConnector = value; 1361 } 1362 1363 /** 1364 * Gets the value of the jmsTopicConnector property. 1365 * 1366 * @return 1367 * possible object is 1368 * {@link DtoJmsTopicConnector } 1369 * 1370 */ 1371 public DtoJmsTopicConnector getJmsTopicConnector() { 1372 return jmsTopicConnector; 1373 } 1374 1375 /** 1376 * Sets the value of the jmsTopicConnector property. 1377 * 1378 * @param value 1379 * allowed object is 1380 * {@link DtoJmsTopicConnector } 1381 * 1382 */ 1383 public void setJmsTopicConnector(DtoJmsTopicConnector value) { 1384 this.jmsTopicConnector = value; 1385 } 1386 1387 /** 1388 * Gets the value of the any property. 1389 * 1390 * @return 1391 * possible object is 1392 * {@link Object } 1393 * 1394 */ 1395 public Object getAny() { 1396 return any; 1397 } 1398 1399 /** 1400 * Sets the value of the any property. 1401 * 1402 * @param value 1403 * allowed object is 1404 * {@link Object } 1405 * 1406 */ 1407 public void setAny(Object value) { 1408 this.any = value; 1409 } 1410 1411 public String toString() { 1412 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1413 final StringBuilder buffer = new StringBuilder(); 1414 append(null, buffer, strategy); 1415 return buffer.toString(); 1416 } 1417 1418 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1419 strategy.appendStart(locator, this, buffer); 1420 appendFields(locator, buffer, strategy); 1421 strategy.appendEnd(locator, this, buffer); 1422 return buffer; 1423 } 1424 1425 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1426 { 1427 DtoJmsQueueConnector theJmsQueueConnector; 1428 theJmsQueueConnector = this.getJmsQueueConnector(); 1429 strategy.appendField(locator, this, "jmsQueueConnector", buffer, theJmsQueueConnector); 1430 } 1431 { 1432 DtoJmsTopicConnector theJmsTopicConnector; 1433 theJmsTopicConnector = this.getJmsTopicConnector(); 1434 strategy.appendField(locator, this, "jmsTopicConnector", buffer, theJmsTopicConnector); 1435 } 1436 { 1437 Object theAny; 1438 theAny = this.getAny(); 1439 strategy.appendField(locator, this, "any", buffer, theAny); 1440 } 1441 return buffer; 1442 } 1443 1444 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1445 int currentHashCode = 1; 1446 { 1447 DtoJmsQueueConnector theJmsQueueConnector; 1448 theJmsQueueConnector = this.getJmsQueueConnector(); 1449 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jmsQueueConnector", theJmsQueueConnector), currentHashCode, theJmsQueueConnector); 1450 } 1451 { 1452 DtoJmsTopicConnector theJmsTopicConnector; 1453 theJmsTopicConnector = this.getJmsTopicConnector(); 1454 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jmsTopicConnector", theJmsTopicConnector), currentHashCode, theJmsTopicConnector); 1455 } 1456 { 1457 Object theAny; 1458 theAny = this.getAny(); 1459 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1460 } 1461 return currentHashCode; 1462 } 1463 1464 public int hashCode() { 1465 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1466 return this.hashCode(null, strategy); 1467 } 1468 1469 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1470 if (!(object instanceof DtoInboundTopicBridge.JmsConnector)) { 1471 return false; 1472 } 1473 if (this == object) { 1474 return true; 1475 } 1476 final DtoInboundTopicBridge.JmsConnector that = ((DtoInboundTopicBridge.JmsConnector) object); 1477 { 1478 DtoJmsQueueConnector lhsJmsQueueConnector; 1479 lhsJmsQueueConnector = this.getJmsQueueConnector(); 1480 DtoJmsQueueConnector rhsJmsQueueConnector; 1481 rhsJmsQueueConnector = that.getJmsQueueConnector(); 1482 if (!strategy.equals(LocatorUtils.property(thisLocator, "jmsQueueConnector", lhsJmsQueueConnector), LocatorUtils.property(thatLocator, "jmsQueueConnector", rhsJmsQueueConnector), lhsJmsQueueConnector, rhsJmsQueueConnector)) { 1483 return false; 1484 } 1485 } 1486 { 1487 DtoJmsTopicConnector lhsJmsTopicConnector; 1488 lhsJmsTopicConnector = this.getJmsTopicConnector(); 1489 DtoJmsTopicConnector rhsJmsTopicConnector; 1490 rhsJmsTopicConnector = that.getJmsTopicConnector(); 1491 if (!strategy.equals(LocatorUtils.property(thisLocator, "jmsTopicConnector", lhsJmsTopicConnector), LocatorUtils.property(thatLocator, "jmsTopicConnector", rhsJmsTopicConnector), lhsJmsTopicConnector, rhsJmsTopicConnector)) { 1492 return false; 1493 } 1494 } 1495 { 1496 Object lhsAny; 1497 lhsAny = this.getAny(); 1498 Object rhsAny; 1499 rhsAny = that.getAny(); 1500 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1501 return false; 1502 } 1503 } 1504 return true; 1505 } 1506 1507 public boolean equals(Object object) { 1508 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1509 return equals(null, null, object, strategy); 1510 } 1511 1512 } 1513 1514 1515 /** 1516 * <p>Java class for anonymous complex type. 1517 * 1518 * <p>The following schema fragment specifies the expected content contained within this class. 1519 * 1520 * <pre> 1521 * <complexType> 1522 * <complexContent> 1523 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1524 * <choice minOccurs="0"> 1525 * <element ref="{http://activemq.apache.org/schema/core}simpleJmsMessageConvertor"/> 1526 * <any namespace='##other'/> 1527 * </choice> 1528 * </restriction> 1529 * </complexContent> 1530 * </complexType> 1531 * </pre> 1532 * 1533 * 1534 */ 1535 @XmlAccessorType(XmlAccessType.FIELD) 1536 @XmlType(name = "", propOrder = { 1537 "simpleJmsMessageConvertor", 1538 "any" 1539 }) 1540 public static class JmsMessageConvertor 1541 implements Equals, HashCode, ToString 1542 { 1543 1544 protected DtoSimpleJmsMessageConvertor simpleJmsMessageConvertor; 1545 @XmlAnyElement(lax = true) 1546 protected Object any; 1547 1548 /** 1549 * Gets the value of the simpleJmsMessageConvertor property. 1550 * 1551 * @return 1552 * possible object is 1553 * {@link DtoSimpleJmsMessageConvertor } 1554 * 1555 */ 1556 public DtoSimpleJmsMessageConvertor getSimpleJmsMessageConvertor() { 1557 return simpleJmsMessageConvertor; 1558 } 1559 1560 /** 1561 * Sets the value of the simpleJmsMessageConvertor property. 1562 * 1563 * @param value 1564 * allowed object is 1565 * {@link DtoSimpleJmsMessageConvertor } 1566 * 1567 */ 1568 public void setSimpleJmsMessageConvertor(DtoSimpleJmsMessageConvertor value) { 1569 this.simpleJmsMessageConvertor = value; 1570 } 1571 1572 /** 1573 * Gets the value of the any property. 1574 * 1575 * @return 1576 * possible object is 1577 * {@link Object } 1578 * 1579 */ 1580 public Object getAny() { 1581 return any; 1582 } 1583 1584 /** 1585 * Sets the value of the any property. 1586 * 1587 * @param value 1588 * allowed object is 1589 * {@link Object } 1590 * 1591 */ 1592 public void setAny(Object value) { 1593 this.any = value; 1594 } 1595 1596 public String toString() { 1597 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1598 final StringBuilder buffer = new StringBuilder(); 1599 append(null, buffer, strategy); 1600 return buffer.toString(); 1601 } 1602 1603 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1604 strategy.appendStart(locator, this, buffer); 1605 appendFields(locator, buffer, strategy); 1606 strategy.appendEnd(locator, this, buffer); 1607 return buffer; 1608 } 1609 1610 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1611 { 1612 DtoSimpleJmsMessageConvertor theSimpleJmsMessageConvertor; 1613 theSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 1614 strategy.appendField(locator, this, "simpleJmsMessageConvertor", buffer, theSimpleJmsMessageConvertor); 1615 } 1616 { 1617 Object theAny; 1618 theAny = this.getAny(); 1619 strategy.appendField(locator, this, "any", buffer, theAny); 1620 } 1621 return buffer; 1622 } 1623 1624 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1625 int currentHashCode = 1; 1626 { 1627 DtoSimpleJmsMessageConvertor theSimpleJmsMessageConvertor; 1628 theSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 1629 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "simpleJmsMessageConvertor", theSimpleJmsMessageConvertor), currentHashCode, theSimpleJmsMessageConvertor); 1630 } 1631 { 1632 Object theAny; 1633 theAny = this.getAny(); 1634 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1635 } 1636 return currentHashCode; 1637 } 1638 1639 public int hashCode() { 1640 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1641 return this.hashCode(null, strategy); 1642 } 1643 1644 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1645 if (!(object instanceof DtoInboundTopicBridge.JmsMessageConvertor)) { 1646 return false; 1647 } 1648 if (this == object) { 1649 return true; 1650 } 1651 final DtoInboundTopicBridge.JmsMessageConvertor that = ((DtoInboundTopicBridge.JmsMessageConvertor) object); 1652 { 1653 DtoSimpleJmsMessageConvertor lhsSimpleJmsMessageConvertor; 1654 lhsSimpleJmsMessageConvertor = this.getSimpleJmsMessageConvertor(); 1655 DtoSimpleJmsMessageConvertor rhsSimpleJmsMessageConvertor; 1656 rhsSimpleJmsMessageConvertor = that.getSimpleJmsMessageConvertor(); 1657 if (!strategy.equals(LocatorUtils.property(thisLocator, "simpleJmsMessageConvertor", lhsSimpleJmsMessageConvertor), LocatorUtils.property(thatLocator, "simpleJmsMessageConvertor", rhsSimpleJmsMessageConvertor), lhsSimpleJmsMessageConvertor, rhsSimpleJmsMessageConvertor)) { 1658 return false; 1659 } 1660 } 1661 { 1662 Object lhsAny; 1663 lhsAny = this.getAny(); 1664 Object rhsAny; 1665 rhsAny = that.getAny(); 1666 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1667 return false; 1668 } 1669 } 1670 return true; 1671 } 1672 1673 public boolean equals(Object object) { 1674 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1675 return equals(null, null, object, strategy); 1676 } 1677 1678 } 1679 1680 1681 /** 1682 * <p>Java class for anonymous complex type. 1683 * 1684 * <p>The following schema fragment specifies the expected content contained within this class. 1685 * 1686 * <pre> 1687 * <complexType> 1688 * <complexContent> 1689 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1690 * <sequence minOccurs="0"> 1691 * <any maxOccurs="unbounded" minOccurs="0"/> 1692 * </sequence> 1693 * </restriction> 1694 * </complexContent> 1695 * </complexType> 1696 * </pre> 1697 * 1698 * 1699 */ 1700 @XmlAccessorType(XmlAccessType.FIELD) 1701 @XmlType(name = "", propOrder = { 1702 "any" 1703 }) 1704 public static class ProducerConnection 1705 implements Equals, HashCode, ToString 1706 { 1707 1708 @XmlAnyElement(lax = true) 1709 protected List<Object> any; 1710 1711 /** 1712 * Gets the value of the any property. 1713 * 1714 * <p> 1715 * This accessor method returns a reference to the live list, 1716 * not a snapshot. Therefore any modification you make to the 1717 * returned list will be present inside the JAXB object. 1718 * This is why there is not a <CODE>set</CODE> method for the any property. 1719 * 1720 * <p> 1721 * For example, to add a new item, do as follows: 1722 * <pre> 1723 * getAny().add(newItem); 1724 * </pre> 1725 * 1726 * 1727 * <p> 1728 * Objects of the following type(s) are allowed in the list 1729 * {@link Object } 1730 * 1731 * 1732 */ 1733 public List<Object> getAny() { 1734 if (any == null) { 1735 any = new ArrayList<Object>(); 1736 } 1737 return this.any; 1738 } 1739 1740 public String toString() { 1741 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1742 final StringBuilder buffer = new StringBuilder(); 1743 append(null, buffer, strategy); 1744 return buffer.toString(); 1745 } 1746 1747 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1748 strategy.appendStart(locator, this, buffer); 1749 appendFields(locator, buffer, strategy); 1750 strategy.appendEnd(locator, this, buffer); 1751 return buffer; 1752 } 1753 1754 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1755 { 1756 List<Object> theAny; 1757 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1758 strategy.appendField(locator, this, "any", buffer, theAny); 1759 } 1760 return buffer; 1761 } 1762 1763 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1764 int currentHashCode = 1; 1765 { 1766 List<Object> theAny; 1767 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1768 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1769 } 1770 return currentHashCode; 1771 } 1772 1773 public int hashCode() { 1774 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1775 return this.hashCode(null, strategy); 1776 } 1777 1778 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1779 if (!(object instanceof DtoInboundTopicBridge.ProducerConnection)) { 1780 return false; 1781 } 1782 if (this == object) { 1783 return true; 1784 } 1785 final DtoInboundTopicBridge.ProducerConnection that = ((DtoInboundTopicBridge.ProducerConnection) object); 1786 { 1787 List<Object> lhsAny; 1788 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1789 List<Object> rhsAny; 1790 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1791 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1792 return false; 1793 } 1794 } 1795 return true; 1796 } 1797 1798 public boolean equals(Object object) { 1799 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1800 return equals(null, null, object, strategy); 1801 } 1802 1803 } 1804 1805 1806 /** 1807 * <p>Java class for anonymous complex type. 1808 * 1809 * <p>The following schema fragment specifies the expected content contained within this class. 1810 * 1811 * <pre> 1812 * <complexType> 1813 * <complexContent> 1814 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1815 * <choice minOccurs="0"> 1816 * <element ref="{http://activemq.apache.org/schema/core}topic"/> 1817 * <any namespace='##other'/> 1818 * </choice> 1819 * </restriction> 1820 * </complexContent> 1821 * </complexType> 1822 * </pre> 1823 * 1824 * 1825 */ 1826 @XmlAccessorType(XmlAccessType.FIELD) 1827 @XmlType(name = "", propOrder = { 1828 "topic", 1829 "any" 1830 }) 1831 public static class ProducerTopic 1832 implements Equals, HashCode, ToString 1833 { 1834 1835 protected DtoTopic topic; 1836 @XmlAnyElement(lax = true) 1837 protected Object any; 1838 1839 /** 1840 * Gets the value of the topic property. 1841 * 1842 * @return 1843 * possible object is 1844 * {@link DtoTopic } 1845 * 1846 */ 1847 public DtoTopic getTopic() { 1848 return topic; 1849 } 1850 1851 /** 1852 * Sets the value of the topic property. 1853 * 1854 * @param value 1855 * allowed object is 1856 * {@link DtoTopic } 1857 * 1858 */ 1859 public void setTopic(DtoTopic value) { 1860 this.topic = value; 1861 } 1862 1863 /** 1864 * Gets the value of the any property. 1865 * 1866 * @return 1867 * possible object is 1868 * {@link Object } 1869 * 1870 */ 1871 public Object getAny() { 1872 return any; 1873 } 1874 1875 /** 1876 * Sets the value of the any property. 1877 * 1878 * @param value 1879 * allowed object is 1880 * {@link Object } 1881 * 1882 */ 1883 public void setAny(Object value) { 1884 this.any = value; 1885 } 1886 1887 public String toString() { 1888 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1889 final StringBuilder buffer = new StringBuilder(); 1890 append(null, buffer, strategy); 1891 return buffer.toString(); 1892 } 1893 1894 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1895 strategy.appendStart(locator, this, buffer); 1896 appendFields(locator, buffer, strategy); 1897 strategy.appendEnd(locator, this, buffer); 1898 return buffer; 1899 } 1900 1901 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1902 { 1903 DtoTopic theTopic; 1904 theTopic = this.getTopic(); 1905 strategy.appendField(locator, this, "topic", buffer, theTopic); 1906 } 1907 { 1908 Object theAny; 1909 theAny = this.getAny(); 1910 strategy.appendField(locator, this, "any", buffer, theAny); 1911 } 1912 return buffer; 1913 } 1914 1915 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1916 int currentHashCode = 1; 1917 { 1918 DtoTopic theTopic; 1919 theTopic = this.getTopic(); 1920 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "topic", theTopic), currentHashCode, theTopic); 1921 } 1922 { 1923 Object theAny; 1924 theAny = this.getAny(); 1925 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1926 } 1927 return currentHashCode; 1928 } 1929 1930 public int hashCode() { 1931 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1932 return this.hashCode(null, strategy); 1933 } 1934 1935 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1936 if (!(object instanceof DtoInboundTopicBridge.ProducerTopic)) { 1937 return false; 1938 } 1939 if (this == object) { 1940 return true; 1941 } 1942 final DtoInboundTopicBridge.ProducerTopic that = ((DtoInboundTopicBridge.ProducerTopic) object); 1943 { 1944 DtoTopic lhsTopic; 1945 lhsTopic = this.getTopic(); 1946 DtoTopic rhsTopic; 1947 rhsTopic = that.getTopic(); 1948 if (!strategy.equals(LocatorUtils.property(thisLocator, "topic", lhsTopic), LocatorUtils.property(thatLocator, "topic", rhsTopic), lhsTopic, rhsTopic)) { 1949 return false; 1950 } 1951 } 1952 { 1953 Object lhsAny; 1954 lhsAny = this.getAny(); 1955 Object rhsAny; 1956 rhsAny = that.getAny(); 1957 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1958 return false; 1959 } 1960 } 1961 return true; 1962 } 1963 1964 public boolean equals(Object object) { 1965 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1966 return equals(null, null, object, strategy); 1967 } 1968 1969 } 1970 1971}