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