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