001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2019.03.15 at 09:00:08 AM EDT 006// 007 008 009package org.apache.activemq.schema.core; 010 011import java.math.BigInteger; 012import java.util.ArrayList; 013import java.util.HashMap; 014import java.util.List; 015import java.util.Map; 016import javax.xml.bind.JAXBElement; 017import javax.xml.bind.annotation.XmlAccessType; 018import javax.xml.bind.annotation.XmlAccessorType; 019import javax.xml.bind.annotation.XmlAnyAttribute; 020import javax.xml.bind.annotation.XmlAnyElement; 021import javax.xml.bind.annotation.XmlAttribute; 022import javax.xml.bind.annotation.XmlElementRef; 023import javax.xml.bind.annotation.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="journal" minOccurs="0"> 068 * <complexType> 069 * <complexContent> 070 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 071 * <sequence minOccurs="0"> 072 * <any maxOccurs="unbounded" minOccurs="0"/> 073 * </sequence> 074 * </restriction> 075 * </complexContent> 076 * </complexType> 077 * </element> 078 * <element name="longTermPersistence" 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}jdbcPersistenceAdapter"/> 084 * <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/> 085 * <element ref="{http://activemq.apache.org/schema/core}kahaDB"/> 086 * <element ref="{http://activemq.apache.org/schema/core}levelDB"/> 087 * <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/> 088 * <element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/> 089 * <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> 090 * <any namespace='##other'/> 091 * </choice> 092 * </restriction> 093 * </complexContent> 094 * </complexType> 095 * </element> 096 * <element name="persistenceAdapter" minOccurs="0"> 097 * <complexType> 098 * <complexContent> 099 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 100 * <choice minOccurs="0"> 101 * <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/> 102 * <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/> 103 * <element ref="{http://activemq.apache.org/schema/core}kahaDB"/> 104 * <element ref="{http://activemq.apache.org/schema/core}levelDB"/> 105 * <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/> 106 * <element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/> 107 * <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> 108 * <any namespace='##other'/> 109 * </choice> 110 * </restriction> 111 * </complexContent> 112 * </complexType> 113 * </element> 114 * <element name="taskRunnerFactory" minOccurs="0"> 115 * <complexType> 116 * <complexContent> 117 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 118 * <choice minOccurs="0"> 119 * <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/> 120 * <any namespace='##other'/> 121 * </choice> 122 * </restriction> 123 * </complexContent> 124 * </complexType> 125 * </element> 126 * <element name="usageManager" minOccurs="0"> 127 * <complexType> 128 * <complexContent> 129 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 130 * <choice minOccurs="0"> 131 * <element ref="{http://activemq.apache.org/schema/core}systemUsage"/> 132 * <any namespace='##other'/> 133 * </choice> 134 * </restriction> 135 * </complexContent> 136 * </complexType> 137 * </element> 138 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 139 * </choice> 140 * </choice> 141 * <attribute name="brokerName" type="{http://www.w3.org/2001/XMLSchema}string" /> 142 * <attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" /> 143 * <attribute name="checkpointInterval" type="{http://www.w3.org/2001/XMLSchema}long" /> 144 * <attribute name="directory" type="{http://www.w3.org/2001/XMLSchema}string" /> 145 * <attribute name="journal" type="{http://www.w3.org/2001/XMLSchema}string" /> 146 * <attribute name="longTermPersistence" type="{http://www.w3.org/2001/XMLSchema}string" /> 147 * <attribute name="maxCheckpointMessageAddSize" type="{http://www.w3.org/2001/XMLSchema}integer" /> 148 * <attribute name="maxCheckpointWorkers" type="{http://www.w3.org/2001/XMLSchema}integer" /> 149 * <attribute name="persistenceAdapter" type="{http://www.w3.org/2001/XMLSchema}string" /> 150 * <attribute name="taskRunnerFactory" type="{http://www.w3.org/2001/XMLSchema}string" /> 151 * <attribute name="usageManager" type="{http://www.w3.org/2001/XMLSchema}string" /> 152 * <attribute name="useExternalMessageReferences" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 153 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 154 * <anyAttribute processContents='lax' namespace='##other'/> 155 * </restriction> 156 * </complexContent> 157 * </complexType> 158 * </pre> 159 * 160 * 161 */ 162@XmlAccessorType(XmlAccessType.FIELD) 163@XmlType(name = "", propOrder = { 164 "brokerServiceOrJournalOrLongTermPersistence" 165}) 166@XmlRootElement(name = "journalPersistenceAdapter") 167public class DtoJournalPersistenceAdapter 168 implements Equals, HashCode, ToString 169{ 170 171 @XmlElementRefs({ 172 @XmlElementRef(name = "journal", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 173 @XmlElementRef(name = "persistenceAdapter", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 174 @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 175 @XmlElementRef(name = "longTermPersistence", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 176 @XmlElementRef(name = "taskRunnerFactory", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 177 @XmlElementRef(name = "usageManager", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 178 }) 179 @XmlAnyElement(lax = true) 180 protected List<Object> brokerServiceOrJournalOrLongTermPersistence; 181 @XmlAttribute(name = "brokerName") 182 protected String brokerName; 183 @XmlAttribute(name = "brokerService") 184 protected String brokerService; 185 @XmlAttribute(name = "checkpointInterval") 186 protected Long checkpointInterval; 187 @XmlAttribute(name = "directory") 188 protected String directory; 189 @XmlAttribute(name = "journal") 190 protected String journal; 191 @XmlAttribute(name = "longTermPersistence") 192 protected String longTermPersistence; 193 @XmlAttribute(name = "maxCheckpointMessageAddSize") 194 protected BigInteger maxCheckpointMessageAddSize; 195 @XmlAttribute(name = "maxCheckpointWorkers") 196 protected BigInteger maxCheckpointWorkers; 197 @XmlAttribute(name = "persistenceAdapter") 198 protected String persistenceAdapter; 199 @XmlAttribute(name = "taskRunnerFactory") 200 protected String taskRunnerFactory; 201 @XmlAttribute(name = "usageManager") 202 protected String usageManager; 203 @XmlAttribute(name = "useExternalMessageReferences") 204 protected Boolean useExternalMessageReferences; 205 @XmlAttribute(name = "id") 206 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 207 @XmlID 208 @XmlSchemaType(name = "ID") 209 protected String id; 210 @XmlAnyAttribute 211 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 212 213 /** 214 * Gets the value of the brokerServiceOrJournalOrLongTermPersistence property. 215 * 216 * <p> 217 * This accessor method returns a reference to the live list, 218 * not a snapshot. Therefore any modification you make to the 219 * returned list will be present inside the JAXB object. 220 * This is why there is not a <CODE>set</CODE> method for the brokerServiceOrJournalOrLongTermPersistence property. 221 * 222 * <p> 223 * For example, to add a new item, do as follows: 224 * <pre> 225 * getBrokerServiceOrJournalOrLongTermPersistence().add(newItem); 226 * </pre> 227 * 228 * 229 * <p> 230 * Objects of the following type(s) are allowed in the list 231 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.Journal }{@code >} 232 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.PersistenceAdapter }{@code >} 233 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.BrokerService }{@code >} 234 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.LongTermPersistence }{@code >} 235 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.TaskRunnerFactory }{@code >} 236 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.UsageManager }{@code >} 237 * {@link Object } 238 * 239 * 240 */ 241 public List<Object> getBrokerServiceOrJournalOrLongTermPersistence() { 242 if (brokerServiceOrJournalOrLongTermPersistence == null) { 243 brokerServiceOrJournalOrLongTermPersistence = new ArrayList<Object>(); 244 } 245 return this.brokerServiceOrJournalOrLongTermPersistence; 246 } 247 248 /** 249 * Gets the value of the brokerName property. 250 * 251 * @return 252 * possible object is 253 * {@link String } 254 * 255 */ 256 public String getBrokerName() { 257 return brokerName; 258 } 259 260 /** 261 * Sets the value of the brokerName property. 262 * 263 * @param value 264 * allowed object is 265 * {@link String } 266 * 267 */ 268 public void setBrokerName(String value) { 269 this.brokerName = value; 270 } 271 272 /** 273 * Gets the value of the brokerService property. 274 * 275 * @return 276 * possible object is 277 * {@link String } 278 * 279 */ 280 public String getBrokerService() { 281 return brokerService; 282 } 283 284 /** 285 * Sets the value of the brokerService property. 286 * 287 * @param value 288 * allowed object is 289 * {@link String } 290 * 291 */ 292 public void setBrokerService(String value) { 293 this.brokerService = value; 294 } 295 296 /** 297 * Gets the value of the checkpointInterval property. 298 * 299 * @return 300 * possible object is 301 * {@link Long } 302 * 303 */ 304 public Long getCheckpointInterval() { 305 return checkpointInterval; 306 } 307 308 /** 309 * Sets the value of the checkpointInterval property. 310 * 311 * @param value 312 * allowed object is 313 * {@link Long } 314 * 315 */ 316 public void setCheckpointInterval(Long value) { 317 this.checkpointInterval = value; 318 } 319 320 /** 321 * Gets the value of the directory property. 322 * 323 * @return 324 * possible object is 325 * {@link String } 326 * 327 */ 328 public String getDirectory() { 329 return directory; 330 } 331 332 /** 333 * Sets the value of the directory property. 334 * 335 * @param value 336 * allowed object is 337 * {@link String } 338 * 339 */ 340 public void setDirectory(String value) { 341 this.directory = value; 342 } 343 344 /** 345 * Gets the value of the journal property. 346 * 347 * @return 348 * possible object is 349 * {@link String } 350 * 351 */ 352 public String getJournal() { 353 return journal; 354 } 355 356 /** 357 * Sets the value of the journal property. 358 * 359 * @param value 360 * allowed object is 361 * {@link String } 362 * 363 */ 364 public void setJournal(String value) { 365 this.journal = value; 366 } 367 368 /** 369 * Gets the value of the longTermPersistence property. 370 * 371 * @return 372 * possible object is 373 * {@link String } 374 * 375 */ 376 public String getLongTermPersistence() { 377 return longTermPersistence; 378 } 379 380 /** 381 * Sets the value of the longTermPersistence property. 382 * 383 * @param value 384 * allowed object is 385 * {@link String } 386 * 387 */ 388 public void setLongTermPersistence(String value) { 389 this.longTermPersistence = value; 390 } 391 392 /** 393 * Gets the value of the maxCheckpointMessageAddSize property. 394 * 395 * @return 396 * possible object is 397 * {@link BigInteger } 398 * 399 */ 400 public BigInteger getMaxCheckpointMessageAddSize() { 401 return maxCheckpointMessageAddSize; 402 } 403 404 /** 405 * Sets the value of the maxCheckpointMessageAddSize property. 406 * 407 * @param value 408 * allowed object is 409 * {@link BigInteger } 410 * 411 */ 412 public void setMaxCheckpointMessageAddSize(BigInteger value) { 413 this.maxCheckpointMessageAddSize = value; 414 } 415 416 /** 417 * Gets the value of the maxCheckpointWorkers property. 418 * 419 * @return 420 * possible object is 421 * {@link BigInteger } 422 * 423 */ 424 public BigInteger getMaxCheckpointWorkers() { 425 return maxCheckpointWorkers; 426 } 427 428 /** 429 * Sets the value of the maxCheckpointWorkers property. 430 * 431 * @param value 432 * allowed object is 433 * {@link BigInteger } 434 * 435 */ 436 public void setMaxCheckpointWorkers(BigInteger value) { 437 this.maxCheckpointWorkers = value; 438 } 439 440 /** 441 * Gets the value of the persistenceAdapter property. 442 * 443 * @return 444 * possible object is 445 * {@link String } 446 * 447 */ 448 public String getPersistenceAdapter() { 449 return persistenceAdapter; 450 } 451 452 /** 453 * Sets the value of the persistenceAdapter property. 454 * 455 * @param value 456 * allowed object is 457 * {@link String } 458 * 459 */ 460 public void setPersistenceAdapter(String value) { 461 this.persistenceAdapter = value; 462 } 463 464 /** 465 * Gets the value of the taskRunnerFactory property. 466 * 467 * @return 468 * possible object is 469 * {@link String } 470 * 471 */ 472 public String getTaskRunnerFactory() { 473 return taskRunnerFactory; 474 } 475 476 /** 477 * Sets the value of the taskRunnerFactory property. 478 * 479 * @param value 480 * allowed object is 481 * {@link String } 482 * 483 */ 484 public void setTaskRunnerFactory(String value) { 485 this.taskRunnerFactory = value; 486 } 487 488 /** 489 * Gets the value of the usageManager property. 490 * 491 * @return 492 * possible object is 493 * {@link String } 494 * 495 */ 496 public String getUsageManager() { 497 return usageManager; 498 } 499 500 /** 501 * Sets the value of the usageManager property. 502 * 503 * @param value 504 * allowed object is 505 * {@link String } 506 * 507 */ 508 public void setUsageManager(String value) { 509 this.usageManager = value; 510 } 511 512 /** 513 * Gets the value of the useExternalMessageReferences property. 514 * 515 * @return 516 * possible object is 517 * {@link Boolean } 518 * 519 */ 520 public Boolean isUseExternalMessageReferences() { 521 return useExternalMessageReferences; 522 } 523 524 /** 525 * Sets the value of the useExternalMessageReferences property. 526 * 527 * @param value 528 * allowed object is 529 * {@link Boolean } 530 * 531 */ 532 public void setUseExternalMessageReferences(Boolean value) { 533 this.useExternalMessageReferences = value; 534 } 535 536 /** 537 * Gets the value of the id property. 538 * 539 * @return 540 * possible object is 541 * {@link String } 542 * 543 */ 544 public String getId() { 545 return id; 546 } 547 548 /** 549 * Sets the value of the id property. 550 * 551 * @param value 552 * allowed object is 553 * {@link String } 554 * 555 */ 556 public void setId(String value) { 557 this.id = value; 558 } 559 560 /** 561 * Gets a map that contains attributes that aren't bound to any typed property on this class. 562 * 563 * <p> 564 * the map is keyed by the name of the attribute and 565 * the value is the string value of the attribute. 566 * 567 * the map returned by this method is live, and you can add new attribute 568 * by updating the map directly. Because of this design, there's no setter. 569 * 570 * 571 * @return 572 * always non-null 573 */ 574 public Map<QName, String> getOtherAttributes() { 575 return otherAttributes; 576 } 577 578 public String toString() { 579 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 580 final StringBuilder buffer = new StringBuilder(); 581 append(null, buffer, strategy); 582 return buffer.toString(); 583 } 584 585 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 586 strategy.appendStart(locator, this, buffer); 587 appendFields(locator, buffer, strategy); 588 strategy.appendEnd(locator, this, buffer); 589 return buffer; 590 } 591 592 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 593 { 594 List<Object> theBrokerServiceOrJournalOrLongTermPersistence; 595 theBrokerServiceOrJournalOrLongTermPersistence = (((this.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!this.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?this.getBrokerServiceOrJournalOrLongTermPersistence():null); 596 strategy.appendField(locator, this, "brokerServiceOrJournalOrLongTermPersistence", buffer, theBrokerServiceOrJournalOrLongTermPersistence); 597 } 598 { 599 String theBrokerName; 600 theBrokerName = this.getBrokerName(); 601 strategy.appendField(locator, this, "brokerName", buffer, theBrokerName); 602 } 603 { 604 String theBrokerService; 605 theBrokerService = this.getBrokerService(); 606 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 607 } 608 { 609 Long theCheckpointInterval; 610 theCheckpointInterval = this.getCheckpointInterval(); 611 strategy.appendField(locator, this, "checkpointInterval", buffer, theCheckpointInterval); 612 } 613 { 614 String theDirectory; 615 theDirectory = this.getDirectory(); 616 strategy.appendField(locator, this, "directory", buffer, theDirectory); 617 } 618 { 619 String theJournal; 620 theJournal = this.getJournal(); 621 strategy.appendField(locator, this, "journal", buffer, theJournal); 622 } 623 { 624 String theLongTermPersistence; 625 theLongTermPersistence = this.getLongTermPersistence(); 626 strategy.appendField(locator, this, "longTermPersistence", buffer, theLongTermPersistence); 627 } 628 { 629 BigInteger theMaxCheckpointMessageAddSize; 630 theMaxCheckpointMessageAddSize = this.getMaxCheckpointMessageAddSize(); 631 strategy.appendField(locator, this, "maxCheckpointMessageAddSize", buffer, theMaxCheckpointMessageAddSize); 632 } 633 { 634 BigInteger theMaxCheckpointWorkers; 635 theMaxCheckpointWorkers = this.getMaxCheckpointWorkers(); 636 strategy.appendField(locator, this, "maxCheckpointWorkers", buffer, theMaxCheckpointWorkers); 637 } 638 { 639 String thePersistenceAdapter; 640 thePersistenceAdapter = this.getPersistenceAdapter(); 641 strategy.appendField(locator, this, "persistenceAdapter", buffer, thePersistenceAdapter); 642 } 643 { 644 String theTaskRunnerFactory; 645 theTaskRunnerFactory = this.getTaskRunnerFactory(); 646 strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory); 647 } 648 { 649 String theUsageManager; 650 theUsageManager = this.getUsageManager(); 651 strategy.appendField(locator, this, "usageManager", buffer, theUsageManager); 652 } 653 { 654 Boolean theUseExternalMessageReferences; 655 theUseExternalMessageReferences = this.isUseExternalMessageReferences(); 656 strategy.appendField(locator, this, "useExternalMessageReferences", buffer, theUseExternalMessageReferences); 657 } 658 { 659 String theId; 660 theId = this.getId(); 661 strategy.appendField(locator, this, "id", buffer, theId); 662 } 663 return buffer; 664 } 665 666 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 667 int currentHashCode = 1; 668 { 669 List<Object> theBrokerServiceOrJournalOrLongTermPersistence; 670 theBrokerServiceOrJournalOrLongTermPersistence = (((this.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!this.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?this.getBrokerServiceOrJournalOrLongTermPersistence():null); 671 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerServiceOrJournalOrLongTermPersistence", theBrokerServiceOrJournalOrLongTermPersistence), currentHashCode, theBrokerServiceOrJournalOrLongTermPersistence); 672 } 673 { 674 String theBrokerName; 675 theBrokerName = this.getBrokerName(); 676 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerName", theBrokerName), currentHashCode, theBrokerName); 677 } 678 { 679 String theBrokerService; 680 theBrokerService = this.getBrokerService(); 681 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 682 } 683 { 684 Long theCheckpointInterval; 685 theCheckpointInterval = this.getCheckpointInterval(); 686 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "checkpointInterval", theCheckpointInterval), currentHashCode, theCheckpointInterval); 687 } 688 { 689 String theDirectory; 690 theDirectory = this.getDirectory(); 691 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "directory", theDirectory), currentHashCode, theDirectory); 692 } 693 { 694 String theJournal; 695 theJournal = this.getJournal(); 696 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journal", theJournal), currentHashCode, theJournal); 697 } 698 { 699 String theLongTermPersistence; 700 theLongTermPersistence = this.getLongTermPersistence(); 701 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "longTermPersistence", theLongTermPersistence), currentHashCode, theLongTermPersistence); 702 } 703 { 704 BigInteger theMaxCheckpointMessageAddSize; 705 theMaxCheckpointMessageAddSize = this.getMaxCheckpointMessageAddSize(); 706 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxCheckpointMessageAddSize", theMaxCheckpointMessageAddSize), currentHashCode, theMaxCheckpointMessageAddSize); 707 } 708 { 709 BigInteger theMaxCheckpointWorkers; 710 theMaxCheckpointWorkers = this.getMaxCheckpointWorkers(); 711 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxCheckpointWorkers", theMaxCheckpointWorkers), currentHashCode, theMaxCheckpointWorkers); 712 } 713 { 714 String thePersistenceAdapter; 715 thePersistenceAdapter = this.getPersistenceAdapter(); 716 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "persistenceAdapter", thePersistenceAdapter), currentHashCode, thePersistenceAdapter); 717 } 718 { 719 String theTaskRunnerFactory; 720 theTaskRunnerFactory = this.getTaskRunnerFactory(); 721 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory); 722 } 723 { 724 String theUsageManager; 725 theUsageManager = this.getUsageManager(); 726 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usageManager", theUsageManager), currentHashCode, theUsageManager); 727 } 728 { 729 Boolean theUseExternalMessageReferences; 730 theUseExternalMessageReferences = this.isUseExternalMessageReferences(); 731 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useExternalMessageReferences", theUseExternalMessageReferences), currentHashCode, theUseExternalMessageReferences); 732 } 733 { 734 String theId; 735 theId = this.getId(); 736 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 737 } 738 return currentHashCode; 739 } 740 741 public int hashCode() { 742 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 743 return this.hashCode(null, strategy); 744 } 745 746 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 747 if (!(object instanceof DtoJournalPersistenceAdapter)) { 748 return false; 749 } 750 if (this == object) { 751 return true; 752 } 753 final DtoJournalPersistenceAdapter that = ((DtoJournalPersistenceAdapter) object); 754 { 755 List<Object> lhsBrokerServiceOrJournalOrLongTermPersistence; 756 lhsBrokerServiceOrJournalOrLongTermPersistence = (((this.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!this.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?this.getBrokerServiceOrJournalOrLongTermPersistence():null); 757 List<Object> rhsBrokerServiceOrJournalOrLongTermPersistence; 758 rhsBrokerServiceOrJournalOrLongTermPersistence = (((that.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!that.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?that.getBrokerServiceOrJournalOrLongTermPersistence():null); 759 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerServiceOrJournalOrLongTermPersistence", lhsBrokerServiceOrJournalOrLongTermPersistence), LocatorUtils.property(thatLocator, "brokerServiceOrJournalOrLongTermPersistence", rhsBrokerServiceOrJournalOrLongTermPersistence), lhsBrokerServiceOrJournalOrLongTermPersistence, rhsBrokerServiceOrJournalOrLongTermPersistence)) { 760 return false; 761 } 762 } 763 { 764 String lhsBrokerName; 765 lhsBrokerName = this.getBrokerName(); 766 String rhsBrokerName; 767 rhsBrokerName = that.getBrokerName(); 768 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerName", lhsBrokerName), LocatorUtils.property(thatLocator, "brokerName", rhsBrokerName), lhsBrokerName, rhsBrokerName)) { 769 return false; 770 } 771 } 772 { 773 String lhsBrokerService; 774 lhsBrokerService = this.getBrokerService(); 775 String rhsBrokerService; 776 rhsBrokerService = that.getBrokerService(); 777 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 778 return false; 779 } 780 } 781 { 782 Long lhsCheckpointInterval; 783 lhsCheckpointInterval = this.getCheckpointInterval(); 784 Long rhsCheckpointInterval; 785 rhsCheckpointInterval = that.getCheckpointInterval(); 786 if (!strategy.equals(LocatorUtils.property(thisLocator, "checkpointInterval", lhsCheckpointInterval), LocatorUtils.property(thatLocator, "checkpointInterval", rhsCheckpointInterval), lhsCheckpointInterval, rhsCheckpointInterval)) { 787 return false; 788 } 789 } 790 { 791 String lhsDirectory; 792 lhsDirectory = this.getDirectory(); 793 String rhsDirectory; 794 rhsDirectory = that.getDirectory(); 795 if (!strategy.equals(LocatorUtils.property(thisLocator, "directory", lhsDirectory), LocatorUtils.property(thatLocator, "directory", rhsDirectory), lhsDirectory, rhsDirectory)) { 796 return false; 797 } 798 } 799 { 800 String lhsJournal; 801 lhsJournal = this.getJournal(); 802 String rhsJournal; 803 rhsJournal = that.getJournal(); 804 if (!strategy.equals(LocatorUtils.property(thisLocator, "journal", lhsJournal), LocatorUtils.property(thatLocator, "journal", rhsJournal), lhsJournal, rhsJournal)) { 805 return false; 806 } 807 } 808 { 809 String lhsLongTermPersistence; 810 lhsLongTermPersistence = this.getLongTermPersistence(); 811 String rhsLongTermPersistence; 812 rhsLongTermPersistence = that.getLongTermPersistence(); 813 if (!strategy.equals(LocatorUtils.property(thisLocator, "longTermPersistence", lhsLongTermPersistence), LocatorUtils.property(thatLocator, "longTermPersistence", rhsLongTermPersistence), lhsLongTermPersistence, rhsLongTermPersistence)) { 814 return false; 815 } 816 } 817 { 818 BigInteger lhsMaxCheckpointMessageAddSize; 819 lhsMaxCheckpointMessageAddSize = this.getMaxCheckpointMessageAddSize(); 820 BigInteger rhsMaxCheckpointMessageAddSize; 821 rhsMaxCheckpointMessageAddSize = that.getMaxCheckpointMessageAddSize(); 822 if (!strategy.equals(LocatorUtils.property(thisLocator, "maxCheckpointMessageAddSize", lhsMaxCheckpointMessageAddSize), LocatorUtils.property(thatLocator, "maxCheckpointMessageAddSize", rhsMaxCheckpointMessageAddSize), lhsMaxCheckpointMessageAddSize, rhsMaxCheckpointMessageAddSize)) { 823 return false; 824 } 825 } 826 { 827 BigInteger lhsMaxCheckpointWorkers; 828 lhsMaxCheckpointWorkers = this.getMaxCheckpointWorkers(); 829 BigInteger rhsMaxCheckpointWorkers; 830 rhsMaxCheckpointWorkers = that.getMaxCheckpointWorkers(); 831 if (!strategy.equals(LocatorUtils.property(thisLocator, "maxCheckpointWorkers", lhsMaxCheckpointWorkers), LocatorUtils.property(thatLocator, "maxCheckpointWorkers", rhsMaxCheckpointWorkers), lhsMaxCheckpointWorkers, rhsMaxCheckpointWorkers)) { 832 return false; 833 } 834 } 835 { 836 String lhsPersistenceAdapter; 837 lhsPersistenceAdapter = this.getPersistenceAdapter(); 838 String rhsPersistenceAdapter; 839 rhsPersistenceAdapter = that.getPersistenceAdapter(); 840 if (!strategy.equals(LocatorUtils.property(thisLocator, "persistenceAdapter", lhsPersistenceAdapter), LocatorUtils.property(thatLocator, "persistenceAdapter", rhsPersistenceAdapter), lhsPersistenceAdapter, rhsPersistenceAdapter)) { 841 return false; 842 } 843 } 844 { 845 String lhsTaskRunnerFactory; 846 lhsTaskRunnerFactory = this.getTaskRunnerFactory(); 847 String rhsTaskRunnerFactory; 848 rhsTaskRunnerFactory = that.getTaskRunnerFactory(); 849 if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) { 850 return false; 851 } 852 } 853 { 854 String lhsUsageManager; 855 lhsUsageManager = this.getUsageManager(); 856 String rhsUsageManager; 857 rhsUsageManager = that.getUsageManager(); 858 if (!strategy.equals(LocatorUtils.property(thisLocator, "usageManager", lhsUsageManager), LocatorUtils.property(thatLocator, "usageManager", rhsUsageManager), lhsUsageManager, rhsUsageManager)) { 859 return false; 860 } 861 } 862 { 863 Boolean lhsUseExternalMessageReferences; 864 lhsUseExternalMessageReferences = this.isUseExternalMessageReferences(); 865 Boolean rhsUseExternalMessageReferences; 866 rhsUseExternalMessageReferences = that.isUseExternalMessageReferences(); 867 if (!strategy.equals(LocatorUtils.property(thisLocator, "useExternalMessageReferences", lhsUseExternalMessageReferences), LocatorUtils.property(thatLocator, "useExternalMessageReferences", rhsUseExternalMessageReferences), lhsUseExternalMessageReferences, rhsUseExternalMessageReferences)) { 868 return false; 869 } 870 } 871 { 872 String lhsId; 873 lhsId = this.getId(); 874 String rhsId; 875 rhsId = that.getId(); 876 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 877 return false; 878 } 879 } 880 return true; 881 } 882 883 public boolean equals(Object object) { 884 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 885 return equals(null, null, object, strategy); 886 } 887 888 889 /** 890 * <p>Java class for anonymous complex type. 891 * 892 * <p>The following schema fragment specifies the expected content contained within this class. 893 * 894 * <pre> 895 * <complexType> 896 * <complexContent> 897 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 898 * <choice minOccurs="0"> 899 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 900 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 901 * <any namespace='##other'/> 902 * </choice> 903 * </restriction> 904 * </complexContent> 905 * </complexType> 906 * </pre> 907 * 908 * 909 */ 910 @XmlAccessorType(XmlAccessType.FIELD) 911 @XmlType(name = "", propOrder = { 912 "broker", 913 "brokerService", 914 "any" 915 }) 916 public static class BrokerService 917 implements Equals, HashCode, ToString 918 { 919 920 protected DtoBroker broker; 921 protected DtoBrokerService brokerService; 922 @XmlAnyElement(lax = true) 923 protected Object any; 924 925 /** 926 * Gets the value of the broker property. 927 * 928 * @return 929 * possible object is 930 * {@link DtoBroker } 931 * 932 */ 933 public DtoBroker getBroker() { 934 return broker; 935 } 936 937 /** 938 * Sets the value of the broker property. 939 * 940 * @param value 941 * allowed object is 942 * {@link DtoBroker } 943 * 944 */ 945 public void setBroker(DtoBroker value) { 946 this.broker = value; 947 } 948 949 /** 950 * Gets the value of the brokerService property. 951 * 952 * @return 953 * possible object is 954 * {@link DtoBrokerService } 955 * 956 */ 957 public DtoBrokerService getBrokerService() { 958 return brokerService; 959 } 960 961 /** 962 * Sets the value of the brokerService property. 963 * 964 * @param value 965 * allowed object is 966 * {@link DtoBrokerService } 967 * 968 */ 969 public void setBrokerService(DtoBrokerService value) { 970 this.brokerService = value; 971 } 972 973 /** 974 * Gets the value of the any property. 975 * 976 * @return 977 * possible object is 978 * {@link Object } 979 * 980 */ 981 public Object getAny() { 982 return any; 983 } 984 985 /** 986 * Sets the value of the any property. 987 * 988 * @param value 989 * allowed object is 990 * {@link Object } 991 * 992 */ 993 public void setAny(Object value) { 994 this.any = value; 995 } 996 997 public String toString() { 998 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 999 final StringBuilder buffer = new StringBuilder(); 1000 append(null, buffer, strategy); 1001 return buffer.toString(); 1002 } 1003 1004 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1005 strategy.appendStart(locator, this, buffer); 1006 appendFields(locator, buffer, strategy); 1007 strategy.appendEnd(locator, this, buffer); 1008 return buffer; 1009 } 1010 1011 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1012 { 1013 DtoBroker theBroker; 1014 theBroker = this.getBroker(); 1015 strategy.appendField(locator, this, "broker", buffer, theBroker); 1016 } 1017 { 1018 DtoBrokerService theBrokerService; 1019 theBrokerService = this.getBrokerService(); 1020 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 1021 } 1022 { 1023 Object theAny; 1024 theAny = this.getAny(); 1025 strategy.appendField(locator, this, "any", buffer, theAny); 1026 } 1027 return buffer; 1028 } 1029 1030 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1031 int currentHashCode = 1; 1032 { 1033 DtoBroker theBroker; 1034 theBroker = this.getBroker(); 1035 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker); 1036 } 1037 { 1038 DtoBrokerService theBrokerService; 1039 theBrokerService = this.getBrokerService(); 1040 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 1041 } 1042 { 1043 Object theAny; 1044 theAny = this.getAny(); 1045 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1046 } 1047 return currentHashCode; 1048 } 1049 1050 public int hashCode() { 1051 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1052 return this.hashCode(null, strategy); 1053 } 1054 1055 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1056 if (!(object instanceof DtoJournalPersistenceAdapter.BrokerService)) { 1057 return false; 1058 } 1059 if (this == object) { 1060 return true; 1061 } 1062 final DtoJournalPersistenceAdapter.BrokerService that = ((DtoJournalPersistenceAdapter.BrokerService) object); 1063 { 1064 DtoBroker lhsBroker; 1065 lhsBroker = this.getBroker(); 1066 DtoBroker rhsBroker; 1067 rhsBroker = that.getBroker(); 1068 if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) { 1069 return false; 1070 } 1071 } 1072 { 1073 DtoBrokerService lhsBrokerService; 1074 lhsBrokerService = this.getBrokerService(); 1075 DtoBrokerService rhsBrokerService; 1076 rhsBrokerService = that.getBrokerService(); 1077 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 1078 return false; 1079 } 1080 } 1081 { 1082 Object lhsAny; 1083 lhsAny = this.getAny(); 1084 Object rhsAny; 1085 rhsAny = that.getAny(); 1086 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1087 return false; 1088 } 1089 } 1090 return true; 1091 } 1092 1093 public boolean equals(Object object) { 1094 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1095 return equals(null, null, object, strategy); 1096 } 1097 1098 } 1099 1100 1101 /** 1102 * <p>Java class for anonymous complex type. 1103 * 1104 * <p>The following schema fragment specifies the expected content contained within this class. 1105 * 1106 * <pre> 1107 * <complexType> 1108 * <complexContent> 1109 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1110 * <sequence minOccurs="0"> 1111 * <any maxOccurs="unbounded" minOccurs="0"/> 1112 * </sequence> 1113 * </restriction> 1114 * </complexContent> 1115 * </complexType> 1116 * </pre> 1117 * 1118 * 1119 */ 1120 @XmlAccessorType(XmlAccessType.FIELD) 1121 @XmlType(name = "", propOrder = { 1122 "any" 1123 }) 1124 public static class Journal 1125 implements Equals, HashCode, ToString 1126 { 1127 1128 @XmlAnyElement(lax = true) 1129 protected List<Object> any; 1130 1131 /** 1132 * Gets the value of the any property. 1133 * 1134 * <p> 1135 * This accessor method returns a reference to the live list, 1136 * not a snapshot. Therefore any modification you make to the 1137 * returned list will be present inside the JAXB object. 1138 * This is why there is not a <CODE>set</CODE> method for the any property. 1139 * 1140 * <p> 1141 * For example, to add a new item, do as follows: 1142 * <pre> 1143 * getAny().add(newItem); 1144 * </pre> 1145 * 1146 * 1147 * <p> 1148 * Objects of the following type(s) are allowed in the list 1149 * {@link Object } 1150 * 1151 * 1152 */ 1153 public List<Object> getAny() { 1154 if (any == null) { 1155 any = new ArrayList<Object>(); 1156 } 1157 return this.any; 1158 } 1159 1160 public String toString() { 1161 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1162 final StringBuilder buffer = new StringBuilder(); 1163 append(null, buffer, strategy); 1164 return buffer.toString(); 1165 } 1166 1167 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1168 strategy.appendStart(locator, this, buffer); 1169 appendFields(locator, buffer, strategy); 1170 strategy.appendEnd(locator, this, buffer); 1171 return buffer; 1172 } 1173 1174 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1175 { 1176 List<Object> theAny; 1177 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1178 strategy.appendField(locator, this, "any", buffer, theAny); 1179 } 1180 return buffer; 1181 } 1182 1183 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1184 int currentHashCode = 1; 1185 { 1186 List<Object> theAny; 1187 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1188 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1189 } 1190 return currentHashCode; 1191 } 1192 1193 public int hashCode() { 1194 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1195 return this.hashCode(null, strategy); 1196 } 1197 1198 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1199 if (!(object instanceof DtoJournalPersistenceAdapter.Journal)) { 1200 return false; 1201 } 1202 if (this == object) { 1203 return true; 1204 } 1205 final DtoJournalPersistenceAdapter.Journal that = ((DtoJournalPersistenceAdapter.Journal) object); 1206 { 1207 List<Object> lhsAny; 1208 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1209 List<Object> rhsAny; 1210 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1211 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1212 return false; 1213 } 1214 } 1215 return true; 1216 } 1217 1218 public boolean equals(Object object) { 1219 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1220 return equals(null, null, object, strategy); 1221 } 1222 1223 } 1224 1225 1226 /** 1227 * <p>Java class for anonymous complex type. 1228 * 1229 * <p>The following schema fragment specifies the expected content contained within this class. 1230 * 1231 * <pre> 1232 * <complexType> 1233 * <complexContent> 1234 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1235 * <choice minOccurs="0"> 1236 * <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/> 1237 * <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/> 1238 * <element ref="{http://activemq.apache.org/schema/core}kahaDB"/> 1239 * <element ref="{http://activemq.apache.org/schema/core}levelDB"/> 1240 * <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/> 1241 * <element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/> 1242 * <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> 1243 * <any namespace='##other'/> 1244 * </choice> 1245 * </restriction> 1246 * </complexContent> 1247 * </complexType> 1248 * </pre> 1249 * 1250 * 1251 */ 1252 @XmlAccessorType(XmlAccessType.FIELD) 1253 @XmlType(name = "", propOrder = { 1254 "jdbcPersistenceAdapter", 1255 "journalPersistenceAdapter", 1256 "kahaDB", 1257 "levelDB", 1258 "mKahaDB", 1259 "memoryPersistenceAdapter", 1260 "replicatedLevelDB", 1261 "any" 1262 }) 1263 public static class LongTermPersistence 1264 implements Equals, HashCode, ToString 1265 { 1266 1267 protected DtoJdbcPersistenceAdapter jdbcPersistenceAdapter; 1268 protected DtoJournalPersistenceAdapter journalPersistenceAdapter; 1269 protected DtoKahaDB kahaDB; 1270 protected DtoLevelDB levelDB; 1271 protected DtoMKahaDB mKahaDB; 1272 protected DtoMemoryPersistenceAdapter memoryPersistenceAdapter; 1273 protected DtoReplicatedLevelDB replicatedLevelDB; 1274 @XmlAnyElement(lax = true) 1275 protected Object any; 1276 1277 /** 1278 * Gets the value of the jdbcPersistenceAdapter property. 1279 * 1280 * @return 1281 * possible object is 1282 * {@link DtoJdbcPersistenceAdapter } 1283 * 1284 */ 1285 public DtoJdbcPersistenceAdapter getJdbcPersistenceAdapter() { 1286 return jdbcPersistenceAdapter; 1287 } 1288 1289 /** 1290 * Sets the value of the jdbcPersistenceAdapter property. 1291 * 1292 * @param value 1293 * allowed object is 1294 * {@link DtoJdbcPersistenceAdapter } 1295 * 1296 */ 1297 public void setJdbcPersistenceAdapter(DtoJdbcPersistenceAdapter value) { 1298 this.jdbcPersistenceAdapter = value; 1299 } 1300 1301 /** 1302 * Gets the value of the journalPersistenceAdapter property. 1303 * 1304 * @return 1305 * possible object is 1306 * {@link DtoJournalPersistenceAdapter } 1307 * 1308 */ 1309 public DtoJournalPersistenceAdapter getJournalPersistenceAdapter() { 1310 return journalPersistenceAdapter; 1311 } 1312 1313 /** 1314 * Sets the value of the journalPersistenceAdapter property. 1315 * 1316 * @param value 1317 * allowed object is 1318 * {@link DtoJournalPersistenceAdapter } 1319 * 1320 */ 1321 public void setJournalPersistenceAdapter(DtoJournalPersistenceAdapter value) { 1322 this.journalPersistenceAdapter = value; 1323 } 1324 1325 /** 1326 * Gets the value of the kahaDB property. 1327 * 1328 * @return 1329 * possible object is 1330 * {@link DtoKahaDB } 1331 * 1332 */ 1333 public DtoKahaDB getKahaDB() { 1334 return kahaDB; 1335 } 1336 1337 /** 1338 * Sets the value of the kahaDB property. 1339 * 1340 * @param value 1341 * allowed object is 1342 * {@link DtoKahaDB } 1343 * 1344 */ 1345 public void setKahaDB(DtoKahaDB value) { 1346 this.kahaDB = value; 1347 } 1348 1349 /** 1350 * Gets the value of the levelDB property. 1351 * 1352 * @return 1353 * possible object is 1354 * {@link DtoLevelDB } 1355 * 1356 */ 1357 public DtoLevelDB getLevelDB() { 1358 return levelDB; 1359 } 1360 1361 /** 1362 * Sets the value of the levelDB property. 1363 * 1364 * @param value 1365 * allowed object is 1366 * {@link DtoLevelDB } 1367 * 1368 */ 1369 public void setLevelDB(DtoLevelDB value) { 1370 this.levelDB = value; 1371 } 1372 1373 /** 1374 * Gets the value of the mKahaDB property. 1375 * 1376 * @return 1377 * possible object is 1378 * {@link DtoMKahaDB } 1379 * 1380 */ 1381 public DtoMKahaDB getMKahaDB() { 1382 return mKahaDB; 1383 } 1384 1385 /** 1386 * Sets the value of the mKahaDB property. 1387 * 1388 * @param value 1389 * allowed object is 1390 * {@link DtoMKahaDB } 1391 * 1392 */ 1393 public void setMKahaDB(DtoMKahaDB value) { 1394 this.mKahaDB = value; 1395 } 1396 1397 /** 1398 * Gets the value of the memoryPersistenceAdapter property. 1399 * 1400 * @return 1401 * possible object is 1402 * {@link DtoMemoryPersistenceAdapter } 1403 * 1404 */ 1405 public DtoMemoryPersistenceAdapter getMemoryPersistenceAdapter() { 1406 return memoryPersistenceAdapter; 1407 } 1408 1409 /** 1410 * Sets the value of the memoryPersistenceAdapter property. 1411 * 1412 * @param value 1413 * allowed object is 1414 * {@link DtoMemoryPersistenceAdapter } 1415 * 1416 */ 1417 public void setMemoryPersistenceAdapter(DtoMemoryPersistenceAdapter value) { 1418 this.memoryPersistenceAdapter = value; 1419 } 1420 1421 /** 1422 * Gets the value of the replicatedLevelDB property. 1423 * 1424 * @return 1425 * possible object is 1426 * {@link DtoReplicatedLevelDB } 1427 * 1428 */ 1429 public DtoReplicatedLevelDB getReplicatedLevelDB() { 1430 return replicatedLevelDB; 1431 } 1432 1433 /** 1434 * Sets the value of the replicatedLevelDB property. 1435 * 1436 * @param value 1437 * allowed object is 1438 * {@link DtoReplicatedLevelDB } 1439 * 1440 */ 1441 public void setReplicatedLevelDB(DtoReplicatedLevelDB value) { 1442 this.replicatedLevelDB = value; 1443 } 1444 1445 /** 1446 * Gets the value of the any property. 1447 * 1448 * @return 1449 * possible object is 1450 * {@link Object } 1451 * 1452 */ 1453 public Object getAny() { 1454 return any; 1455 } 1456 1457 /** 1458 * Sets the value of the any property. 1459 * 1460 * @param value 1461 * allowed object is 1462 * {@link Object } 1463 * 1464 */ 1465 public void setAny(Object value) { 1466 this.any = value; 1467 } 1468 1469 public String toString() { 1470 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1471 final StringBuilder buffer = new StringBuilder(); 1472 append(null, buffer, strategy); 1473 return buffer.toString(); 1474 } 1475 1476 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1477 strategy.appendStart(locator, this, buffer); 1478 appendFields(locator, buffer, strategy); 1479 strategy.appendEnd(locator, this, buffer); 1480 return buffer; 1481 } 1482 1483 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1484 { 1485 DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter; 1486 theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 1487 strategy.appendField(locator, this, "jdbcPersistenceAdapter", buffer, theJdbcPersistenceAdapter); 1488 } 1489 { 1490 DtoJournalPersistenceAdapter theJournalPersistenceAdapter; 1491 theJournalPersistenceAdapter = this.getJournalPersistenceAdapter(); 1492 strategy.appendField(locator, this, "journalPersistenceAdapter", buffer, theJournalPersistenceAdapter); 1493 } 1494 { 1495 DtoKahaDB theKahaDB; 1496 theKahaDB = this.getKahaDB(); 1497 strategy.appendField(locator, this, "kahaDB", buffer, theKahaDB); 1498 } 1499 { 1500 DtoLevelDB theLevelDB; 1501 theLevelDB = this.getLevelDB(); 1502 strategy.appendField(locator, this, "levelDB", buffer, theLevelDB); 1503 } 1504 { 1505 DtoMKahaDB theMKahaDB; 1506 theMKahaDB = this.getMKahaDB(); 1507 strategy.appendField(locator, this, "mKahaDB", buffer, theMKahaDB); 1508 } 1509 { 1510 DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter; 1511 theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter(); 1512 strategy.appendField(locator, this, "memoryPersistenceAdapter", buffer, theMemoryPersistenceAdapter); 1513 } 1514 { 1515 DtoReplicatedLevelDB theReplicatedLevelDB; 1516 theReplicatedLevelDB = this.getReplicatedLevelDB(); 1517 strategy.appendField(locator, this, "replicatedLevelDB", buffer, theReplicatedLevelDB); 1518 } 1519 { 1520 Object theAny; 1521 theAny = this.getAny(); 1522 strategy.appendField(locator, this, "any", buffer, theAny); 1523 } 1524 return buffer; 1525 } 1526 1527 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1528 int currentHashCode = 1; 1529 { 1530 DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter; 1531 theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 1532 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jdbcPersistenceAdapter", theJdbcPersistenceAdapter), currentHashCode, theJdbcPersistenceAdapter); 1533 } 1534 { 1535 DtoJournalPersistenceAdapter theJournalPersistenceAdapter; 1536 theJournalPersistenceAdapter = this.getJournalPersistenceAdapter(); 1537 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalPersistenceAdapter", theJournalPersistenceAdapter), currentHashCode, theJournalPersistenceAdapter); 1538 } 1539 { 1540 DtoKahaDB theKahaDB; 1541 theKahaDB = this.getKahaDB(); 1542 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "kahaDB", theKahaDB), currentHashCode, theKahaDB); 1543 } 1544 { 1545 DtoLevelDB theLevelDB; 1546 theLevelDB = this.getLevelDB(); 1547 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "levelDB", theLevelDB), currentHashCode, theLevelDB); 1548 } 1549 { 1550 DtoMKahaDB theMKahaDB; 1551 theMKahaDB = this.getMKahaDB(); 1552 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mKahaDB", theMKahaDB), currentHashCode, theMKahaDB); 1553 } 1554 { 1555 DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter; 1556 theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter(); 1557 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "memoryPersistenceAdapter", theMemoryPersistenceAdapter), currentHashCode, theMemoryPersistenceAdapter); 1558 } 1559 { 1560 DtoReplicatedLevelDB theReplicatedLevelDB; 1561 theReplicatedLevelDB = this.getReplicatedLevelDB(); 1562 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "replicatedLevelDB", theReplicatedLevelDB), currentHashCode, theReplicatedLevelDB); 1563 } 1564 { 1565 Object theAny; 1566 theAny = this.getAny(); 1567 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1568 } 1569 return currentHashCode; 1570 } 1571 1572 public int hashCode() { 1573 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1574 return this.hashCode(null, strategy); 1575 } 1576 1577 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1578 if (!(object instanceof DtoJournalPersistenceAdapter.LongTermPersistence)) { 1579 return false; 1580 } 1581 if (this == object) { 1582 return true; 1583 } 1584 final DtoJournalPersistenceAdapter.LongTermPersistence that = ((DtoJournalPersistenceAdapter.LongTermPersistence) object); 1585 { 1586 DtoJdbcPersistenceAdapter lhsJdbcPersistenceAdapter; 1587 lhsJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 1588 DtoJdbcPersistenceAdapter rhsJdbcPersistenceAdapter; 1589 rhsJdbcPersistenceAdapter = that.getJdbcPersistenceAdapter(); 1590 if (!strategy.equals(LocatorUtils.property(thisLocator, "jdbcPersistenceAdapter", lhsJdbcPersistenceAdapter), LocatorUtils.property(thatLocator, "jdbcPersistenceAdapter", rhsJdbcPersistenceAdapter), lhsJdbcPersistenceAdapter, rhsJdbcPersistenceAdapter)) { 1591 return false; 1592 } 1593 } 1594 { 1595 DtoJournalPersistenceAdapter lhsJournalPersistenceAdapter; 1596 lhsJournalPersistenceAdapter = this.getJournalPersistenceAdapter(); 1597 DtoJournalPersistenceAdapter rhsJournalPersistenceAdapter; 1598 rhsJournalPersistenceAdapter = that.getJournalPersistenceAdapter(); 1599 if (!strategy.equals(LocatorUtils.property(thisLocator, "journalPersistenceAdapter", lhsJournalPersistenceAdapter), LocatorUtils.property(thatLocator, "journalPersistenceAdapter", rhsJournalPersistenceAdapter), lhsJournalPersistenceAdapter, rhsJournalPersistenceAdapter)) { 1600 return false; 1601 } 1602 } 1603 { 1604 DtoKahaDB lhsKahaDB; 1605 lhsKahaDB = this.getKahaDB(); 1606 DtoKahaDB rhsKahaDB; 1607 rhsKahaDB = that.getKahaDB(); 1608 if (!strategy.equals(LocatorUtils.property(thisLocator, "kahaDB", lhsKahaDB), LocatorUtils.property(thatLocator, "kahaDB", rhsKahaDB), lhsKahaDB, rhsKahaDB)) { 1609 return false; 1610 } 1611 } 1612 { 1613 DtoLevelDB lhsLevelDB; 1614 lhsLevelDB = this.getLevelDB(); 1615 DtoLevelDB rhsLevelDB; 1616 rhsLevelDB = that.getLevelDB(); 1617 if (!strategy.equals(LocatorUtils.property(thisLocator, "levelDB", lhsLevelDB), LocatorUtils.property(thatLocator, "levelDB", rhsLevelDB), lhsLevelDB, rhsLevelDB)) { 1618 return false; 1619 } 1620 } 1621 { 1622 DtoMKahaDB lhsMKahaDB; 1623 lhsMKahaDB = this.getMKahaDB(); 1624 DtoMKahaDB rhsMKahaDB; 1625 rhsMKahaDB = that.getMKahaDB(); 1626 if (!strategy.equals(LocatorUtils.property(thisLocator, "mKahaDB", lhsMKahaDB), LocatorUtils.property(thatLocator, "mKahaDB", rhsMKahaDB), lhsMKahaDB, rhsMKahaDB)) { 1627 return false; 1628 } 1629 } 1630 { 1631 DtoMemoryPersistenceAdapter lhsMemoryPersistenceAdapter; 1632 lhsMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter(); 1633 DtoMemoryPersistenceAdapter rhsMemoryPersistenceAdapter; 1634 rhsMemoryPersistenceAdapter = that.getMemoryPersistenceAdapter(); 1635 if (!strategy.equals(LocatorUtils.property(thisLocator, "memoryPersistenceAdapter", lhsMemoryPersistenceAdapter), LocatorUtils.property(thatLocator, "memoryPersistenceAdapter", rhsMemoryPersistenceAdapter), lhsMemoryPersistenceAdapter, rhsMemoryPersistenceAdapter)) { 1636 return false; 1637 } 1638 } 1639 { 1640 DtoReplicatedLevelDB lhsReplicatedLevelDB; 1641 lhsReplicatedLevelDB = this.getReplicatedLevelDB(); 1642 DtoReplicatedLevelDB rhsReplicatedLevelDB; 1643 rhsReplicatedLevelDB = that.getReplicatedLevelDB(); 1644 if (!strategy.equals(LocatorUtils.property(thisLocator, "replicatedLevelDB", lhsReplicatedLevelDB), LocatorUtils.property(thatLocator, "replicatedLevelDB", rhsReplicatedLevelDB), lhsReplicatedLevelDB, rhsReplicatedLevelDB)) { 1645 return false; 1646 } 1647 } 1648 { 1649 Object lhsAny; 1650 lhsAny = this.getAny(); 1651 Object rhsAny; 1652 rhsAny = that.getAny(); 1653 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1654 return false; 1655 } 1656 } 1657 return true; 1658 } 1659 1660 public boolean equals(Object object) { 1661 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1662 return equals(null, null, object, strategy); 1663 } 1664 1665 } 1666 1667 1668 /** 1669 * <p>Java class for anonymous complex type. 1670 * 1671 * <p>The following schema fragment specifies the expected content contained within this class. 1672 * 1673 * <pre> 1674 * <complexType> 1675 * <complexContent> 1676 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1677 * <choice minOccurs="0"> 1678 * <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/> 1679 * <element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/> 1680 * <element ref="{http://activemq.apache.org/schema/core}kahaDB"/> 1681 * <element ref="{http://activemq.apache.org/schema/core}levelDB"/> 1682 * <element ref="{http://activemq.apache.org/schema/core}mKahaDB"/> 1683 * <element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/> 1684 * <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> 1685 * <any namespace='##other'/> 1686 * </choice> 1687 * </restriction> 1688 * </complexContent> 1689 * </complexType> 1690 * </pre> 1691 * 1692 * 1693 */ 1694 @XmlAccessorType(XmlAccessType.FIELD) 1695 @XmlType(name = "", propOrder = { 1696 "jdbcPersistenceAdapter", 1697 "journalPersistenceAdapter", 1698 "kahaDB", 1699 "levelDB", 1700 "mKahaDB", 1701 "memoryPersistenceAdapter", 1702 "replicatedLevelDB", 1703 "any" 1704 }) 1705 public static class PersistenceAdapter 1706 implements Equals, HashCode, ToString 1707 { 1708 1709 protected DtoJdbcPersistenceAdapter jdbcPersistenceAdapter; 1710 protected DtoJournalPersistenceAdapter journalPersistenceAdapter; 1711 protected DtoKahaDB kahaDB; 1712 protected DtoLevelDB levelDB; 1713 protected DtoMKahaDB mKahaDB; 1714 protected DtoMemoryPersistenceAdapter memoryPersistenceAdapter; 1715 protected DtoReplicatedLevelDB replicatedLevelDB; 1716 @XmlAnyElement(lax = true) 1717 protected Object any; 1718 1719 /** 1720 * Gets the value of the jdbcPersistenceAdapter property. 1721 * 1722 * @return 1723 * possible object is 1724 * {@link DtoJdbcPersistenceAdapter } 1725 * 1726 */ 1727 public DtoJdbcPersistenceAdapter getJdbcPersistenceAdapter() { 1728 return jdbcPersistenceAdapter; 1729 } 1730 1731 /** 1732 * Sets the value of the jdbcPersistenceAdapter property. 1733 * 1734 * @param value 1735 * allowed object is 1736 * {@link DtoJdbcPersistenceAdapter } 1737 * 1738 */ 1739 public void setJdbcPersistenceAdapter(DtoJdbcPersistenceAdapter value) { 1740 this.jdbcPersistenceAdapter = value; 1741 } 1742 1743 /** 1744 * Gets the value of the journalPersistenceAdapter property. 1745 * 1746 * @return 1747 * possible object is 1748 * {@link DtoJournalPersistenceAdapter } 1749 * 1750 */ 1751 public DtoJournalPersistenceAdapter getJournalPersistenceAdapter() { 1752 return journalPersistenceAdapter; 1753 } 1754 1755 /** 1756 * Sets the value of the journalPersistenceAdapter property. 1757 * 1758 * @param value 1759 * allowed object is 1760 * {@link DtoJournalPersistenceAdapter } 1761 * 1762 */ 1763 public void setJournalPersistenceAdapter(DtoJournalPersistenceAdapter value) { 1764 this.journalPersistenceAdapter = value; 1765 } 1766 1767 /** 1768 * Gets the value of the kahaDB property. 1769 * 1770 * @return 1771 * possible object is 1772 * {@link DtoKahaDB } 1773 * 1774 */ 1775 public DtoKahaDB getKahaDB() { 1776 return kahaDB; 1777 } 1778 1779 /** 1780 * Sets the value of the kahaDB property. 1781 * 1782 * @param value 1783 * allowed object is 1784 * {@link DtoKahaDB } 1785 * 1786 */ 1787 public void setKahaDB(DtoKahaDB value) { 1788 this.kahaDB = value; 1789 } 1790 1791 /** 1792 * Gets the value of the levelDB property. 1793 * 1794 * @return 1795 * possible object is 1796 * {@link DtoLevelDB } 1797 * 1798 */ 1799 public DtoLevelDB getLevelDB() { 1800 return levelDB; 1801 } 1802 1803 /** 1804 * Sets the value of the levelDB property. 1805 * 1806 * @param value 1807 * allowed object is 1808 * {@link DtoLevelDB } 1809 * 1810 */ 1811 public void setLevelDB(DtoLevelDB value) { 1812 this.levelDB = value; 1813 } 1814 1815 /** 1816 * Gets the value of the mKahaDB property. 1817 * 1818 * @return 1819 * possible object is 1820 * {@link DtoMKahaDB } 1821 * 1822 */ 1823 public DtoMKahaDB getMKahaDB() { 1824 return mKahaDB; 1825 } 1826 1827 /** 1828 * Sets the value of the mKahaDB property. 1829 * 1830 * @param value 1831 * allowed object is 1832 * {@link DtoMKahaDB } 1833 * 1834 */ 1835 public void setMKahaDB(DtoMKahaDB value) { 1836 this.mKahaDB = value; 1837 } 1838 1839 /** 1840 * Gets the value of the memoryPersistenceAdapter property. 1841 * 1842 * @return 1843 * possible object is 1844 * {@link DtoMemoryPersistenceAdapter } 1845 * 1846 */ 1847 public DtoMemoryPersistenceAdapter getMemoryPersistenceAdapter() { 1848 return memoryPersistenceAdapter; 1849 } 1850 1851 /** 1852 * Sets the value of the memoryPersistenceAdapter property. 1853 * 1854 * @param value 1855 * allowed object is 1856 * {@link DtoMemoryPersistenceAdapter } 1857 * 1858 */ 1859 public void setMemoryPersistenceAdapter(DtoMemoryPersistenceAdapter value) { 1860 this.memoryPersistenceAdapter = value; 1861 } 1862 1863 /** 1864 * Gets the value of the replicatedLevelDB property. 1865 * 1866 * @return 1867 * possible object is 1868 * {@link DtoReplicatedLevelDB } 1869 * 1870 */ 1871 public DtoReplicatedLevelDB getReplicatedLevelDB() { 1872 return replicatedLevelDB; 1873 } 1874 1875 /** 1876 * Sets the value of the replicatedLevelDB property. 1877 * 1878 * @param value 1879 * allowed object is 1880 * {@link DtoReplicatedLevelDB } 1881 * 1882 */ 1883 public void setReplicatedLevelDB(DtoReplicatedLevelDB value) { 1884 this.replicatedLevelDB = value; 1885 } 1886 1887 /** 1888 * Gets the value of the any property. 1889 * 1890 * @return 1891 * possible object is 1892 * {@link Object } 1893 * 1894 */ 1895 public Object getAny() { 1896 return any; 1897 } 1898 1899 /** 1900 * Sets the value of the any property. 1901 * 1902 * @param value 1903 * allowed object is 1904 * {@link Object } 1905 * 1906 */ 1907 public void setAny(Object value) { 1908 this.any = value; 1909 } 1910 1911 public String toString() { 1912 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1913 final StringBuilder buffer = new StringBuilder(); 1914 append(null, buffer, strategy); 1915 return buffer.toString(); 1916 } 1917 1918 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1919 strategy.appendStart(locator, this, buffer); 1920 appendFields(locator, buffer, strategy); 1921 strategy.appendEnd(locator, this, buffer); 1922 return buffer; 1923 } 1924 1925 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1926 { 1927 DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter; 1928 theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 1929 strategy.appendField(locator, this, "jdbcPersistenceAdapter", buffer, theJdbcPersistenceAdapter); 1930 } 1931 { 1932 DtoJournalPersistenceAdapter theJournalPersistenceAdapter; 1933 theJournalPersistenceAdapter = this.getJournalPersistenceAdapter(); 1934 strategy.appendField(locator, this, "journalPersistenceAdapter", buffer, theJournalPersistenceAdapter); 1935 } 1936 { 1937 DtoKahaDB theKahaDB; 1938 theKahaDB = this.getKahaDB(); 1939 strategy.appendField(locator, this, "kahaDB", buffer, theKahaDB); 1940 } 1941 { 1942 DtoLevelDB theLevelDB; 1943 theLevelDB = this.getLevelDB(); 1944 strategy.appendField(locator, this, "levelDB", buffer, theLevelDB); 1945 } 1946 { 1947 DtoMKahaDB theMKahaDB; 1948 theMKahaDB = this.getMKahaDB(); 1949 strategy.appendField(locator, this, "mKahaDB", buffer, theMKahaDB); 1950 } 1951 { 1952 DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter; 1953 theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter(); 1954 strategy.appendField(locator, this, "memoryPersistenceAdapter", buffer, theMemoryPersistenceAdapter); 1955 } 1956 { 1957 DtoReplicatedLevelDB theReplicatedLevelDB; 1958 theReplicatedLevelDB = this.getReplicatedLevelDB(); 1959 strategy.appendField(locator, this, "replicatedLevelDB", buffer, theReplicatedLevelDB); 1960 } 1961 { 1962 Object theAny; 1963 theAny = this.getAny(); 1964 strategy.appendField(locator, this, "any", buffer, theAny); 1965 } 1966 return buffer; 1967 } 1968 1969 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1970 int currentHashCode = 1; 1971 { 1972 DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter; 1973 theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 1974 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jdbcPersistenceAdapter", theJdbcPersistenceAdapter), currentHashCode, theJdbcPersistenceAdapter); 1975 } 1976 { 1977 DtoJournalPersistenceAdapter theJournalPersistenceAdapter; 1978 theJournalPersistenceAdapter = this.getJournalPersistenceAdapter(); 1979 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalPersistenceAdapter", theJournalPersistenceAdapter), currentHashCode, theJournalPersistenceAdapter); 1980 } 1981 { 1982 DtoKahaDB theKahaDB; 1983 theKahaDB = this.getKahaDB(); 1984 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "kahaDB", theKahaDB), currentHashCode, theKahaDB); 1985 } 1986 { 1987 DtoLevelDB theLevelDB; 1988 theLevelDB = this.getLevelDB(); 1989 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "levelDB", theLevelDB), currentHashCode, theLevelDB); 1990 } 1991 { 1992 DtoMKahaDB theMKahaDB; 1993 theMKahaDB = this.getMKahaDB(); 1994 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mKahaDB", theMKahaDB), currentHashCode, theMKahaDB); 1995 } 1996 { 1997 DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter; 1998 theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter(); 1999 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "memoryPersistenceAdapter", theMemoryPersistenceAdapter), currentHashCode, theMemoryPersistenceAdapter); 2000 } 2001 { 2002 DtoReplicatedLevelDB theReplicatedLevelDB; 2003 theReplicatedLevelDB = this.getReplicatedLevelDB(); 2004 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "replicatedLevelDB", theReplicatedLevelDB), currentHashCode, theReplicatedLevelDB); 2005 } 2006 { 2007 Object theAny; 2008 theAny = this.getAny(); 2009 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2010 } 2011 return currentHashCode; 2012 } 2013 2014 public int hashCode() { 2015 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2016 return this.hashCode(null, strategy); 2017 } 2018 2019 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2020 if (!(object instanceof DtoJournalPersistenceAdapter.PersistenceAdapter)) { 2021 return false; 2022 } 2023 if (this == object) { 2024 return true; 2025 } 2026 final DtoJournalPersistenceAdapter.PersistenceAdapter that = ((DtoJournalPersistenceAdapter.PersistenceAdapter) object); 2027 { 2028 DtoJdbcPersistenceAdapter lhsJdbcPersistenceAdapter; 2029 lhsJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 2030 DtoJdbcPersistenceAdapter rhsJdbcPersistenceAdapter; 2031 rhsJdbcPersistenceAdapter = that.getJdbcPersistenceAdapter(); 2032 if (!strategy.equals(LocatorUtils.property(thisLocator, "jdbcPersistenceAdapter", lhsJdbcPersistenceAdapter), LocatorUtils.property(thatLocator, "jdbcPersistenceAdapter", rhsJdbcPersistenceAdapter), lhsJdbcPersistenceAdapter, rhsJdbcPersistenceAdapter)) { 2033 return false; 2034 } 2035 } 2036 { 2037 DtoJournalPersistenceAdapter lhsJournalPersistenceAdapter; 2038 lhsJournalPersistenceAdapter = this.getJournalPersistenceAdapter(); 2039 DtoJournalPersistenceAdapter rhsJournalPersistenceAdapter; 2040 rhsJournalPersistenceAdapter = that.getJournalPersistenceAdapter(); 2041 if (!strategy.equals(LocatorUtils.property(thisLocator, "journalPersistenceAdapter", lhsJournalPersistenceAdapter), LocatorUtils.property(thatLocator, "journalPersistenceAdapter", rhsJournalPersistenceAdapter), lhsJournalPersistenceAdapter, rhsJournalPersistenceAdapter)) { 2042 return false; 2043 } 2044 } 2045 { 2046 DtoKahaDB lhsKahaDB; 2047 lhsKahaDB = this.getKahaDB(); 2048 DtoKahaDB rhsKahaDB; 2049 rhsKahaDB = that.getKahaDB(); 2050 if (!strategy.equals(LocatorUtils.property(thisLocator, "kahaDB", lhsKahaDB), LocatorUtils.property(thatLocator, "kahaDB", rhsKahaDB), lhsKahaDB, rhsKahaDB)) { 2051 return false; 2052 } 2053 } 2054 { 2055 DtoLevelDB lhsLevelDB; 2056 lhsLevelDB = this.getLevelDB(); 2057 DtoLevelDB rhsLevelDB; 2058 rhsLevelDB = that.getLevelDB(); 2059 if (!strategy.equals(LocatorUtils.property(thisLocator, "levelDB", lhsLevelDB), LocatorUtils.property(thatLocator, "levelDB", rhsLevelDB), lhsLevelDB, rhsLevelDB)) { 2060 return false; 2061 } 2062 } 2063 { 2064 DtoMKahaDB lhsMKahaDB; 2065 lhsMKahaDB = this.getMKahaDB(); 2066 DtoMKahaDB rhsMKahaDB; 2067 rhsMKahaDB = that.getMKahaDB(); 2068 if (!strategy.equals(LocatorUtils.property(thisLocator, "mKahaDB", lhsMKahaDB), LocatorUtils.property(thatLocator, "mKahaDB", rhsMKahaDB), lhsMKahaDB, rhsMKahaDB)) { 2069 return false; 2070 } 2071 } 2072 { 2073 DtoMemoryPersistenceAdapter lhsMemoryPersistenceAdapter; 2074 lhsMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter(); 2075 DtoMemoryPersistenceAdapter rhsMemoryPersistenceAdapter; 2076 rhsMemoryPersistenceAdapter = that.getMemoryPersistenceAdapter(); 2077 if (!strategy.equals(LocatorUtils.property(thisLocator, "memoryPersistenceAdapter", lhsMemoryPersistenceAdapter), LocatorUtils.property(thatLocator, "memoryPersistenceAdapter", rhsMemoryPersistenceAdapter), lhsMemoryPersistenceAdapter, rhsMemoryPersistenceAdapter)) { 2078 return false; 2079 } 2080 } 2081 { 2082 DtoReplicatedLevelDB lhsReplicatedLevelDB; 2083 lhsReplicatedLevelDB = this.getReplicatedLevelDB(); 2084 DtoReplicatedLevelDB rhsReplicatedLevelDB; 2085 rhsReplicatedLevelDB = that.getReplicatedLevelDB(); 2086 if (!strategy.equals(LocatorUtils.property(thisLocator, "replicatedLevelDB", lhsReplicatedLevelDB), LocatorUtils.property(thatLocator, "replicatedLevelDB", rhsReplicatedLevelDB), lhsReplicatedLevelDB, rhsReplicatedLevelDB)) { 2087 return false; 2088 } 2089 } 2090 { 2091 Object lhsAny; 2092 lhsAny = this.getAny(); 2093 Object rhsAny; 2094 rhsAny = that.getAny(); 2095 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2096 return false; 2097 } 2098 } 2099 return true; 2100 } 2101 2102 public boolean equals(Object object) { 2103 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2104 return equals(null, null, object, strategy); 2105 } 2106 2107 } 2108 2109 2110 /** 2111 * <p>Java class for anonymous complex type. 2112 * 2113 * <p>The following schema fragment specifies the expected content contained within this class. 2114 * 2115 * <pre> 2116 * <complexType> 2117 * <complexContent> 2118 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2119 * <choice minOccurs="0"> 2120 * <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/> 2121 * <any namespace='##other'/> 2122 * </choice> 2123 * </restriction> 2124 * </complexContent> 2125 * </complexType> 2126 * </pre> 2127 * 2128 * 2129 */ 2130 @XmlAccessorType(XmlAccessType.FIELD) 2131 @XmlType(name = "", propOrder = { 2132 "taskRunnerFactory", 2133 "any" 2134 }) 2135 public static class TaskRunnerFactory 2136 implements Equals, HashCode, ToString 2137 { 2138 2139 protected DtoTaskRunnerFactory taskRunnerFactory; 2140 @XmlAnyElement(lax = true) 2141 protected Object any; 2142 2143 /** 2144 * Gets the value of the taskRunnerFactory property. 2145 * 2146 * @return 2147 * possible object is 2148 * {@link DtoTaskRunnerFactory } 2149 * 2150 */ 2151 public DtoTaskRunnerFactory getTaskRunnerFactory() { 2152 return taskRunnerFactory; 2153 } 2154 2155 /** 2156 * Sets the value of the taskRunnerFactory property. 2157 * 2158 * @param value 2159 * allowed object is 2160 * {@link DtoTaskRunnerFactory } 2161 * 2162 */ 2163 public void setTaskRunnerFactory(DtoTaskRunnerFactory value) { 2164 this.taskRunnerFactory = value; 2165 } 2166 2167 /** 2168 * Gets the value of the any property. 2169 * 2170 * @return 2171 * possible object is 2172 * {@link Object } 2173 * 2174 */ 2175 public Object getAny() { 2176 return any; 2177 } 2178 2179 /** 2180 * Sets the value of the any property. 2181 * 2182 * @param value 2183 * allowed object is 2184 * {@link Object } 2185 * 2186 */ 2187 public void setAny(Object value) { 2188 this.any = value; 2189 } 2190 2191 public String toString() { 2192 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2193 final StringBuilder buffer = new StringBuilder(); 2194 append(null, buffer, strategy); 2195 return buffer.toString(); 2196 } 2197 2198 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2199 strategy.appendStart(locator, this, buffer); 2200 appendFields(locator, buffer, strategy); 2201 strategy.appendEnd(locator, this, buffer); 2202 return buffer; 2203 } 2204 2205 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2206 { 2207 DtoTaskRunnerFactory theTaskRunnerFactory; 2208 theTaskRunnerFactory = this.getTaskRunnerFactory(); 2209 strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory); 2210 } 2211 { 2212 Object theAny; 2213 theAny = this.getAny(); 2214 strategy.appendField(locator, this, "any", buffer, theAny); 2215 } 2216 return buffer; 2217 } 2218 2219 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2220 int currentHashCode = 1; 2221 { 2222 DtoTaskRunnerFactory theTaskRunnerFactory; 2223 theTaskRunnerFactory = this.getTaskRunnerFactory(); 2224 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory); 2225 } 2226 { 2227 Object theAny; 2228 theAny = this.getAny(); 2229 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2230 } 2231 return currentHashCode; 2232 } 2233 2234 public int hashCode() { 2235 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2236 return this.hashCode(null, strategy); 2237 } 2238 2239 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2240 if (!(object instanceof DtoJournalPersistenceAdapter.TaskRunnerFactory)) { 2241 return false; 2242 } 2243 if (this == object) { 2244 return true; 2245 } 2246 final DtoJournalPersistenceAdapter.TaskRunnerFactory that = ((DtoJournalPersistenceAdapter.TaskRunnerFactory) object); 2247 { 2248 DtoTaskRunnerFactory lhsTaskRunnerFactory; 2249 lhsTaskRunnerFactory = this.getTaskRunnerFactory(); 2250 DtoTaskRunnerFactory rhsTaskRunnerFactory; 2251 rhsTaskRunnerFactory = that.getTaskRunnerFactory(); 2252 if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) { 2253 return false; 2254 } 2255 } 2256 { 2257 Object lhsAny; 2258 lhsAny = this.getAny(); 2259 Object rhsAny; 2260 rhsAny = that.getAny(); 2261 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2262 return false; 2263 } 2264 } 2265 return true; 2266 } 2267 2268 public boolean equals(Object object) { 2269 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2270 return equals(null, null, object, strategy); 2271 } 2272 2273 } 2274 2275 2276 /** 2277 * <p>Java class for anonymous complex type. 2278 * 2279 * <p>The following schema fragment specifies the expected content contained within this class. 2280 * 2281 * <pre> 2282 * <complexType> 2283 * <complexContent> 2284 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2285 * <choice minOccurs="0"> 2286 * <element ref="{http://activemq.apache.org/schema/core}systemUsage"/> 2287 * <any namespace='##other'/> 2288 * </choice> 2289 * </restriction> 2290 * </complexContent> 2291 * </complexType> 2292 * </pre> 2293 * 2294 * 2295 */ 2296 @XmlAccessorType(XmlAccessType.FIELD) 2297 @XmlType(name = "", propOrder = { 2298 "systemUsage", 2299 "any" 2300 }) 2301 public static class UsageManager 2302 implements Equals, HashCode, ToString 2303 { 2304 2305 protected DtoSystemUsage systemUsage; 2306 @XmlAnyElement(lax = true) 2307 protected Object any; 2308 2309 /** 2310 * Gets the value of the systemUsage property. 2311 * 2312 * @return 2313 * possible object is 2314 * {@link DtoSystemUsage } 2315 * 2316 */ 2317 public DtoSystemUsage getSystemUsage() { 2318 return systemUsage; 2319 } 2320 2321 /** 2322 * Sets the value of the systemUsage property. 2323 * 2324 * @param value 2325 * allowed object is 2326 * {@link DtoSystemUsage } 2327 * 2328 */ 2329 public void setSystemUsage(DtoSystemUsage value) { 2330 this.systemUsage = value; 2331 } 2332 2333 /** 2334 * Gets the value of the any property. 2335 * 2336 * @return 2337 * possible object is 2338 * {@link Object } 2339 * 2340 */ 2341 public Object getAny() { 2342 return any; 2343 } 2344 2345 /** 2346 * Sets the value of the any property. 2347 * 2348 * @param value 2349 * allowed object is 2350 * {@link Object } 2351 * 2352 */ 2353 public void setAny(Object value) { 2354 this.any = value; 2355 } 2356 2357 public String toString() { 2358 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2359 final StringBuilder buffer = new StringBuilder(); 2360 append(null, buffer, strategy); 2361 return buffer.toString(); 2362 } 2363 2364 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2365 strategy.appendStart(locator, this, buffer); 2366 appendFields(locator, buffer, strategy); 2367 strategy.appendEnd(locator, this, buffer); 2368 return buffer; 2369 } 2370 2371 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2372 { 2373 DtoSystemUsage theSystemUsage; 2374 theSystemUsage = this.getSystemUsage(); 2375 strategy.appendField(locator, this, "systemUsage", buffer, theSystemUsage); 2376 } 2377 { 2378 Object theAny; 2379 theAny = this.getAny(); 2380 strategy.appendField(locator, this, "any", buffer, theAny); 2381 } 2382 return buffer; 2383 } 2384 2385 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2386 int currentHashCode = 1; 2387 { 2388 DtoSystemUsage theSystemUsage; 2389 theSystemUsage = this.getSystemUsage(); 2390 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "systemUsage", theSystemUsage), currentHashCode, theSystemUsage); 2391 } 2392 { 2393 Object theAny; 2394 theAny = this.getAny(); 2395 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2396 } 2397 return currentHashCode; 2398 } 2399 2400 public int hashCode() { 2401 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2402 return this.hashCode(null, strategy); 2403 } 2404 2405 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2406 if (!(object instanceof DtoJournalPersistenceAdapter.UsageManager)) { 2407 return false; 2408 } 2409 if (this == object) { 2410 return true; 2411 } 2412 final DtoJournalPersistenceAdapter.UsageManager that = ((DtoJournalPersistenceAdapter.UsageManager) object); 2413 { 2414 DtoSystemUsage lhsSystemUsage; 2415 lhsSystemUsage = this.getSystemUsage(); 2416 DtoSystemUsage rhsSystemUsage; 2417 rhsSystemUsage = that.getSystemUsage(); 2418 if (!strategy.equals(LocatorUtils.property(thisLocator, "systemUsage", lhsSystemUsage), LocatorUtils.property(thatLocator, "systemUsage", rhsSystemUsage), lhsSystemUsage, rhsSystemUsage)) { 2419 return false; 2420 } 2421 } 2422 { 2423 Object lhsAny; 2424 lhsAny = this.getAny(); 2425 Object rhsAny; 2426 rhsAny = that.getAny(); 2427 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2428 return false; 2429 } 2430 } 2431 return true; 2432 } 2433 2434 public boolean equals(Object object) { 2435 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2436 return equals(null, null, object, strategy); 2437 } 2438 2439 } 2440 2441}