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.03.31 at 08:59:25 AM EDT 006// 007 008 009package org.apache.activemq.schema.core; 010 011import java.math.BigInteger; 012import java.util.ArrayList; 013import java.util.HashMap; 014import java.util.List; 015import java.util.Map; 016import javax.xml.bind.JAXBElement; 017import javax.xml.bind.annotation.XmlAccessType; 018import javax.xml.bind.annotation.XmlAccessorType; 019import javax.xml.bind.annotation.XmlAnyAttribute; 020import javax.xml.bind.annotation.XmlAnyElement; 021import javax.xml.bind.annotation.XmlAttribute; 022import javax.xml.bind.annotation.XmlElementRef; 023import javax.xml.bind.annotation.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="statements" minOccurs="0"> 054 * <complexType> 055 * <complexContent> 056 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 057 * <choice minOccurs="0"> 058 * <element ref="{http://activemq.apache.org/schema/core}statements"/> 059 * <any namespace='##other'/> 060 * </choice> 061 * </restriction> 062 * </complexContent> 063 * </complexType> 064 * </element> 065 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 066 * </choice> 067 * </choice> 068 * <attribute name="batchStatements" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 069 * <attribute name="batchStatments" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 070 * <attribute name="engineType" type="{http://www.w3.org/2001/XMLSchema}string" /> 071 * <attribute name="maxRows" type="{http://www.w3.org/2001/XMLSchema}integer" /> 072 * <attribute name="statements" type="{http://www.w3.org/2001/XMLSchema}string" /> 073 * <attribute name="typeStatement" type="{http://www.w3.org/2001/XMLSchema}string" /> 074 * <attribute name="useExternalMessageReferences" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 075 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 076 * <anyAttribute processContents='lax' namespace='##other'/> 077 * </restriction> 078 * </complexContent> 079 * </complexType> 080 * </pre> 081 * 082 * 083 */ 084@XmlAccessorType(XmlAccessType.FIELD) 085@XmlType(name = "", propOrder = { 086 "statementsOrAny" 087}) 088@XmlRootElement(name = "mysql-jdbc-adapter") 089public class DtoMysqlJdbcAdapter 090 implements Equals, HashCode, ToString 091{ 092 093 @XmlElementRef(name = "statements", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 094 @XmlAnyElement(lax = true) 095 protected List<Object> statementsOrAny; 096 @XmlAttribute(name = "batchStatements") 097 protected Boolean batchStatements; 098 @XmlAttribute(name = "batchStatments") 099 protected Boolean batchStatments; 100 @XmlAttribute(name = "engineType") 101 protected String engineType; 102 @XmlAttribute(name = "maxRows") 103 protected BigInteger maxRows; 104 @XmlAttribute(name = "statements") 105 protected String statements; 106 @XmlAttribute(name = "typeStatement") 107 protected String typeStatement; 108 @XmlAttribute(name = "useExternalMessageReferences") 109 protected Boolean useExternalMessageReferences; 110 @XmlAttribute(name = "id") 111 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 112 @XmlID 113 @XmlSchemaType(name = "ID") 114 protected String id; 115 @XmlAnyAttribute 116 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 117 118 /** 119 * Gets the value of the statementsOrAny property. 120 * 121 * <p> 122 * This accessor method returns a reference to the live list, 123 * not a snapshot. Therefore any modification you make to the 124 * returned list will be present inside the JAXB object. 125 * This is why there is not a <CODE>set</CODE> method for the statementsOrAny property. 126 * 127 * <p> 128 * For example, to add a new item, do as follows: 129 * <pre> 130 * getStatementsOrAny().add(newItem); 131 * </pre> 132 * 133 * 134 * <p> 135 * Objects of the following type(s) are allowed in the list 136 * {@link Object } 137 * {@link JAXBElement }{@code <}{@link DtoMysqlJdbcAdapter.Statements }{@code >} 138 * 139 * 140 */ 141 public List<Object> getStatementsOrAny() { 142 if (statementsOrAny == null) { 143 statementsOrAny = new ArrayList<Object>(); 144 } 145 return this.statementsOrAny; 146 } 147 148 /** 149 * Gets the value of the batchStatements property. 150 * 151 * @return 152 * possible object is 153 * {@link Boolean } 154 * 155 */ 156 public Boolean isBatchStatements() { 157 return batchStatements; 158 } 159 160 /** 161 * Sets the value of the batchStatements property. 162 * 163 * @param value 164 * allowed object is 165 * {@link Boolean } 166 * 167 */ 168 public void setBatchStatements(Boolean value) { 169 this.batchStatements = value; 170 } 171 172 /** 173 * Gets the value of the batchStatments property. 174 * 175 * @return 176 * possible object is 177 * {@link Boolean } 178 * 179 */ 180 public Boolean isBatchStatments() { 181 return batchStatments; 182 } 183 184 /** 185 * Sets the value of the batchStatments property. 186 * 187 * @param value 188 * allowed object is 189 * {@link Boolean } 190 * 191 */ 192 public void setBatchStatments(Boolean value) { 193 this.batchStatments = value; 194 } 195 196 /** 197 * Gets the value of the engineType property. 198 * 199 * @return 200 * possible object is 201 * {@link String } 202 * 203 */ 204 public String getEngineType() { 205 return engineType; 206 } 207 208 /** 209 * Sets the value of the engineType property. 210 * 211 * @param value 212 * allowed object is 213 * {@link String } 214 * 215 */ 216 public void setEngineType(String value) { 217 this.engineType = value; 218 } 219 220 /** 221 * Gets the value of the maxRows property. 222 * 223 * @return 224 * possible object is 225 * {@link BigInteger } 226 * 227 */ 228 public BigInteger getMaxRows() { 229 return maxRows; 230 } 231 232 /** 233 * Sets the value of the maxRows property. 234 * 235 * @param value 236 * allowed object is 237 * {@link BigInteger } 238 * 239 */ 240 public void setMaxRows(BigInteger value) { 241 this.maxRows = value; 242 } 243 244 /** 245 * Gets the value of the statements property. 246 * 247 * @return 248 * possible object is 249 * {@link String } 250 * 251 */ 252 public String getStatements() { 253 return statements; 254 } 255 256 /** 257 * Sets the value of the statements property. 258 * 259 * @param value 260 * allowed object is 261 * {@link String } 262 * 263 */ 264 public void setStatements(String value) { 265 this.statements = value; 266 } 267 268 /** 269 * Gets the value of the typeStatement property. 270 * 271 * @return 272 * possible object is 273 * {@link String } 274 * 275 */ 276 public String getTypeStatement() { 277 return typeStatement; 278 } 279 280 /** 281 * Sets the value of the typeStatement property. 282 * 283 * @param value 284 * allowed object is 285 * {@link String } 286 * 287 */ 288 public void setTypeStatement(String value) { 289 this.typeStatement = value; 290 } 291 292 /** 293 * Gets the value of the useExternalMessageReferences property. 294 * 295 * @return 296 * possible object is 297 * {@link Boolean } 298 * 299 */ 300 public Boolean isUseExternalMessageReferences() { 301 return useExternalMessageReferences; 302 } 303 304 /** 305 * Sets the value of the useExternalMessageReferences property. 306 * 307 * @param value 308 * allowed object is 309 * {@link Boolean } 310 * 311 */ 312 public void setUseExternalMessageReferences(Boolean value) { 313 this.useExternalMessageReferences = value; 314 } 315 316 /** 317 * Gets the value of the id property. 318 * 319 * @return 320 * possible object is 321 * {@link String } 322 * 323 */ 324 public String getId() { 325 return id; 326 } 327 328 /** 329 * Sets the value of the id property. 330 * 331 * @param value 332 * allowed object is 333 * {@link String } 334 * 335 */ 336 public void setId(String value) { 337 this.id = value; 338 } 339 340 /** 341 * Gets a map that contains attributes that aren't bound to any typed property on this class. 342 * 343 * <p> 344 * the map is keyed by the name of the attribute and 345 * the value is the string value of the attribute. 346 * 347 * the map returned by this method is live, and you can add new attribute 348 * by updating the map directly. Because of this design, there's no setter. 349 * 350 * 351 * @return 352 * always non-null 353 */ 354 public Map<QName, String> getOtherAttributes() { 355 return otherAttributes; 356 } 357 358 public String toString() { 359 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 360 final StringBuilder buffer = new StringBuilder(); 361 append(null, buffer, strategy); 362 return buffer.toString(); 363 } 364 365 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 366 strategy.appendStart(locator, this, buffer); 367 appendFields(locator, buffer, strategy); 368 strategy.appendEnd(locator, this, buffer); 369 return buffer; 370 } 371 372 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 373 { 374 List<Object> theStatementsOrAny; 375 theStatementsOrAny = (((this.statementsOrAny!= null)&&(!this.statementsOrAny.isEmpty()))?this.getStatementsOrAny():null); 376 strategy.appendField(locator, this, "statementsOrAny", buffer, theStatementsOrAny); 377 } 378 { 379 Boolean theBatchStatements; 380 theBatchStatements = this.isBatchStatements(); 381 strategy.appendField(locator, this, "batchStatements", buffer, theBatchStatements); 382 } 383 { 384 Boolean theBatchStatments; 385 theBatchStatments = this.isBatchStatments(); 386 strategy.appendField(locator, this, "batchStatments", buffer, theBatchStatments); 387 } 388 { 389 String theEngineType; 390 theEngineType = this.getEngineType(); 391 strategy.appendField(locator, this, "engineType", buffer, theEngineType); 392 } 393 { 394 BigInteger theMaxRows; 395 theMaxRows = this.getMaxRows(); 396 strategy.appendField(locator, this, "maxRows", buffer, theMaxRows); 397 } 398 { 399 String theStatements; 400 theStatements = this.getStatements(); 401 strategy.appendField(locator, this, "statements", buffer, theStatements); 402 } 403 { 404 String theTypeStatement; 405 theTypeStatement = this.getTypeStatement(); 406 strategy.appendField(locator, this, "typeStatement", buffer, theTypeStatement); 407 } 408 { 409 Boolean theUseExternalMessageReferences; 410 theUseExternalMessageReferences = this.isUseExternalMessageReferences(); 411 strategy.appendField(locator, this, "useExternalMessageReferences", buffer, theUseExternalMessageReferences); 412 } 413 { 414 String theId; 415 theId = this.getId(); 416 strategy.appendField(locator, this, "id", buffer, theId); 417 } 418 return buffer; 419 } 420 421 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 422 int currentHashCode = 1; 423 { 424 List<Object> theStatementsOrAny; 425 theStatementsOrAny = (((this.statementsOrAny!= null)&&(!this.statementsOrAny.isEmpty()))?this.getStatementsOrAny():null); 426 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statementsOrAny", theStatementsOrAny), currentHashCode, theStatementsOrAny); 427 } 428 { 429 Boolean theBatchStatements; 430 theBatchStatements = this.isBatchStatements(); 431 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "batchStatements", theBatchStatements), currentHashCode, theBatchStatements); 432 } 433 { 434 Boolean theBatchStatments; 435 theBatchStatments = this.isBatchStatments(); 436 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "batchStatments", theBatchStatments), currentHashCode, theBatchStatments); 437 } 438 { 439 String theEngineType; 440 theEngineType = this.getEngineType(); 441 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "engineType", theEngineType), currentHashCode, theEngineType); 442 } 443 { 444 BigInteger theMaxRows; 445 theMaxRows = this.getMaxRows(); 446 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxRows", theMaxRows), currentHashCode, theMaxRows); 447 } 448 { 449 String theStatements; 450 theStatements = this.getStatements(); 451 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statements", theStatements), currentHashCode, theStatements); 452 } 453 { 454 String theTypeStatement; 455 theTypeStatement = this.getTypeStatement(); 456 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "typeStatement", theTypeStatement), currentHashCode, theTypeStatement); 457 } 458 { 459 Boolean theUseExternalMessageReferences; 460 theUseExternalMessageReferences = this.isUseExternalMessageReferences(); 461 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useExternalMessageReferences", theUseExternalMessageReferences), currentHashCode, theUseExternalMessageReferences); 462 } 463 { 464 String theId; 465 theId = this.getId(); 466 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 467 } 468 return currentHashCode; 469 } 470 471 public int hashCode() { 472 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 473 return this.hashCode(null, strategy); 474 } 475 476 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 477 if (!(object instanceof DtoMysqlJdbcAdapter)) { 478 return false; 479 } 480 if (this == object) { 481 return true; 482 } 483 final DtoMysqlJdbcAdapter that = ((DtoMysqlJdbcAdapter) object); 484 { 485 List<Object> lhsStatementsOrAny; 486 lhsStatementsOrAny = (((this.statementsOrAny!= null)&&(!this.statementsOrAny.isEmpty()))?this.getStatementsOrAny():null); 487 List<Object> rhsStatementsOrAny; 488 rhsStatementsOrAny = (((that.statementsOrAny!= null)&&(!that.statementsOrAny.isEmpty()))?that.getStatementsOrAny():null); 489 if (!strategy.equals(LocatorUtils.property(thisLocator, "statementsOrAny", lhsStatementsOrAny), LocatorUtils.property(thatLocator, "statementsOrAny", rhsStatementsOrAny), lhsStatementsOrAny, rhsStatementsOrAny)) { 490 return false; 491 } 492 } 493 { 494 Boolean lhsBatchStatements; 495 lhsBatchStatements = this.isBatchStatements(); 496 Boolean rhsBatchStatements; 497 rhsBatchStatements = that.isBatchStatements(); 498 if (!strategy.equals(LocatorUtils.property(thisLocator, "batchStatements", lhsBatchStatements), LocatorUtils.property(thatLocator, "batchStatements", rhsBatchStatements), lhsBatchStatements, rhsBatchStatements)) { 499 return false; 500 } 501 } 502 { 503 Boolean lhsBatchStatments; 504 lhsBatchStatments = this.isBatchStatments(); 505 Boolean rhsBatchStatments; 506 rhsBatchStatments = that.isBatchStatments(); 507 if (!strategy.equals(LocatorUtils.property(thisLocator, "batchStatments", lhsBatchStatments), LocatorUtils.property(thatLocator, "batchStatments", rhsBatchStatments), lhsBatchStatments, rhsBatchStatments)) { 508 return false; 509 } 510 } 511 { 512 String lhsEngineType; 513 lhsEngineType = this.getEngineType(); 514 String rhsEngineType; 515 rhsEngineType = that.getEngineType(); 516 if (!strategy.equals(LocatorUtils.property(thisLocator, "engineType", lhsEngineType), LocatorUtils.property(thatLocator, "engineType", rhsEngineType), lhsEngineType, rhsEngineType)) { 517 return false; 518 } 519 } 520 { 521 BigInteger lhsMaxRows; 522 lhsMaxRows = this.getMaxRows(); 523 BigInteger rhsMaxRows; 524 rhsMaxRows = that.getMaxRows(); 525 if (!strategy.equals(LocatorUtils.property(thisLocator, "maxRows", lhsMaxRows), LocatorUtils.property(thatLocator, "maxRows", rhsMaxRows), lhsMaxRows, rhsMaxRows)) { 526 return false; 527 } 528 } 529 { 530 String lhsStatements; 531 lhsStatements = this.getStatements(); 532 String rhsStatements; 533 rhsStatements = that.getStatements(); 534 if (!strategy.equals(LocatorUtils.property(thisLocator, "statements", lhsStatements), LocatorUtils.property(thatLocator, "statements", rhsStatements), lhsStatements, rhsStatements)) { 535 return false; 536 } 537 } 538 { 539 String lhsTypeStatement; 540 lhsTypeStatement = this.getTypeStatement(); 541 String rhsTypeStatement; 542 rhsTypeStatement = that.getTypeStatement(); 543 if (!strategy.equals(LocatorUtils.property(thisLocator, "typeStatement", lhsTypeStatement), LocatorUtils.property(thatLocator, "typeStatement", rhsTypeStatement), lhsTypeStatement, rhsTypeStatement)) { 544 return false; 545 } 546 } 547 { 548 Boolean lhsUseExternalMessageReferences; 549 lhsUseExternalMessageReferences = this.isUseExternalMessageReferences(); 550 Boolean rhsUseExternalMessageReferences; 551 rhsUseExternalMessageReferences = that.isUseExternalMessageReferences(); 552 if (!strategy.equals(LocatorUtils.property(thisLocator, "useExternalMessageReferences", lhsUseExternalMessageReferences), LocatorUtils.property(thatLocator, "useExternalMessageReferences", rhsUseExternalMessageReferences), lhsUseExternalMessageReferences, rhsUseExternalMessageReferences)) { 553 return false; 554 } 555 } 556 { 557 String lhsId; 558 lhsId = this.getId(); 559 String rhsId; 560 rhsId = that.getId(); 561 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 562 return false; 563 } 564 } 565 return true; 566 } 567 568 public boolean equals(Object object) { 569 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 570 return equals(null, null, object, strategy); 571 } 572 573 574 /** 575 * <p>Java class for anonymous complex type. 576 * 577 * <p>The following schema fragment specifies the expected content contained within this class. 578 * 579 * <pre> 580 * <complexType> 581 * <complexContent> 582 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 583 * <choice minOccurs="0"> 584 * <element ref="{http://activemq.apache.org/schema/core}statements"/> 585 * <any namespace='##other'/> 586 * </choice> 587 * </restriction> 588 * </complexContent> 589 * </complexType> 590 * </pre> 591 * 592 * 593 */ 594 @XmlAccessorType(XmlAccessType.FIELD) 595 @XmlType(name = "", propOrder = { 596 "statements", 597 "any" 598 }) 599 public static class Statements 600 implements Equals, HashCode, ToString 601 { 602 603 protected DtoStatements statements; 604 @XmlAnyElement(lax = true) 605 protected Object any; 606 607 /** 608 * Gets the value of the statements property. 609 * 610 * @return 611 * possible object is 612 * {@link DtoStatements } 613 * 614 */ 615 public DtoStatements getStatements() { 616 return statements; 617 } 618 619 /** 620 * Sets the value of the statements property. 621 * 622 * @param value 623 * allowed object is 624 * {@link DtoStatements } 625 * 626 */ 627 public void setStatements(DtoStatements value) { 628 this.statements = value; 629 } 630 631 /** 632 * Gets the value of the any property. 633 * 634 * @return 635 * possible object is 636 * {@link Object } 637 * 638 */ 639 public Object getAny() { 640 return any; 641 } 642 643 /** 644 * Sets the value of the any property. 645 * 646 * @param value 647 * allowed object is 648 * {@link Object } 649 * 650 */ 651 public void setAny(Object value) { 652 this.any = value; 653 } 654 655 public String toString() { 656 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 657 final StringBuilder buffer = new StringBuilder(); 658 append(null, buffer, strategy); 659 return buffer.toString(); 660 } 661 662 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 663 strategy.appendStart(locator, this, buffer); 664 appendFields(locator, buffer, strategy); 665 strategy.appendEnd(locator, this, buffer); 666 return buffer; 667 } 668 669 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 670 { 671 DtoStatements theStatements; 672 theStatements = this.getStatements(); 673 strategy.appendField(locator, this, "statements", buffer, theStatements); 674 } 675 { 676 Object theAny; 677 theAny = this.getAny(); 678 strategy.appendField(locator, this, "any", buffer, theAny); 679 } 680 return buffer; 681 } 682 683 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 684 int currentHashCode = 1; 685 { 686 DtoStatements theStatements; 687 theStatements = this.getStatements(); 688 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statements", theStatements), currentHashCode, theStatements); 689 } 690 { 691 Object theAny; 692 theAny = this.getAny(); 693 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 694 } 695 return currentHashCode; 696 } 697 698 public int hashCode() { 699 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 700 return this.hashCode(null, strategy); 701 } 702 703 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 704 if (!(object instanceof DtoMysqlJdbcAdapter.Statements)) { 705 return false; 706 } 707 if (this == object) { 708 return true; 709 } 710 final DtoMysqlJdbcAdapter.Statements that = ((DtoMysqlJdbcAdapter.Statements) object); 711 { 712 DtoStatements lhsStatements; 713 lhsStatements = this.getStatements(); 714 DtoStatements rhsStatements; 715 rhsStatements = that.getStatements(); 716 if (!strategy.equals(LocatorUtils.property(thisLocator, "statements", lhsStatements), LocatorUtils.property(thatLocator, "statements", rhsStatements), lhsStatements, rhsStatements)) { 717 return false; 718 } 719 } 720 { 721 Object lhsAny; 722 lhsAny = this.getAny(); 723 Object rhsAny; 724 rhsAny = that.getAny(); 725 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 726 return false; 727 } 728 } 729 return true; 730 } 731 732 public boolean equals(Object object) { 733 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 734 return equals(null, null, object, strategy); 735 } 736 737 } 738 739}