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: 2020.06.25 at 07:42:22 AM CEST 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="SSLContext" 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="keyManagers" maxOccurs="unbounded" minOccurs="0"> 065 * <complexType> 066 * <complexContent> 067 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 068 * <sequence maxOccurs="unbounded" minOccurs="0"> 069 * <any maxOccurs="unbounded" minOccurs="0"/> 070 * </sequence> 071 * </restriction> 072 * </complexContent> 073 * </complexType> 074 * </element> 075 * <element name="secureRandom" minOccurs="0"> 076 * <complexType> 077 * <complexContent> 078 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 079 * <sequence minOccurs="0"> 080 * <any maxOccurs="unbounded" minOccurs="0"/> 081 * </sequence> 082 * </restriction> 083 * </complexContent> 084 * </complexType> 085 * </element> 086 * <element name="trustManagers" maxOccurs="unbounded" minOccurs="0"> 087 * <complexType> 088 * <complexContent> 089 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 090 * <sequence maxOccurs="unbounded" minOccurs="0"> 091 * <any maxOccurs="unbounded" minOccurs="0"/> 092 * </sequence> 093 * </restriction> 094 * </complexContent> 095 * </complexType> 096 * </element> 097 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 098 * </choice> 099 * </choice> 100 * <attribute name="SSLContext" type="{http://www.w3.org/2001/XMLSchema}string" /> 101 * <attribute name="crlPath" type="{http://www.w3.org/2001/XMLSchema}string" /> 102 * <attribute name="keyStore" type="{http://www.w3.org/2001/XMLSchema}string" /> 103 * <attribute name="keyStoreAlgorithm" type="{http://www.w3.org/2001/XMLSchema}string" /> 104 * <attribute name="keyStoreKeyPassword" type="{http://www.w3.org/2001/XMLSchema}string" /> 105 * <attribute name="keyStorePassword" type="{http://www.w3.org/2001/XMLSchema}string" /> 106 * <attribute name="keyStoreType" type="{http://www.w3.org/2001/XMLSchema}string" /> 107 * <attribute name="protocol" type="{http://www.w3.org/2001/XMLSchema}string" /> 108 * <attribute name="provider" type="{http://www.w3.org/2001/XMLSchema}string" /> 109 * <attribute name="secureRandom" type="{http://www.w3.org/2001/XMLSchema}string" /> 110 * <attribute name="secureRandomAlgorithm" type="{http://www.w3.org/2001/XMLSchema}string" /> 111 * <attribute name="trustStore" type="{http://www.w3.org/2001/XMLSchema}string" /> 112 * <attribute name="trustStoreAlgorithm" type="{http://www.w3.org/2001/XMLSchema}string" /> 113 * <attribute name="trustStorePassword" type="{http://www.w3.org/2001/XMLSchema}string" /> 114 * <attribute name="trustStoreType" type="{http://www.w3.org/2001/XMLSchema}string" /> 115 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 116 * <anyAttribute processContents='lax' namespace='##other'/> 117 * </restriction> 118 * </complexContent> 119 * </complexType> 120 * </pre> 121 * 122 * 123 */ 124@XmlAccessorType(XmlAccessType.FIELD) 125@XmlType(name = "", propOrder = { 126 "sslContextOrKeyManagersOrSecureRandom" 127}) 128@XmlRootElement(name = "sslContext") 129public class DtoSslContext implements Equals, HashCode, ToString 130{ 131 132 @XmlElementRefs({ 133 @XmlElementRef(name = "SSLContext", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 134 @XmlElementRef(name = "trustManagers", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 135 @XmlElementRef(name = "secureRandom", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 136 @XmlElementRef(name = "keyManagers", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 137 }) 138 @XmlAnyElement(lax = true) 139 protected List<Object> sslContextOrKeyManagersOrSecureRandom; 140 @XmlAttribute(name = "SSLContext") 141 protected String sslContext; 142 @XmlAttribute(name = "crlPath") 143 protected String crlPath; 144 @XmlAttribute(name = "keyStore") 145 protected String keyStore; 146 @XmlAttribute(name = "keyStoreAlgorithm") 147 protected String keyStoreAlgorithm; 148 @XmlAttribute(name = "keyStoreKeyPassword") 149 protected String keyStoreKeyPassword; 150 @XmlAttribute(name = "keyStorePassword") 151 protected String keyStorePassword; 152 @XmlAttribute(name = "keyStoreType") 153 protected String keyStoreType; 154 @XmlAttribute(name = "protocol") 155 protected String protocol; 156 @XmlAttribute(name = "provider") 157 protected String provider; 158 @XmlAttribute(name = "secureRandom") 159 protected String secureRandom; 160 @XmlAttribute(name = "secureRandomAlgorithm") 161 protected String secureRandomAlgorithm; 162 @XmlAttribute(name = "trustStore") 163 protected String trustStore; 164 @XmlAttribute(name = "trustStoreAlgorithm") 165 protected String trustStoreAlgorithm; 166 @XmlAttribute(name = "trustStorePassword") 167 protected String trustStorePassword; 168 @XmlAttribute(name = "trustStoreType") 169 protected String trustStoreType; 170 @XmlAttribute(name = "id") 171 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 172 @XmlID 173 @XmlSchemaType(name = "ID") 174 protected String id; 175 @XmlAnyAttribute 176 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 177 178 /** 179 * Gets the value of the sslContextOrKeyManagersOrSecureRandom property. 180 * 181 * <p> 182 * This accessor method returns a reference to the live list, 183 * not a snapshot. Therefore any modification you make to the 184 * returned list will be present inside the JAXB object. 185 * This is why there is not a <CODE>set</CODE> method for the sslContextOrKeyManagersOrSecureRandom property. 186 * 187 * <p> 188 * For example, to add a new item, do as follows: 189 * <pre> 190 * getSSLContextOrKeyManagersOrSecureRandom().add(newItem); 191 * </pre> 192 * 193 * 194 * <p> 195 * Objects of the following type(s) are allowed in the list 196 * {@link JAXBElement }{@code <}{@link DtoSslContext.SSLContext }{@code >} 197 * {@link JAXBElement }{@code <}{@link DtoSslContext.SecureRandom }{@code >} 198 * {@link Object } 199 * {@link JAXBElement }{@code <}{@link DtoSslContext.KeyManagers }{@code >} 200 * {@link JAXBElement }{@code <}{@link DtoSslContext.TrustManagers }{@code >} 201 * 202 * 203 */ 204 public List<Object> getSSLContextOrKeyManagersOrSecureRandom() { 205 if (sslContextOrKeyManagersOrSecureRandom == null) { 206 sslContextOrKeyManagersOrSecureRandom = new ArrayList<Object>(); 207 } 208 return this.sslContextOrKeyManagersOrSecureRandom; 209 } 210 211 /** 212 * Gets the value of the sslContext property. 213 * 214 * @return 215 * possible object is 216 * {@link String } 217 * 218 */ 219 public String getSSLContext() { 220 return sslContext; 221 } 222 223 /** 224 * Sets the value of the sslContext property. 225 * 226 * @param value 227 * allowed object is 228 * {@link String } 229 * 230 */ 231 public void setSSLContext(String value) { 232 this.sslContext = value; 233 } 234 235 /** 236 * Gets the value of the crlPath property. 237 * 238 * @return 239 * possible object is 240 * {@link String } 241 * 242 */ 243 public String getCrlPath() { 244 return crlPath; 245 } 246 247 /** 248 * Sets the value of the crlPath property. 249 * 250 * @param value 251 * allowed object is 252 * {@link String } 253 * 254 */ 255 public void setCrlPath(String value) { 256 this.crlPath = value; 257 } 258 259 /** 260 * Gets the value of the keyStore property. 261 * 262 * @return 263 * possible object is 264 * {@link String } 265 * 266 */ 267 public String getKeyStore() { 268 return keyStore; 269 } 270 271 /** 272 * Sets the value of the keyStore property. 273 * 274 * @param value 275 * allowed object is 276 * {@link String } 277 * 278 */ 279 public void setKeyStore(String value) { 280 this.keyStore = value; 281 } 282 283 /** 284 * Gets the value of the keyStoreAlgorithm property. 285 * 286 * @return 287 * possible object is 288 * {@link String } 289 * 290 */ 291 public String getKeyStoreAlgorithm() { 292 return keyStoreAlgorithm; 293 } 294 295 /** 296 * Sets the value of the keyStoreAlgorithm property. 297 * 298 * @param value 299 * allowed object is 300 * {@link String } 301 * 302 */ 303 public void setKeyStoreAlgorithm(String value) { 304 this.keyStoreAlgorithm = value; 305 } 306 307 /** 308 * Gets the value of the keyStoreKeyPassword property. 309 * 310 * @return 311 * possible object is 312 * {@link String } 313 * 314 */ 315 public String getKeyStoreKeyPassword() { 316 return keyStoreKeyPassword; 317 } 318 319 /** 320 * Sets the value of the keyStoreKeyPassword property. 321 * 322 * @param value 323 * allowed object is 324 * {@link String } 325 * 326 */ 327 public void setKeyStoreKeyPassword(String value) { 328 this.keyStoreKeyPassword = value; 329 } 330 331 /** 332 * Gets the value of the keyStorePassword property. 333 * 334 * @return 335 * possible object is 336 * {@link String } 337 * 338 */ 339 public String getKeyStorePassword() { 340 return keyStorePassword; 341 } 342 343 /** 344 * Sets the value of the keyStorePassword property. 345 * 346 * @param value 347 * allowed object is 348 * {@link String } 349 * 350 */ 351 public void setKeyStorePassword(String value) { 352 this.keyStorePassword = value; 353 } 354 355 /** 356 * Gets the value of the keyStoreType property. 357 * 358 * @return 359 * possible object is 360 * {@link String } 361 * 362 */ 363 public String getKeyStoreType() { 364 return keyStoreType; 365 } 366 367 /** 368 * Sets the value of the keyStoreType property. 369 * 370 * @param value 371 * allowed object is 372 * {@link String } 373 * 374 */ 375 public void setKeyStoreType(String value) { 376 this.keyStoreType = value; 377 } 378 379 /** 380 * Gets the value of the protocol property. 381 * 382 * @return 383 * possible object is 384 * {@link String } 385 * 386 */ 387 public String getProtocol() { 388 return protocol; 389 } 390 391 /** 392 * Sets the value of the protocol property. 393 * 394 * @param value 395 * allowed object is 396 * {@link String } 397 * 398 */ 399 public void setProtocol(String value) { 400 this.protocol = value; 401 } 402 403 /** 404 * Gets the value of the provider property. 405 * 406 * @return 407 * possible object is 408 * {@link String } 409 * 410 */ 411 public String getProvider() { 412 return provider; 413 } 414 415 /** 416 * Sets the value of the provider property. 417 * 418 * @param value 419 * allowed object is 420 * {@link String } 421 * 422 */ 423 public void setProvider(String value) { 424 this.provider = value; 425 } 426 427 /** 428 * Gets the value of the secureRandom property. 429 * 430 * @return 431 * possible object is 432 * {@link String } 433 * 434 */ 435 public String getSecureRandom() { 436 return secureRandom; 437 } 438 439 /** 440 * Sets the value of the secureRandom property. 441 * 442 * @param value 443 * allowed object is 444 * {@link String } 445 * 446 */ 447 public void setSecureRandom(String value) { 448 this.secureRandom = value; 449 } 450 451 /** 452 * Gets the value of the secureRandomAlgorithm property. 453 * 454 * @return 455 * possible object is 456 * {@link String } 457 * 458 */ 459 public String getSecureRandomAlgorithm() { 460 return secureRandomAlgorithm; 461 } 462 463 /** 464 * Sets the value of the secureRandomAlgorithm property. 465 * 466 * @param value 467 * allowed object is 468 * {@link String } 469 * 470 */ 471 public void setSecureRandomAlgorithm(String value) { 472 this.secureRandomAlgorithm = value; 473 } 474 475 /** 476 * Gets the value of the trustStore property. 477 * 478 * @return 479 * possible object is 480 * {@link String } 481 * 482 */ 483 public String getTrustStore() { 484 return trustStore; 485 } 486 487 /** 488 * Sets the value of the trustStore property. 489 * 490 * @param value 491 * allowed object is 492 * {@link String } 493 * 494 */ 495 public void setTrustStore(String value) { 496 this.trustStore = value; 497 } 498 499 /** 500 * Gets the value of the trustStoreAlgorithm property. 501 * 502 * @return 503 * possible object is 504 * {@link String } 505 * 506 */ 507 public String getTrustStoreAlgorithm() { 508 return trustStoreAlgorithm; 509 } 510 511 /** 512 * Sets the value of the trustStoreAlgorithm property. 513 * 514 * @param value 515 * allowed object is 516 * {@link String } 517 * 518 */ 519 public void setTrustStoreAlgorithm(String value) { 520 this.trustStoreAlgorithm = value; 521 } 522 523 /** 524 * Gets the value of the trustStorePassword property. 525 * 526 * @return 527 * possible object is 528 * {@link String } 529 * 530 */ 531 public String getTrustStorePassword() { 532 return trustStorePassword; 533 } 534 535 /** 536 * Sets the value of the trustStorePassword property. 537 * 538 * @param value 539 * allowed object is 540 * {@link String } 541 * 542 */ 543 public void setTrustStorePassword(String value) { 544 this.trustStorePassword = value; 545 } 546 547 /** 548 * Gets the value of the trustStoreType property. 549 * 550 * @return 551 * possible object is 552 * {@link String } 553 * 554 */ 555 public String getTrustStoreType() { 556 return trustStoreType; 557 } 558 559 /** 560 * Sets the value of the trustStoreType property. 561 * 562 * @param value 563 * allowed object is 564 * {@link String } 565 * 566 */ 567 public void setTrustStoreType(String value) { 568 this.trustStoreType = value; 569 } 570 571 /** 572 * Gets the value of the id property. 573 * 574 * @return 575 * possible object is 576 * {@link String } 577 * 578 */ 579 public String getId() { 580 return id; 581 } 582 583 /** 584 * Sets the value of the id property. 585 * 586 * @param value 587 * allowed object is 588 * {@link String } 589 * 590 */ 591 public void setId(String value) { 592 this.id = value; 593 } 594 595 /** 596 * Gets a map that contains attributes that aren't bound to any typed property on this class. 597 * 598 * <p> 599 * the map is keyed by the name of the attribute and 600 * the value is the string value of the attribute. 601 * 602 * the map returned by this method is live, and you can add new attribute 603 * by updating the map directly. Because of this design, there's no setter. 604 * 605 * 606 * @return 607 * always non-null 608 */ 609 public Map<QName, String> getOtherAttributes() { 610 return otherAttributes; 611 } 612 613 public String toString() { 614 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 615 final StringBuilder buffer = new StringBuilder(); 616 append(null, buffer, strategy); 617 return buffer.toString(); 618 } 619 620 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 621 strategy.appendStart(locator, this, buffer); 622 appendFields(locator, buffer, strategy); 623 strategy.appendEnd(locator, this, buffer); 624 return buffer; 625 } 626 627 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 628 { 629 List<Object> theSSLContextOrKeyManagersOrSecureRandom; 630 theSSLContextOrKeyManagersOrSecureRandom = (((this.sslContextOrKeyManagersOrSecureRandom!= null)&&(!this.sslContextOrKeyManagersOrSecureRandom.isEmpty()))?this.getSSLContextOrKeyManagersOrSecureRandom():null); 631 strategy.appendField(locator, this, "sslContextOrKeyManagersOrSecureRandom", buffer, theSSLContextOrKeyManagersOrSecureRandom); 632 } 633 { 634 String theSSLContext; 635 theSSLContext = this.getSSLContext(); 636 strategy.appendField(locator, this, "sslContext", buffer, theSSLContext); 637 } 638 { 639 String theCrlPath; 640 theCrlPath = this.getCrlPath(); 641 strategy.appendField(locator, this, "crlPath", buffer, theCrlPath); 642 } 643 { 644 String theKeyStore; 645 theKeyStore = this.getKeyStore(); 646 strategy.appendField(locator, this, "keyStore", buffer, theKeyStore); 647 } 648 { 649 String theKeyStoreAlgorithm; 650 theKeyStoreAlgorithm = this.getKeyStoreAlgorithm(); 651 strategy.appendField(locator, this, "keyStoreAlgorithm", buffer, theKeyStoreAlgorithm); 652 } 653 { 654 String theKeyStoreKeyPassword; 655 theKeyStoreKeyPassword = this.getKeyStoreKeyPassword(); 656 strategy.appendField(locator, this, "keyStoreKeyPassword", buffer, theKeyStoreKeyPassword); 657 } 658 { 659 String theKeyStorePassword; 660 theKeyStorePassword = this.getKeyStorePassword(); 661 strategy.appendField(locator, this, "keyStorePassword", buffer, theKeyStorePassword); 662 } 663 { 664 String theKeyStoreType; 665 theKeyStoreType = this.getKeyStoreType(); 666 strategy.appendField(locator, this, "keyStoreType", buffer, theKeyStoreType); 667 } 668 { 669 String theProtocol; 670 theProtocol = this.getProtocol(); 671 strategy.appendField(locator, this, "protocol", buffer, theProtocol); 672 } 673 { 674 String theProvider; 675 theProvider = this.getProvider(); 676 strategy.appendField(locator, this, "provider", buffer, theProvider); 677 } 678 { 679 String theSecureRandom; 680 theSecureRandom = this.getSecureRandom(); 681 strategy.appendField(locator, this, "secureRandom", buffer, theSecureRandom); 682 } 683 { 684 String theSecureRandomAlgorithm; 685 theSecureRandomAlgorithm = this.getSecureRandomAlgorithm(); 686 strategy.appendField(locator, this, "secureRandomAlgorithm", buffer, theSecureRandomAlgorithm); 687 } 688 { 689 String theTrustStore; 690 theTrustStore = this.getTrustStore(); 691 strategy.appendField(locator, this, "trustStore", buffer, theTrustStore); 692 } 693 { 694 String theTrustStoreAlgorithm; 695 theTrustStoreAlgorithm = this.getTrustStoreAlgorithm(); 696 strategy.appendField(locator, this, "trustStoreAlgorithm", buffer, theTrustStoreAlgorithm); 697 } 698 { 699 String theTrustStorePassword; 700 theTrustStorePassword = this.getTrustStorePassword(); 701 strategy.appendField(locator, this, "trustStorePassword", buffer, theTrustStorePassword); 702 } 703 { 704 String theTrustStoreType; 705 theTrustStoreType = this.getTrustStoreType(); 706 strategy.appendField(locator, this, "trustStoreType", buffer, theTrustStoreType); 707 } 708 { 709 String theId; 710 theId = this.getId(); 711 strategy.appendField(locator, this, "id", buffer, theId); 712 } 713 return buffer; 714 } 715 716 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 717 int currentHashCode = 1; 718 { 719 List<Object> theSSLContextOrKeyManagersOrSecureRandom; 720 theSSLContextOrKeyManagersOrSecureRandom = (((this.sslContextOrKeyManagersOrSecureRandom!= null)&&(!this.sslContextOrKeyManagersOrSecureRandom.isEmpty()))?this.getSSLContextOrKeyManagersOrSecureRandom():null); 721 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sslContextOrKeyManagersOrSecureRandom", theSSLContextOrKeyManagersOrSecureRandom), currentHashCode, theSSLContextOrKeyManagersOrSecureRandom); 722 } 723 { 724 String theSSLContext; 725 theSSLContext = this.getSSLContext(); 726 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sslContext", theSSLContext), currentHashCode, theSSLContext); 727 } 728 { 729 String theCrlPath; 730 theCrlPath = this.getCrlPath(); 731 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "crlPath", theCrlPath), currentHashCode, theCrlPath); 732 } 733 { 734 String theKeyStore; 735 theKeyStore = this.getKeyStore(); 736 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStore", theKeyStore), currentHashCode, theKeyStore); 737 } 738 { 739 String theKeyStoreAlgorithm; 740 theKeyStoreAlgorithm = this.getKeyStoreAlgorithm(); 741 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStoreAlgorithm", theKeyStoreAlgorithm), currentHashCode, theKeyStoreAlgorithm); 742 } 743 { 744 String theKeyStoreKeyPassword; 745 theKeyStoreKeyPassword = this.getKeyStoreKeyPassword(); 746 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStoreKeyPassword", theKeyStoreKeyPassword), currentHashCode, theKeyStoreKeyPassword); 747 } 748 { 749 String theKeyStorePassword; 750 theKeyStorePassword = this.getKeyStorePassword(); 751 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStorePassword", theKeyStorePassword), currentHashCode, theKeyStorePassword); 752 } 753 { 754 String theKeyStoreType; 755 theKeyStoreType = this.getKeyStoreType(); 756 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "keyStoreType", theKeyStoreType), currentHashCode, theKeyStoreType); 757 } 758 { 759 String theProtocol; 760 theProtocol = this.getProtocol(); 761 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "protocol", theProtocol), currentHashCode, theProtocol); 762 } 763 { 764 String theProvider; 765 theProvider = this.getProvider(); 766 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "provider", theProvider), currentHashCode, theProvider); 767 } 768 { 769 String theSecureRandom; 770 theSecureRandom = this.getSecureRandom(); 771 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "secureRandom", theSecureRandom), currentHashCode, theSecureRandom); 772 } 773 { 774 String theSecureRandomAlgorithm; 775 theSecureRandomAlgorithm = this.getSecureRandomAlgorithm(); 776 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "secureRandomAlgorithm", theSecureRandomAlgorithm), currentHashCode, theSecureRandomAlgorithm); 777 } 778 { 779 String theTrustStore; 780 theTrustStore = this.getTrustStore(); 781 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trustStore", theTrustStore), currentHashCode, theTrustStore); 782 } 783 { 784 String theTrustStoreAlgorithm; 785 theTrustStoreAlgorithm = this.getTrustStoreAlgorithm(); 786 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trustStoreAlgorithm", theTrustStoreAlgorithm), currentHashCode, theTrustStoreAlgorithm); 787 } 788 { 789 String theTrustStorePassword; 790 theTrustStorePassword = this.getTrustStorePassword(); 791 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trustStorePassword", theTrustStorePassword), currentHashCode, theTrustStorePassword); 792 } 793 { 794 String theTrustStoreType; 795 theTrustStoreType = this.getTrustStoreType(); 796 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "trustStoreType", theTrustStoreType), currentHashCode, theTrustStoreType); 797 } 798 { 799 String theId; 800 theId = this.getId(); 801 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 802 } 803 return currentHashCode; 804 } 805 806 public int hashCode() { 807 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 808 return this.hashCode(null, strategy); 809 } 810 811 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 812 if (!(object instanceof DtoSslContext)) { 813 return false; 814 } 815 if (this == object) { 816 return true; 817 } 818 final DtoSslContext that = ((DtoSslContext) object); 819 { 820 List<Object> lhsSSLContextOrKeyManagersOrSecureRandom; 821 lhsSSLContextOrKeyManagersOrSecureRandom = (((this.sslContextOrKeyManagersOrSecureRandom!= null)&&(!this.sslContextOrKeyManagersOrSecureRandom.isEmpty()))?this.getSSLContextOrKeyManagersOrSecureRandom():null); 822 List<Object> rhsSSLContextOrKeyManagersOrSecureRandom; 823 rhsSSLContextOrKeyManagersOrSecureRandom = (((that.sslContextOrKeyManagersOrSecureRandom!= null)&&(!that.sslContextOrKeyManagersOrSecureRandom.isEmpty()))?that.getSSLContextOrKeyManagersOrSecureRandom():null); 824 if (!strategy.equals(LocatorUtils.property(thisLocator, "sslContextOrKeyManagersOrSecureRandom", lhsSSLContextOrKeyManagersOrSecureRandom), LocatorUtils.property(thatLocator, "sslContextOrKeyManagersOrSecureRandom", rhsSSLContextOrKeyManagersOrSecureRandom), lhsSSLContextOrKeyManagersOrSecureRandom, rhsSSLContextOrKeyManagersOrSecureRandom)) { 825 return false; 826 } 827 } 828 { 829 String lhsSSLContext; 830 lhsSSLContext = this.getSSLContext(); 831 String rhsSSLContext; 832 rhsSSLContext = that.getSSLContext(); 833 if (!strategy.equals(LocatorUtils.property(thisLocator, "sslContext", lhsSSLContext), LocatorUtils.property(thatLocator, "sslContext", rhsSSLContext), lhsSSLContext, rhsSSLContext)) { 834 return false; 835 } 836 } 837 { 838 String lhsCrlPath; 839 lhsCrlPath = this.getCrlPath(); 840 String rhsCrlPath; 841 rhsCrlPath = that.getCrlPath(); 842 if (!strategy.equals(LocatorUtils.property(thisLocator, "crlPath", lhsCrlPath), LocatorUtils.property(thatLocator, "crlPath", rhsCrlPath), lhsCrlPath, rhsCrlPath)) { 843 return false; 844 } 845 } 846 { 847 String lhsKeyStore; 848 lhsKeyStore = this.getKeyStore(); 849 String rhsKeyStore; 850 rhsKeyStore = that.getKeyStore(); 851 if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStore", lhsKeyStore), LocatorUtils.property(thatLocator, "keyStore", rhsKeyStore), lhsKeyStore, rhsKeyStore)) { 852 return false; 853 } 854 } 855 { 856 String lhsKeyStoreAlgorithm; 857 lhsKeyStoreAlgorithm = this.getKeyStoreAlgorithm(); 858 String rhsKeyStoreAlgorithm; 859 rhsKeyStoreAlgorithm = that.getKeyStoreAlgorithm(); 860 if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStoreAlgorithm", lhsKeyStoreAlgorithm), LocatorUtils.property(thatLocator, "keyStoreAlgorithm", rhsKeyStoreAlgorithm), lhsKeyStoreAlgorithm, rhsKeyStoreAlgorithm)) { 861 return false; 862 } 863 } 864 { 865 String lhsKeyStoreKeyPassword; 866 lhsKeyStoreKeyPassword = this.getKeyStoreKeyPassword(); 867 String rhsKeyStoreKeyPassword; 868 rhsKeyStoreKeyPassword = that.getKeyStoreKeyPassword(); 869 if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStoreKeyPassword", lhsKeyStoreKeyPassword), LocatorUtils.property(thatLocator, "keyStoreKeyPassword", rhsKeyStoreKeyPassword), lhsKeyStoreKeyPassword, rhsKeyStoreKeyPassword)) { 870 return false; 871 } 872 } 873 { 874 String lhsKeyStorePassword; 875 lhsKeyStorePassword = this.getKeyStorePassword(); 876 String rhsKeyStorePassword; 877 rhsKeyStorePassword = that.getKeyStorePassword(); 878 if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStorePassword", lhsKeyStorePassword), LocatorUtils.property(thatLocator, "keyStorePassword", rhsKeyStorePassword), lhsKeyStorePassword, rhsKeyStorePassword)) { 879 return false; 880 } 881 } 882 { 883 String lhsKeyStoreType; 884 lhsKeyStoreType = this.getKeyStoreType(); 885 String rhsKeyStoreType; 886 rhsKeyStoreType = that.getKeyStoreType(); 887 if (!strategy.equals(LocatorUtils.property(thisLocator, "keyStoreType", lhsKeyStoreType), LocatorUtils.property(thatLocator, "keyStoreType", rhsKeyStoreType), lhsKeyStoreType, rhsKeyStoreType)) { 888 return false; 889 } 890 } 891 { 892 String lhsProtocol; 893 lhsProtocol = this.getProtocol(); 894 String rhsProtocol; 895 rhsProtocol = that.getProtocol(); 896 if (!strategy.equals(LocatorUtils.property(thisLocator, "protocol", lhsProtocol), LocatorUtils.property(thatLocator, "protocol", rhsProtocol), lhsProtocol, rhsProtocol)) { 897 return false; 898 } 899 } 900 { 901 String lhsProvider; 902 lhsProvider = this.getProvider(); 903 String rhsProvider; 904 rhsProvider = that.getProvider(); 905 if (!strategy.equals(LocatorUtils.property(thisLocator, "provider", lhsProvider), LocatorUtils.property(thatLocator, "provider", rhsProvider), lhsProvider, rhsProvider)) { 906 return false; 907 } 908 } 909 { 910 String lhsSecureRandom; 911 lhsSecureRandom = this.getSecureRandom(); 912 String rhsSecureRandom; 913 rhsSecureRandom = that.getSecureRandom(); 914 if (!strategy.equals(LocatorUtils.property(thisLocator, "secureRandom", lhsSecureRandom), LocatorUtils.property(thatLocator, "secureRandom", rhsSecureRandom), lhsSecureRandom, rhsSecureRandom)) { 915 return false; 916 } 917 } 918 { 919 String lhsSecureRandomAlgorithm; 920 lhsSecureRandomAlgorithm = this.getSecureRandomAlgorithm(); 921 String rhsSecureRandomAlgorithm; 922 rhsSecureRandomAlgorithm = that.getSecureRandomAlgorithm(); 923 if (!strategy.equals(LocatorUtils.property(thisLocator, "secureRandomAlgorithm", lhsSecureRandomAlgorithm), LocatorUtils.property(thatLocator, "secureRandomAlgorithm", rhsSecureRandomAlgorithm), lhsSecureRandomAlgorithm, rhsSecureRandomAlgorithm)) { 924 return false; 925 } 926 } 927 { 928 String lhsTrustStore; 929 lhsTrustStore = this.getTrustStore(); 930 String rhsTrustStore; 931 rhsTrustStore = that.getTrustStore(); 932 if (!strategy.equals(LocatorUtils.property(thisLocator, "trustStore", lhsTrustStore), LocatorUtils.property(thatLocator, "trustStore", rhsTrustStore), lhsTrustStore, rhsTrustStore)) { 933 return false; 934 } 935 } 936 { 937 String lhsTrustStoreAlgorithm; 938 lhsTrustStoreAlgorithm = this.getTrustStoreAlgorithm(); 939 String rhsTrustStoreAlgorithm; 940 rhsTrustStoreAlgorithm = that.getTrustStoreAlgorithm(); 941 if (!strategy.equals(LocatorUtils.property(thisLocator, "trustStoreAlgorithm", lhsTrustStoreAlgorithm), LocatorUtils.property(thatLocator, "trustStoreAlgorithm", rhsTrustStoreAlgorithm), lhsTrustStoreAlgorithm, rhsTrustStoreAlgorithm)) { 942 return false; 943 } 944 } 945 { 946 String lhsTrustStorePassword; 947 lhsTrustStorePassword = this.getTrustStorePassword(); 948 String rhsTrustStorePassword; 949 rhsTrustStorePassword = that.getTrustStorePassword(); 950 if (!strategy.equals(LocatorUtils.property(thisLocator, "trustStorePassword", lhsTrustStorePassword), LocatorUtils.property(thatLocator, "trustStorePassword", rhsTrustStorePassword), lhsTrustStorePassword, rhsTrustStorePassword)) { 951 return false; 952 } 953 } 954 { 955 String lhsTrustStoreType; 956 lhsTrustStoreType = this.getTrustStoreType(); 957 String rhsTrustStoreType; 958 rhsTrustStoreType = that.getTrustStoreType(); 959 if (!strategy.equals(LocatorUtils.property(thisLocator, "trustStoreType", lhsTrustStoreType), LocatorUtils.property(thatLocator, "trustStoreType", rhsTrustStoreType), lhsTrustStoreType, rhsTrustStoreType)) { 960 return false; 961 } 962 } 963 { 964 String lhsId; 965 lhsId = this.getId(); 966 String rhsId; 967 rhsId = that.getId(); 968 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 969 return false; 970 } 971 } 972 return true; 973 } 974 975 public boolean equals(Object object) { 976 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 977 return equals(null, null, object, strategy); 978 } 979 980 981 /** 982 * <p>Java class for anonymous complex type. 983 * 984 * <p>The following schema fragment specifies the expected content contained within this class. 985 * 986 * <pre> 987 * <complexType> 988 * <complexContent> 989 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 990 * <sequence maxOccurs="unbounded" minOccurs="0"> 991 * <any maxOccurs="unbounded" minOccurs="0"/> 992 * </sequence> 993 * </restriction> 994 * </complexContent> 995 * </complexType> 996 * </pre> 997 * 998 * 999 */ 1000 @XmlAccessorType(XmlAccessType.FIELD) 1001 @XmlType(name = "", propOrder = { 1002 "any" 1003 }) 1004 public static class KeyManagers 1005 implements Equals, HashCode, ToString 1006 { 1007 1008 @XmlAnyElement(lax = true) 1009 protected List<Object> any; 1010 1011 /** 1012 * Gets the value of the any property. 1013 * 1014 * <p> 1015 * This accessor method returns a reference to the live list, 1016 * not a snapshot. Therefore any modification you make to the 1017 * returned list will be present inside the JAXB object. 1018 * This is why there is not a <CODE>set</CODE> method for the any property. 1019 * 1020 * <p> 1021 * For example, to add a new item, do as follows: 1022 * <pre> 1023 * getAny().add(newItem); 1024 * </pre> 1025 * 1026 * 1027 * <p> 1028 * Objects of the following type(s) are allowed in the list 1029 * {@link Object } 1030 * 1031 * 1032 */ 1033 public List<Object> getAny() { 1034 if (any == null) { 1035 any = new ArrayList<Object>(); 1036 } 1037 return this.any; 1038 } 1039 1040 public String toString() { 1041 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1042 final StringBuilder buffer = new StringBuilder(); 1043 append(null, buffer, strategy); 1044 return buffer.toString(); 1045 } 1046 1047 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1048 strategy.appendStart(locator, this, buffer); 1049 appendFields(locator, buffer, strategy); 1050 strategy.appendEnd(locator, this, buffer); 1051 return buffer; 1052 } 1053 1054 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1055 { 1056 List<Object> theAny; 1057 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1058 strategy.appendField(locator, this, "any", buffer, theAny); 1059 } 1060 return buffer; 1061 } 1062 1063 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1064 int currentHashCode = 1; 1065 { 1066 List<Object> theAny; 1067 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1068 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1069 } 1070 return currentHashCode; 1071 } 1072 1073 public int hashCode() { 1074 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1075 return this.hashCode(null, strategy); 1076 } 1077 1078 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1079 if (!(object instanceof DtoSslContext.KeyManagers)) { 1080 return false; 1081 } 1082 if (this == object) { 1083 return true; 1084 } 1085 final DtoSslContext.KeyManagers that = ((DtoSslContext.KeyManagers) object); 1086 { 1087 List<Object> lhsAny; 1088 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1089 List<Object> rhsAny; 1090 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1091 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1092 return false; 1093 } 1094 } 1095 return true; 1096 } 1097 1098 public boolean equals(Object object) { 1099 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1100 return equals(null, null, object, strategy); 1101 } 1102 1103 } 1104 1105 1106 /** 1107 * <p>Java class for anonymous complex type. 1108 * 1109 * <p>The following schema fragment specifies the expected content contained within this class. 1110 * 1111 * <pre> 1112 * <complexType> 1113 * <complexContent> 1114 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1115 * <sequence minOccurs="0"> 1116 * <any maxOccurs="unbounded" minOccurs="0"/> 1117 * </sequence> 1118 * </restriction> 1119 * </complexContent> 1120 * </complexType> 1121 * </pre> 1122 * 1123 * 1124 */ 1125 @XmlAccessorType(XmlAccessType.FIELD) 1126 @XmlType(name = "", propOrder = { 1127 "any" 1128 }) 1129 public static class SecureRandom 1130 implements Equals, HashCode, ToString 1131 { 1132 1133 @XmlAnyElement(lax = true) 1134 protected List<Object> any; 1135 1136 /** 1137 * Gets the value of the any property. 1138 * 1139 * <p> 1140 * This accessor method returns a reference to the live list, 1141 * not a snapshot. Therefore any modification you make to the 1142 * returned list will be present inside the JAXB object. 1143 * This is why there is not a <CODE>set</CODE> method for the any property. 1144 * 1145 * <p> 1146 * For example, to add a new item, do as follows: 1147 * <pre> 1148 * getAny().add(newItem); 1149 * </pre> 1150 * 1151 * 1152 * <p> 1153 * Objects of the following type(s) are allowed in the list 1154 * {@link Object } 1155 * 1156 * 1157 */ 1158 public List<Object> getAny() { 1159 if (any == null) { 1160 any = new ArrayList<Object>(); 1161 } 1162 return this.any; 1163 } 1164 1165 public String toString() { 1166 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1167 final StringBuilder buffer = new StringBuilder(); 1168 append(null, buffer, strategy); 1169 return buffer.toString(); 1170 } 1171 1172 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1173 strategy.appendStart(locator, this, buffer); 1174 appendFields(locator, buffer, strategy); 1175 strategy.appendEnd(locator, this, buffer); 1176 return buffer; 1177 } 1178 1179 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1180 { 1181 List<Object> theAny; 1182 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1183 strategy.appendField(locator, this, "any", buffer, theAny); 1184 } 1185 return buffer; 1186 } 1187 1188 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1189 int currentHashCode = 1; 1190 { 1191 List<Object> theAny; 1192 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1193 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1194 } 1195 return currentHashCode; 1196 } 1197 1198 public int hashCode() { 1199 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1200 return this.hashCode(null, strategy); 1201 } 1202 1203 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1204 if (!(object instanceof DtoSslContext.SecureRandom)) { 1205 return false; 1206 } 1207 if (this == object) { 1208 return true; 1209 } 1210 final DtoSslContext.SecureRandom that = ((DtoSslContext.SecureRandom) object); 1211 { 1212 List<Object> lhsAny; 1213 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1214 List<Object> rhsAny; 1215 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1216 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1217 return false; 1218 } 1219 } 1220 return true; 1221 } 1222 1223 public boolean equals(Object object) { 1224 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1225 return equals(null, null, object, strategy); 1226 } 1227 1228 } 1229 1230 1231 /** 1232 * <p>Java class for anonymous complex type. 1233 * 1234 * <p>The following schema fragment specifies the expected content contained within this class. 1235 * 1236 * <pre> 1237 * <complexType> 1238 * <complexContent> 1239 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1240 * <sequence minOccurs="0"> 1241 * <any maxOccurs="unbounded" minOccurs="0"/> 1242 * </sequence> 1243 * </restriction> 1244 * </complexContent> 1245 * </complexType> 1246 * </pre> 1247 * 1248 * 1249 */ 1250 @XmlAccessorType(XmlAccessType.FIELD) 1251 @XmlType(name = "", propOrder = { 1252 "any" 1253 }) 1254 public static class SSLContext 1255 implements Equals, HashCode, ToString 1256 { 1257 1258 @XmlAnyElement(lax = true) 1259 protected List<Object> any; 1260 1261 /** 1262 * Gets the value of the any property. 1263 * 1264 * <p> 1265 * This accessor method returns a reference to the live list, 1266 * not a snapshot. Therefore any modification you make to the 1267 * returned list will be present inside the JAXB object. 1268 * This is why there is not a <CODE>set</CODE> method for the any property. 1269 * 1270 * <p> 1271 * For example, to add a new item, do as follows: 1272 * <pre> 1273 * getAny().add(newItem); 1274 * </pre> 1275 * 1276 * 1277 * <p> 1278 * Objects of the following type(s) are allowed in the list 1279 * {@link Object } 1280 * 1281 * 1282 */ 1283 public List<Object> getAny() { 1284 if (any == null) { 1285 any = new ArrayList<Object>(); 1286 } 1287 return this.any; 1288 } 1289 1290 public String toString() { 1291 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1292 final StringBuilder buffer = new StringBuilder(); 1293 append(null, buffer, strategy); 1294 return buffer.toString(); 1295 } 1296 1297 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1298 strategy.appendStart(locator, this, buffer); 1299 appendFields(locator, buffer, strategy); 1300 strategy.appendEnd(locator, this, buffer); 1301 return buffer; 1302 } 1303 1304 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1305 { 1306 List<Object> theAny; 1307 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1308 strategy.appendField(locator, this, "any", buffer, theAny); 1309 } 1310 return buffer; 1311 } 1312 1313 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1314 int currentHashCode = 1; 1315 { 1316 List<Object> theAny; 1317 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1318 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1319 } 1320 return currentHashCode; 1321 } 1322 1323 public int hashCode() { 1324 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1325 return this.hashCode(null, strategy); 1326 } 1327 1328 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1329 if (!(object instanceof DtoSslContext.SSLContext)) { 1330 return false; 1331 } 1332 if (this == object) { 1333 return true; 1334 } 1335 final DtoSslContext.SSLContext that = ((DtoSslContext.SSLContext) object); 1336 { 1337 List<Object> lhsAny; 1338 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1339 List<Object> rhsAny; 1340 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1341 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1342 return false; 1343 } 1344 } 1345 return true; 1346 } 1347 1348 public boolean equals(Object object) { 1349 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1350 return equals(null, null, object, strategy); 1351 } 1352 1353 } 1354 1355 1356 /** 1357 * <p>Java class for anonymous complex type. 1358 * 1359 * <p>The following schema fragment specifies the expected content contained within this class. 1360 * 1361 * <pre> 1362 * <complexType> 1363 * <complexContent> 1364 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1365 * <sequence maxOccurs="unbounded" minOccurs="0"> 1366 * <any maxOccurs="unbounded" minOccurs="0"/> 1367 * </sequence> 1368 * </restriction> 1369 * </complexContent> 1370 * </complexType> 1371 * </pre> 1372 * 1373 * 1374 */ 1375 @XmlAccessorType(XmlAccessType.FIELD) 1376 @XmlType(name = "", propOrder = { 1377 "any" 1378 }) 1379 public static class TrustManagers 1380 implements Equals, HashCode, ToString 1381 { 1382 1383 @XmlAnyElement(lax = true) 1384 protected List<Object> any; 1385 1386 /** 1387 * Gets the value of the any property. 1388 * 1389 * <p> 1390 * This accessor method returns a reference to the live list, 1391 * not a snapshot. Therefore any modification you make to the 1392 * returned list will be present inside the JAXB object. 1393 * This is why there is not a <CODE>set</CODE> method for the any property. 1394 * 1395 * <p> 1396 * For example, to add a new item, do as follows: 1397 * <pre> 1398 * getAny().add(newItem); 1399 * </pre> 1400 * 1401 * 1402 * <p> 1403 * Objects of the following type(s) are allowed in the list 1404 * {@link Object } 1405 * 1406 * 1407 */ 1408 public List<Object> getAny() { 1409 if (any == null) { 1410 any = new ArrayList<Object>(); 1411 } 1412 return this.any; 1413 } 1414 1415 public String toString() { 1416 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1417 final StringBuilder buffer = new StringBuilder(); 1418 append(null, buffer, strategy); 1419 return buffer.toString(); 1420 } 1421 1422 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1423 strategy.appendStart(locator, this, buffer); 1424 appendFields(locator, buffer, strategy); 1425 strategy.appendEnd(locator, this, buffer); 1426 return buffer; 1427 } 1428 1429 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1430 { 1431 List<Object> theAny; 1432 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1433 strategy.appendField(locator, this, "any", buffer, theAny); 1434 } 1435 return buffer; 1436 } 1437 1438 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1439 int currentHashCode = 1; 1440 { 1441 List<Object> theAny; 1442 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1443 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1444 } 1445 return currentHashCode; 1446 } 1447 1448 public int hashCode() { 1449 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1450 return this.hashCode(null, strategy); 1451 } 1452 1453 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1454 if (!(object instanceof DtoSslContext.TrustManagers)) { 1455 return false; 1456 } 1457 if (this == object) { 1458 return true; 1459 } 1460 final DtoSslContext.TrustManagers that = ((DtoSslContext.TrustManagers) object); 1461 { 1462 List<Object> lhsAny; 1463 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1464 List<Object> rhsAny; 1465 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1466 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1467 return false; 1468 } 1469 } 1470 return true; 1471 } 1472 1473 public boolean equals(Object object) { 1474 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1475 return equals(null, null, object, strategy); 1476 } 1477 1478 } 1479 1480}