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.11.20 at 05:50:24 PM CET 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.XmlElement; 023import javax.xml.bind.annotation.XmlElementRef; 024import javax.xml.bind.annotation.XmlElementRefs; 025import javax.xml.bind.annotation.XmlID; 026import javax.xml.bind.annotation.XmlRootElement; 027import javax.xml.bind.annotation.XmlSchemaType; 028import javax.xml.bind.annotation.XmlType; 029import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 030import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 031import javax.xml.namespace.QName; 032import org.jvnet.jaxb2_commons.lang.Equals; 033import org.jvnet.jaxb2_commons.lang.EqualsStrategy; 034import org.jvnet.jaxb2_commons.lang.HashCode; 035import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; 036import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; 037import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; 038import org.jvnet.jaxb2_commons.lang.ToString; 039import org.jvnet.jaxb2_commons.lang.ToStringStrategy; 040import org.jvnet.jaxb2_commons.locator.ObjectLocator; 041import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; 042 043 044/** 045 * <p>Java class for anonymous complex type. 046 * 047 * <p>The following schema fragment specifies the expected content contained within this class. 048 * 049 * <pre> 050 * <complexType> 051 * <complexContent> 052 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 053 * <choice maxOccurs="unbounded" minOccurs="0"> 054 * <choice> 055 * <element name="adapter" minOccurs="0"> 056 * <complexType> 057 * <complexContent> 058 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 059 * <choice minOccurs="0"> 060 * <element ref="{http://activemq.apache.org/schema/core}axionJDBCAdapter"/> 061 * <element ref="{http://activemq.apache.org/schema/core}blobJDBCAdapter"/> 062 * <element ref="{http://activemq.apache.org/schema/core}bytesJDBCAdapter"/> 063 * <element ref="{http://activemq.apache.org/schema/core}db2JDBCAdapter"/> 064 * <element ref="{http://activemq.apache.org/schema/core}defaultJDBCAdapter"/> 065 * <element ref="{http://activemq.apache.org/schema/core}hsqldb-jdbc-adapter"/> 066 * <element ref="{http://activemq.apache.org/schema/core}imageBasedJDBCAdaptor"/> 067 * <element ref="{http://activemq.apache.org/schema/core}informixJDBCAdapter"/> 068 * <element ref="{http://activemq.apache.org/schema/core}maxdb-jdbc-adapter"/> 069 * <element ref="{http://activemq.apache.org/schema/core}mysql-jdbc-adapter"/> 070 * <element ref="{http://activemq.apache.org/schema/core}oracleBlobJDBCAdapter"/> 071 * <element ref="{http://activemq.apache.org/schema/core}oracleJDBCAdapter"/> 072 * <element ref="{http://activemq.apache.org/schema/core}postgresql-jdbc-adapter"/> 073 * <element ref="{http://activemq.apache.org/schema/core}sqlServerJDBCAdapter"/> 074 * <element ref="{http://activemq.apache.org/schema/core}streamJDBCAdapter"/> 075 * <element ref="{http://activemq.apache.org/schema/core}sybase-jdbc-adapter"/> 076 * <element ref="{http://activemq.apache.org/schema/core}transact-jdbc-adapter"/> 077 * <any namespace='##other'/> 078 * </choice> 079 * </restriction> 080 * </complexContent> 081 * </complexType> 082 * </element> 083 * <element name="brokerService" minOccurs="0"> 084 * <complexType> 085 * <complexContent> 086 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 087 * <choice minOccurs="0"> 088 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 089 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 090 * <any namespace='##other'/> 091 * </choice> 092 * </restriction> 093 * </complexContent> 094 * </complexType> 095 * </element> 096 * <element name="dataSource" minOccurs="0"> 097 * <complexType> 098 * <complexContent> 099 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 100 * <sequence minOccurs="0"> 101 * <any maxOccurs="unbounded" minOccurs="0"/> 102 * </sequence> 103 * </restriction> 104 * </complexContent> 105 * </complexType> 106 * </element> 107 * <element name="jdbcAdapter" minOccurs="0"> 108 * <complexType> 109 * <complexContent> 110 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 111 * <choice minOccurs="0"> 112 * <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/> 113 * <any namespace='##other'/> 114 * </choice> 115 * </restriction> 116 * </complexContent> 117 * </complexType> 118 * </element> 119 * <element name="journal" minOccurs="0"> 120 * <complexType> 121 * <complexContent> 122 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 123 * <sequence minOccurs="0"> 124 * <any maxOccurs="unbounded" minOccurs="0"/> 125 * </sequence> 126 * </restriction> 127 * </complexContent> 128 * </complexType> 129 * </element> 130 * <element name="locker" minOccurs="0"> 131 * <complexType> 132 * <complexContent> 133 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 134 * <choice minOccurs="0"> 135 * <element ref="{http://activemq.apache.org/schema/core}database-locker"/> 136 * <element ref="{http://activemq.apache.org/schema/core}lease-database-locker"/> 137 * <element ref="{http://activemq.apache.org/schema/core}shared-file-locker"/> 138 * <element ref="{http://activemq.apache.org/schema/core}transact-database-locker"/> 139 * <any namespace='##other'/> 140 * </choice> 141 * </restriction> 142 * </complexContent> 143 * </complexType> 144 * </element> 145 * <element name="scheduledThreadPoolExecutor" minOccurs="0"> 146 * <complexType> 147 * <complexContent> 148 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 149 * <sequence minOccurs="0"> 150 * <any maxOccurs="unbounded" minOccurs="0"/> 151 * </sequence> 152 * </restriction> 153 * </complexContent> 154 * </complexType> 155 * </element> 156 * <element name="statements" minOccurs="0"> 157 * <complexType> 158 * <complexContent> 159 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 160 * <choice minOccurs="0"> 161 * <element ref="{http://activemq.apache.org/schema/core}statements"/> 162 * <any namespace='##other'/> 163 * </choice> 164 * </restriction> 165 * </complexContent> 166 * </complexType> 167 * </element> 168 * <element name="taskRunnerFactory" minOccurs="0"> 169 * <complexType> 170 * <complexContent> 171 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 172 * <choice minOccurs="0"> 173 * <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/> 174 * <any namespace='##other'/> 175 * </choice> 176 * </restriction> 177 * </complexContent> 178 * </complexType> 179 * </element> 180 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 181 * </choice> 182 * </choice> 183 * <attribute name="adapter" type="{http://www.w3.org/2001/XMLSchema}string" /> 184 * <attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" /> 185 * <attribute name="checkpointInterval" type="{http://www.w3.org/2001/XMLSchema}long" /> 186 * <attribute name="createTablesOnStartup" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 187 * <attribute name="dataDirectory" type="{http://www.w3.org/2001/XMLSchema}string" /> 188 * <attribute name="dataDirectoryFile" type="{http://www.w3.org/2001/XMLSchema}string" /> 189 * <attribute name="dataSource" type="{http://www.w3.org/2001/XMLSchema}string" /> 190 * <attribute name="jdbcAdapter" type="{http://www.w3.org/2001/XMLSchema}string" /> 191 * <attribute name="journal" type="{http://www.w3.org/2001/XMLSchema}string" /> 192 * <attribute name="journalArchiveDirectory" type="{http://www.w3.org/2001/XMLSchema}string" /> 193 * <attribute name="journalLogFileSize" type="{http://www.w3.org/2001/XMLSchema}string" /> 194 * <attribute name="journalLogFiles" type="{http://www.w3.org/2001/XMLSchema}integer" /> 195 * <attribute name="journalThreadPriority" type="{http://www.w3.org/2001/XMLSchema}integer" /> 196 * <attribute name="lockKeepAlivePeriod" type="{http://www.w3.org/2001/XMLSchema}long" /> 197 * <attribute name="locker" type="{http://www.w3.org/2001/XMLSchema}string" /> 198 * <attribute name="scheduledThreadPoolExecutor" type="{http://www.w3.org/2001/XMLSchema}string" /> 199 * <attribute name="statements" type="{http://www.w3.org/2001/XMLSchema}string" /> 200 * <attribute name="taskRunnerFactory" type="{http://www.w3.org/2001/XMLSchema}string" /> 201 * <attribute name="useDatabaseLock" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 202 * <attribute name="useDedicatedTaskRunner" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 203 * <attribute name="useJournal" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 204 * <attribute name="useLock" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 205 * <attribute name="useQuickJournal" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 206 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 207 * <anyAttribute processContents='lax' namespace='##other'/> 208 * </restriction> 209 * </complexContent> 210 * </complexType> 211 * </pre> 212 * 213 * 214 */ 215@XmlAccessorType(XmlAccessType.FIELD) 216@XmlType(name = "", propOrder = { 217 "adapterOrBrokerServiceOrDataSource" 218}) 219@XmlRootElement(name = "journalPersistenceAdapterFactory") 220public class DtoJournalPersistenceAdapterFactory implements Equals, HashCode, ToString 221{ 222 223 @XmlElementRefs({ 224 @XmlElementRef(name = "statements", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 225 @XmlElementRef(name = "taskRunnerFactory", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 226 @XmlElementRef(name = "adapter", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 227 @XmlElementRef(name = "journal", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 228 @XmlElementRef(name = "locker", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 229 @XmlElementRef(name = "dataSource", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 230 @XmlElementRef(name = "jdbcAdapter", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 231 @XmlElementRef(name = "scheduledThreadPoolExecutor", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 232 @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 233 }) 234 @XmlAnyElement(lax = true) 235 protected List<Object> adapterOrBrokerServiceOrDataSource; 236 @XmlAttribute(name = "adapter") 237 protected String adapter; 238 @XmlAttribute(name = "brokerService") 239 protected String brokerService; 240 @XmlAttribute(name = "checkpointInterval") 241 protected Long checkpointInterval; 242 @XmlAttribute(name = "createTablesOnStartup") 243 protected Boolean createTablesOnStartup; 244 @XmlAttribute(name = "dataDirectory") 245 protected String dataDirectory; 246 @XmlAttribute(name = "dataDirectoryFile") 247 protected String dataDirectoryFile; 248 @XmlAttribute(name = "dataSource") 249 protected String dataSource; 250 @XmlAttribute(name = "jdbcAdapter") 251 protected String jdbcAdapter; 252 @XmlAttribute(name = "journal") 253 protected String journal; 254 @XmlAttribute(name = "journalArchiveDirectory") 255 protected String journalArchiveDirectory; 256 @XmlAttribute(name = "journalLogFileSize") 257 protected String journalLogFileSize; 258 @XmlAttribute(name = "journalLogFiles") 259 protected BigInteger journalLogFiles; 260 @XmlAttribute(name = "journalThreadPriority") 261 protected BigInteger journalThreadPriority; 262 @XmlAttribute(name = "lockKeepAlivePeriod") 263 protected Long lockKeepAlivePeriod; 264 @XmlAttribute(name = "locker") 265 protected String locker; 266 @XmlAttribute(name = "scheduledThreadPoolExecutor") 267 protected String scheduledThreadPoolExecutor; 268 @XmlAttribute(name = "statements") 269 protected String statements; 270 @XmlAttribute(name = "taskRunnerFactory") 271 protected String taskRunnerFactory; 272 @XmlAttribute(name = "useDatabaseLock") 273 protected Boolean useDatabaseLock; 274 @XmlAttribute(name = "useDedicatedTaskRunner") 275 protected Boolean useDedicatedTaskRunner; 276 @XmlAttribute(name = "useJournal") 277 protected Boolean useJournal; 278 @XmlAttribute(name = "useLock") 279 protected Boolean useLock; 280 @XmlAttribute(name = "useQuickJournal") 281 protected Boolean useQuickJournal; 282 @XmlAttribute(name = "id") 283 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 284 @XmlID 285 @XmlSchemaType(name = "ID") 286 protected String id; 287 @XmlAnyAttribute 288 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 289 290 /** 291 * Gets the value of the adapterOrBrokerServiceOrDataSource property. 292 * 293 * <p> 294 * This accessor method returns a reference to the live list, 295 * not a snapshot. Therefore any modification you make to the 296 * returned list will be present inside the JAXB object. 297 * This is why there is not a <CODE>set</CODE> method for the adapterOrBrokerServiceOrDataSource property. 298 * 299 * <p> 300 * For example, to add a new item, do as follows: 301 * <pre> 302 * getAdapterOrBrokerServiceOrDataSource().add(newItem); 303 * </pre> 304 * 305 * 306 * <p> 307 * Objects of the following type(s) are allowed in the list 308 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.Statements }{@code >} 309 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.TaskRunnerFactory }{@code >} 310 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.Adapter }{@code >} 311 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.Journal }{@code >} 312 * {@link Object } 313 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.Locker }{@code >} 314 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.DataSource }{@code >} 315 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.JdbcAdapter }{@code >} 316 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.ScheduledThreadPoolExecutor }{@code >} 317 * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapterFactory.BrokerService }{@code >} 318 * 319 * 320 */ 321 public List<Object> getAdapterOrBrokerServiceOrDataSource() { 322 if (adapterOrBrokerServiceOrDataSource == null) { 323 adapterOrBrokerServiceOrDataSource = new ArrayList<Object>(); 324 } 325 return this.adapterOrBrokerServiceOrDataSource; 326 } 327 328 /** 329 * Gets the value of the adapter property. 330 * 331 * @return 332 * possible object is 333 * {@link String } 334 * 335 */ 336 public String getAdapter() { 337 return adapter; 338 } 339 340 /** 341 * Sets the value of the adapter property. 342 * 343 * @param value 344 * allowed object is 345 * {@link String } 346 * 347 */ 348 public void setAdapter(String value) { 349 this.adapter = value; 350 } 351 352 /** 353 * Gets the value of the brokerService property. 354 * 355 * @return 356 * possible object is 357 * {@link String } 358 * 359 */ 360 public String getBrokerService() { 361 return brokerService; 362 } 363 364 /** 365 * Sets the value of the brokerService property. 366 * 367 * @param value 368 * allowed object is 369 * {@link String } 370 * 371 */ 372 public void setBrokerService(String value) { 373 this.brokerService = value; 374 } 375 376 /** 377 * Gets the value of the checkpointInterval property. 378 * 379 * @return 380 * possible object is 381 * {@link Long } 382 * 383 */ 384 public Long getCheckpointInterval() { 385 return checkpointInterval; 386 } 387 388 /** 389 * Sets the value of the checkpointInterval property. 390 * 391 * @param value 392 * allowed object is 393 * {@link Long } 394 * 395 */ 396 public void setCheckpointInterval(Long value) { 397 this.checkpointInterval = value; 398 } 399 400 /** 401 * Gets the value of the createTablesOnStartup property. 402 * 403 * @return 404 * possible object is 405 * {@link Boolean } 406 * 407 */ 408 public Boolean isCreateTablesOnStartup() { 409 return createTablesOnStartup; 410 } 411 412 /** 413 * Sets the value of the createTablesOnStartup property. 414 * 415 * @param value 416 * allowed object is 417 * {@link Boolean } 418 * 419 */ 420 public void setCreateTablesOnStartup(Boolean value) { 421 this.createTablesOnStartup = value; 422 } 423 424 /** 425 * Gets the value of the dataDirectory property. 426 * 427 * @return 428 * possible object is 429 * {@link String } 430 * 431 */ 432 public String getDataDirectory() { 433 return dataDirectory; 434 } 435 436 /** 437 * Sets the value of the dataDirectory property. 438 * 439 * @param value 440 * allowed object is 441 * {@link String } 442 * 443 */ 444 public void setDataDirectory(String value) { 445 this.dataDirectory = value; 446 } 447 448 /** 449 * Gets the value of the dataDirectoryFile property. 450 * 451 * @return 452 * possible object is 453 * {@link String } 454 * 455 */ 456 public String getDataDirectoryFile() { 457 return dataDirectoryFile; 458 } 459 460 /** 461 * Sets the value of the dataDirectoryFile property. 462 * 463 * @param value 464 * allowed object is 465 * {@link String } 466 * 467 */ 468 public void setDataDirectoryFile(String value) { 469 this.dataDirectoryFile = value; 470 } 471 472 /** 473 * Gets the value of the dataSource property. 474 * 475 * @return 476 * possible object is 477 * {@link String } 478 * 479 */ 480 public String getDataSource() { 481 return dataSource; 482 } 483 484 /** 485 * Sets the value of the dataSource property. 486 * 487 * @param value 488 * allowed object is 489 * {@link String } 490 * 491 */ 492 public void setDataSource(String value) { 493 this.dataSource = value; 494 } 495 496 /** 497 * Gets the value of the jdbcAdapter property. 498 * 499 * @return 500 * possible object is 501 * {@link String } 502 * 503 */ 504 public String getJdbcAdapter() { 505 return jdbcAdapter; 506 } 507 508 /** 509 * Sets the value of the jdbcAdapter property. 510 * 511 * @param value 512 * allowed object is 513 * {@link String } 514 * 515 */ 516 public void setJdbcAdapter(String value) { 517 this.jdbcAdapter = value; 518 } 519 520 /** 521 * Gets the value of the journal property. 522 * 523 * @return 524 * possible object is 525 * {@link String } 526 * 527 */ 528 public String getJournal() { 529 return journal; 530 } 531 532 /** 533 * Sets the value of the journal property. 534 * 535 * @param value 536 * allowed object is 537 * {@link String } 538 * 539 */ 540 public void setJournal(String value) { 541 this.journal = value; 542 } 543 544 /** 545 * Gets the value of the journalArchiveDirectory property. 546 * 547 * @return 548 * possible object is 549 * {@link String } 550 * 551 */ 552 public String getJournalArchiveDirectory() { 553 return journalArchiveDirectory; 554 } 555 556 /** 557 * Sets the value of the journalArchiveDirectory property. 558 * 559 * @param value 560 * allowed object is 561 * {@link String } 562 * 563 */ 564 public void setJournalArchiveDirectory(String value) { 565 this.journalArchiveDirectory = value; 566 } 567 568 /** 569 * Gets the value of the journalLogFileSize property. 570 * 571 * @return 572 * possible object is 573 * {@link String } 574 * 575 */ 576 public String getJournalLogFileSize() { 577 return journalLogFileSize; 578 } 579 580 /** 581 * Sets the value of the journalLogFileSize property. 582 * 583 * @param value 584 * allowed object is 585 * {@link String } 586 * 587 */ 588 public void setJournalLogFileSize(String value) { 589 this.journalLogFileSize = value; 590 } 591 592 /** 593 * Gets the value of the journalLogFiles property. 594 * 595 * @return 596 * possible object is 597 * {@link BigInteger } 598 * 599 */ 600 public BigInteger getJournalLogFiles() { 601 return journalLogFiles; 602 } 603 604 /** 605 * Sets the value of the journalLogFiles property. 606 * 607 * @param value 608 * allowed object is 609 * {@link BigInteger } 610 * 611 */ 612 public void setJournalLogFiles(BigInteger value) { 613 this.journalLogFiles = value; 614 } 615 616 /** 617 * Gets the value of the journalThreadPriority property. 618 * 619 * @return 620 * possible object is 621 * {@link BigInteger } 622 * 623 */ 624 public BigInteger getJournalThreadPriority() { 625 return journalThreadPriority; 626 } 627 628 /** 629 * Sets the value of the journalThreadPriority property. 630 * 631 * @param value 632 * allowed object is 633 * {@link BigInteger } 634 * 635 */ 636 public void setJournalThreadPriority(BigInteger value) { 637 this.journalThreadPriority = value; 638 } 639 640 /** 641 * Gets the value of the lockKeepAlivePeriod property. 642 * 643 * @return 644 * possible object is 645 * {@link Long } 646 * 647 */ 648 public Long getLockKeepAlivePeriod() { 649 return lockKeepAlivePeriod; 650 } 651 652 /** 653 * Sets the value of the lockKeepAlivePeriod property. 654 * 655 * @param value 656 * allowed object is 657 * {@link Long } 658 * 659 */ 660 public void setLockKeepAlivePeriod(Long value) { 661 this.lockKeepAlivePeriod = value; 662 } 663 664 /** 665 * Gets the value of the locker property. 666 * 667 * @return 668 * possible object is 669 * {@link String } 670 * 671 */ 672 public String getLocker() { 673 return locker; 674 } 675 676 /** 677 * Sets the value of the locker property. 678 * 679 * @param value 680 * allowed object is 681 * {@link String } 682 * 683 */ 684 public void setLocker(String value) { 685 this.locker = value; 686 } 687 688 /** 689 * Gets the value of the scheduledThreadPoolExecutor property. 690 * 691 * @return 692 * possible object is 693 * {@link String } 694 * 695 */ 696 public String getScheduledThreadPoolExecutor() { 697 return scheduledThreadPoolExecutor; 698 } 699 700 /** 701 * Sets the value of the scheduledThreadPoolExecutor property. 702 * 703 * @param value 704 * allowed object is 705 * {@link String } 706 * 707 */ 708 public void setScheduledThreadPoolExecutor(String value) { 709 this.scheduledThreadPoolExecutor = value; 710 } 711 712 /** 713 * Gets the value of the statements property. 714 * 715 * @return 716 * possible object is 717 * {@link String } 718 * 719 */ 720 public String getStatements() { 721 return statements; 722 } 723 724 /** 725 * Sets the value of the statements property. 726 * 727 * @param value 728 * allowed object is 729 * {@link String } 730 * 731 */ 732 public void setStatements(String value) { 733 this.statements = value; 734 } 735 736 /** 737 * Gets the value of the taskRunnerFactory property. 738 * 739 * @return 740 * possible object is 741 * {@link String } 742 * 743 */ 744 public String getTaskRunnerFactory() { 745 return taskRunnerFactory; 746 } 747 748 /** 749 * Sets the value of the taskRunnerFactory property. 750 * 751 * @param value 752 * allowed object is 753 * {@link String } 754 * 755 */ 756 public void setTaskRunnerFactory(String value) { 757 this.taskRunnerFactory = value; 758 } 759 760 /** 761 * Gets the value of the useDatabaseLock property. 762 * 763 * @return 764 * possible object is 765 * {@link Boolean } 766 * 767 */ 768 public Boolean isUseDatabaseLock() { 769 return useDatabaseLock; 770 } 771 772 /** 773 * Sets the value of the useDatabaseLock property. 774 * 775 * @param value 776 * allowed object is 777 * {@link Boolean } 778 * 779 */ 780 public void setUseDatabaseLock(Boolean value) { 781 this.useDatabaseLock = value; 782 } 783 784 /** 785 * Gets the value of the useDedicatedTaskRunner property. 786 * 787 * @return 788 * possible object is 789 * {@link Boolean } 790 * 791 */ 792 public Boolean isUseDedicatedTaskRunner() { 793 return useDedicatedTaskRunner; 794 } 795 796 /** 797 * Sets the value of the useDedicatedTaskRunner property. 798 * 799 * @param value 800 * allowed object is 801 * {@link Boolean } 802 * 803 */ 804 public void setUseDedicatedTaskRunner(Boolean value) { 805 this.useDedicatedTaskRunner = value; 806 } 807 808 /** 809 * Gets the value of the useJournal property. 810 * 811 * @return 812 * possible object is 813 * {@link Boolean } 814 * 815 */ 816 public Boolean isUseJournal() { 817 return useJournal; 818 } 819 820 /** 821 * Sets the value of the useJournal property. 822 * 823 * @param value 824 * allowed object is 825 * {@link Boolean } 826 * 827 */ 828 public void setUseJournal(Boolean value) { 829 this.useJournal = value; 830 } 831 832 /** 833 * Gets the value of the useLock property. 834 * 835 * @return 836 * possible object is 837 * {@link Boolean } 838 * 839 */ 840 public Boolean isUseLock() { 841 return useLock; 842 } 843 844 /** 845 * Sets the value of the useLock property. 846 * 847 * @param value 848 * allowed object is 849 * {@link Boolean } 850 * 851 */ 852 public void setUseLock(Boolean value) { 853 this.useLock = value; 854 } 855 856 /** 857 * Gets the value of the useQuickJournal property. 858 * 859 * @return 860 * possible object is 861 * {@link Boolean } 862 * 863 */ 864 public Boolean isUseQuickJournal() { 865 return useQuickJournal; 866 } 867 868 /** 869 * Sets the value of the useQuickJournal property. 870 * 871 * @param value 872 * allowed object is 873 * {@link Boolean } 874 * 875 */ 876 public void setUseQuickJournal(Boolean value) { 877 this.useQuickJournal = value; 878 } 879 880 /** 881 * Gets the value of the id property. 882 * 883 * @return 884 * possible object is 885 * {@link String } 886 * 887 */ 888 public String getId() { 889 return id; 890 } 891 892 /** 893 * Sets the value of the id property. 894 * 895 * @param value 896 * allowed object is 897 * {@link String } 898 * 899 */ 900 public void setId(String value) { 901 this.id = value; 902 } 903 904 /** 905 * Gets a map that contains attributes that aren't bound to any typed property on this class. 906 * 907 * <p> 908 * the map is keyed by the name of the attribute and 909 * the value is the string value of the attribute. 910 * 911 * the map returned by this method is live, and you can add new attribute 912 * by updating the map directly. Because of this design, there's no setter. 913 * 914 * 915 * @return 916 * always non-null 917 */ 918 public Map<QName, String> getOtherAttributes() { 919 return otherAttributes; 920 } 921 922 public String toString() { 923 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 924 final StringBuilder buffer = new StringBuilder(); 925 append(null, buffer, strategy); 926 return buffer.toString(); 927 } 928 929 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 930 strategy.appendStart(locator, this, buffer); 931 appendFields(locator, buffer, strategy); 932 strategy.appendEnd(locator, this, buffer); 933 return buffer; 934 } 935 936 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 937 { 938 List<Object> theAdapterOrBrokerServiceOrDataSource; 939 theAdapterOrBrokerServiceOrDataSource = (((this.adapterOrBrokerServiceOrDataSource!= null)&&(!this.adapterOrBrokerServiceOrDataSource.isEmpty()))?this.getAdapterOrBrokerServiceOrDataSource():null); 940 strategy.appendField(locator, this, "adapterOrBrokerServiceOrDataSource", buffer, theAdapterOrBrokerServiceOrDataSource); 941 } 942 { 943 String theAdapter; 944 theAdapter = this.getAdapter(); 945 strategy.appendField(locator, this, "adapter", buffer, theAdapter); 946 } 947 { 948 String theBrokerService; 949 theBrokerService = this.getBrokerService(); 950 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 951 } 952 { 953 Long theCheckpointInterval; 954 theCheckpointInterval = this.getCheckpointInterval(); 955 strategy.appendField(locator, this, "checkpointInterval", buffer, theCheckpointInterval); 956 } 957 { 958 Boolean theCreateTablesOnStartup; 959 theCreateTablesOnStartup = this.isCreateTablesOnStartup(); 960 strategy.appendField(locator, this, "createTablesOnStartup", buffer, theCreateTablesOnStartup); 961 } 962 { 963 String theDataDirectory; 964 theDataDirectory = this.getDataDirectory(); 965 strategy.appendField(locator, this, "dataDirectory", buffer, theDataDirectory); 966 } 967 { 968 String theDataDirectoryFile; 969 theDataDirectoryFile = this.getDataDirectoryFile(); 970 strategy.appendField(locator, this, "dataDirectoryFile", buffer, theDataDirectoryFile); 971 } 972 { 973 String theDataSource; 974 theDataSource = this.getDataSource(); 975 strategy.appendField(locator, this, "dataSource", buffer, theDataSource); 976 } 977 { 978 String theJdbcAdapter; 979 theJdbcAdapter = this.getJdbcAdapter(); 980 strategy.appendField(locator, this, "jdbcAdapter", buffer, theJdbcAdapter); 981 } 982 { 983 String theJournal; 984 theJournal = this.getJournal(); 985 strategy.appendField(locator, this, "journal", buffer, theJournal); 986 } 987 { 988 String theJournalArchiveDirectory; 989 theJournalArchiveDirectory = this.getJournalArchiveDirectory(); 990 strategy.appendField(locator, this, "journalArchiveDirectory", buffer, theJournalArchiveDirectory); 991 } 992 { 993 String theJournalLogFileSize; 994 theJournalLogFileSize = this.getJournalLogFileSize(); 995 strategy.appendField(locator, this, "journalLogFileSize", buffer, theJournalLogFileSize); 996 } 997 { 998 BigInteger theJournalLogFiles; 999 theJournalLogFiles = this.getJournalLogFiles(); 1000 strategy.appendField(locator, this, "journalLogFiles", buffer, theJournalLogFiles); 1001 } 1002 { 1003 BigInteger theJournalThreadPriority; 1004 theJournalThreadPriority = this.getJournalThreadPriority(); 1005 strategy.appendField(locator, this, "journalThreadPriority", buffer, theJournalThreadPriority); 1006 } 1007 { 1008 Long theLockKeepAlivePeriod; 1009 theLockKeepAlivePeriod = this.getLockKeepAlivePeriod(); 1010 strategy.appendField(locator, this, "lockKeepAlivePeriod", buffer, theLockKeepAlivePeriod); 1011 } 1012 { 1013 String theLocker; 1014 theLocker = this.getLocker(); 1015 strategy.appendField(locator, this, "locker", buffer, theLocker); 1016 } 1017 { 1018 String theScheduledThreadPoolExecutor; 1019 theScheduledThreadPoolExecutor = this.getScheduledThreadPoolExecutor(); 1020 strategy.appendField(locator, this, "scheduledThreadPoolExecutor", buffer, theScheduledThreadPoolExecutor); 1021 } 1022 { 1023 String theStatements; 1024 theStatements = this.getStatements(); 1025 strategy.appendField(locator, this, "statements", buffer, theStatements); 1026 } 1027 { 1028 String theTaskRunnerFactory; 1029 theTaskRunnerFactory = this.getTaskRunnerFactory(); 1030 strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory); 1031 } 1032 { 1033 Boolean theUseDatabaseLock; 1034 theUseDatabaseLock = this.isUseDatabaseLock(); 1035 strategy.appendField(locator, this, "useDatabaseLock", buffer, theUseDatabaseLock); 1036 } 1037 { 1038 Boolean theUseDedicatedTaskRunner; 1039 theUseDedicatedTaskRunner = this.isUseDedicatedTaskRunner(); 1040 strategy.appendField(locator, this, "useDedicatedTaskRunner", buffer, theUseDedicatedTaskRunner); 1041 } 1042 { 1043 Boolean theUseJournal; 1044 theUseJournal = this.isUseJournal(); 1045 strategy.appendField(locator, this, "useJournal", buffer, theUseJournal); 1046 } 1047 { 1048 Boolean theUseLock; 1049 theUseLock = this.isUseLock(); 1050 strategy.appendField(locator, this, "useLock", buffer, theUseLock); 1051 } 1052 { 1053 Boolean theUseQuickJournal; 1054 theUseQuickJournal = this.isUseQuickJournal(); 1055 strategy.appendField(locator, this, "useQuickJournal", buffer, theUseQuickJournal); 1056 } 1057 { 1058 String theId; 1059 theId = this.getId(); 1060 strategy.appendField(locator, this, "id", buffer, theId); 1061 } 1062 return buffer; 1063 } 1064 1065 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1066 int currentHashCode = 1; 1067 { 1068 List<Object> theAdapterOrBrokerServiceOrDataSource; 1069 theAdapterOrBrokerServiceOrDataSource = (((this.adapterOrBrokerServiceOrDataSource!= null)&&(!this.adapterOrBrokerServiceOrDataSource.isEmpty()))?this.getAdapterOrBrokerServiceOrDataSource():null); 1070 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adapterOrBrokerServiceOrDataSource", theAdapterOrBrokerServiceOrDataSource), currentHashCode, theAdapterOrBrokerServiceOrDataSource); 1071 } 1072 { 1073 String theAdapter; 1074 theAdapter = this.getAdapter(); 1075 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adapter", theAdapter), currentHashCode, theAdapter); 1076 } 1077 { 1078 String theBrokerService; 1079 theBrokerService = this.getBrokerService(); 1080 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 1081 } 1082 { 1083 Long theCheckpointInterval; 1084 theCheckpointInterval = this.getCheckpointInterval(); 1085 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "checkpointInterval", theCheckpointInterval), currentHashCode, theCheckpointInterval); 1086 } 1087 { 1088 Boolean theCreateTablesOnStartup; 1089 theCreateTablesOnStartup = this.isCreateTablesOnStartup(); 1090 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createTablesOnStartup", theCreateTablesOnStartup), currentHashCode, theCreateTablesOnStartup); 1091 } 1092 { 1093 String theDataDirectory; 1094 theDataDirectory = this.getDataDirectory(); 1095 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dataDirectory", theDataDirectory), currentHashCode, theDataDirectory); 1096 } 1097 { 1098 String theDataDirectoryFile; 1099 theDataDirectoryFile = this.getDataDirectoryFile(); 1100 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dataDirectoryFile", theDataDirectoryFile), currentHashCode, theDataDirectoryFile); 1101 } 1102 { 1103 String theDataSource; 1104 theDataSource = this.getDataSource(); 1105 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dataSource", theDataSource), currentHashCode, theDataSource); 1106 } 1107 { 1108 String theJdbcAdapter; 1109 theJdbcAdapter = this.getJdbcAdapter(); 1110 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jdbcAdapter", theJdbcAdapter), currentHashCode, theJdbcAdapter); 1111 } 1112 { 1113 String theJournal; 1114 theJournal = this.getJournal(); 1115 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journal", theJournal), currentHashCode, theJournal); 1116 } 1117 { 1118 String theJournalArchiveDirectory; 1119 theJournalArchiveDirectory = this.getJournalArchiveDirectory(); 1120 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalArchiveDirectory", theJournalArchiveDirectory), currentHashCode, theJournalArchiveDirectory); 1121 } 1122 { 1123 String theJournalLogFileSize; 1124 theJournalLogFileSize = this.getJournalLogFileSize(); 1125 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalLogFileSize", theJournalLogFileSize), currentHashCode, theJournalLogFileSize); 1126 } 1127 { 1128 BigInteger theJournalLogFiles; 1129 theJournalLogFiles = this.getJournalLogFiles(); 1130 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalLogFiles", theJournalLogFiles), currentHashCode, theJournalLogFiles); 1131 } 1132 { 1133 BigInteger theJournalThreadPriority; 1134 theJournalThreadPriority = this.getJournalThreadPriority(); 1135 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalThreadPriority", theJournalThreadPriority), currentHashCode, theJournalThreadPriority); 1136 } 1137 { 1138 Long theLockKeepAlivePeriod; 1139 theLockKeepAlivePeriod = this.getLockKeepAlivePeriod(); 1140 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lockKeepAlivePeriod", theLockKeepAlivePeriod), currentHashCode, theLockKeepAlivePeriod); 1141 } 1142 { 1143 String theLocker; 1144 theLocker = this.getLocker(); 1145 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "locker", theLocker), currentHashCode, theLocker); 1146 } 1147 { 1148 String theScheduledThreadPoolExecutor; 1149 theScheduledThreadPoolExecutor = this.getScheduledThreadPoolExecutor(); 1150 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scheduledThreadPoolExecutor", theScheduledThreadPoolExecutor), currentHashCode, theScheduledThreadPoolExecutor); 1151 } 1152 { 1153 String theStatements; 1154 theStatements = this.getStatements(); 1155 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statements", theStatements), currentHashCode, theStatements); 1156 } 1157 { 1158 String theTaskRunnerFactory; 1159 theTaskRunnerFactory = this.getTaskRunnerFactory(); 1160 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory); 1161 } 1162 { 1163 Boolean theUseDatabaseLock; 1164 theUseDatabaseLock = this.isUseDatabaseLock(); 1165 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useDatabaseLock", theUseDatabaseLock), currentHashCode, theUseDatabaseLock); 1166 } 1167 { 1168 Boolean theUseDedicatedTaskRunner; 1169 theUseDedicatedTaskRunner = this.isUseDedicatedTaskRunner(); 1170 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useDedicatedTaskRunner", theUseDedicatedTaskRunner), currentHashCode, theUseDedicatedTaskRunner); 1171 } 1172 { 1173 Boolean theUseJournal; 1174 theUseJournal = this.isUseJournal(); 1175 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useJournal", theUseJournal), currentHashCode, theUseJournal); 1176 } 1177 { 1178 Boolean theUseLock; 1179 theUseLock = this.isUseLock(); 1180 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useLock", theUseLock), currentHashCode, theUseLock); 1181 } 1182 { 1183 Boolean theUseQuickJournal; 1184 theUseQuickJournal = this.isUseQuickJournal(); 1185 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useQuickJournal", theUseQuickJournal), currentHashCode, theUseQuickJournal); 1186 } 1187 { 1188 String theId; 1189 theId = this.getId(); 1190 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 1191 } 1192 return currentHashCode; 1193 } 1194 1195 public int hashCode() { 1196 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1197 return this.hashCode(null, strategy); 1198 } 1199 1200 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1201 if (!(object instanceof DtoJournalPersistenceAdapterFactory)) { 1202 return false; 1203 } 1204 if (this == object) { 1205 return true; 1206 } 1207 final DtoJournalPersistenceAdapterFactory that = ((DtoJournalPersistenceAdapterFactory) object); 1208 { 1209 List<Object> lhsAdapterOrBrokerServiceOrDataSource; 1210 lhsAdapterOrBrokerServiceOrDataSource = (((this.adapterOrBrokerServiceOrDataSource!= null)&&(!this.adapterOrBrokerServiceOrDataSource.isEmpty()))?this.getAdapterOrBrokerServiceOrDataSource():null); 1211 List<Object> rhsAdapterOrBrokerServiceOrDataSource; 1212 rhsAdapterOrBrokerServiceOrDataSource = (((that.adapterOrBrokerServiceOrDataSource!= null)&&(!that.adapterOrBrokerServiceOrDataSource.isEmpty()))?that.getAdapterOrBrokerServiceOrDataSource():null); 1213 if (!strategy.equals(LocatorUtils.property(thisLocator, "adapterOrBrokerServiceOrDataSource", lhsAdapterOrBrokerServiceOrDataSource), LocatorUtils.property(thatLocator, "adapterOrBrokerServiceOrDataSource", rhsAdapterOrBrokerServiceOrDataSource), lhsAdapterOrBrokerServiceOrDataSource, rhsAdapterOrBrokerServiceOrDataSource)) { 1214 return false; 1215 } 1216 } 1217 { 1218 String lhsAdapter; 1219 lhsAdapter = this.getAdapter(); 1220 String rhsAdapter; 1221 rhsAdapter = that.getAdapter(); 1222 if (!strategy.equals(LocatorUtils.property(thisLocator, "adapter", lhsAdapter), LocatorUtils.property(thatLocator, "adapter", rhsAdapter), lhsAdapter, rhsAdapter)) { 1223 return false; 1224 } 1225 } 1226 { 1227 String lhsBrokerService; 1228 lhsBrokerService = this.getBrokerService(); 1229 String rhsBrokerService; 1230 rhsBrokerService = that.getBrokerService(); 1231 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 1232 return false; 1233 } 1234 } 1235 { 1236 Long lhsCheckpointInterval; 1237 lhsCheckpointInterval = this.getCheckpointInterval(); 1238 Long rhsCheckpointInterval; 1239 rhsCheckpointInterval = that.getCheckpointInterval(); 1240 if (!strategy.equals(LocatorUtils.property(thisLocator, "checkpointInterval", lhsCheckpointInterval), LocatorUtils.property(thatLocator, "checkpointInterval", rhsCheckpointInterval), lhsCheckpointInterval, rhsCheckpointInterval)) { 1241 return false; 1242 } 1243 } 1244 { 1245 Boolean lhsCreateTablesOnStartup; 1246 lhsCreateTablesOnStartup = this.isCreateTablesOnStartup(); 1247 Boolean rhsCreateTablesOnStartup; 1248 rhsCreateTablesOnStartup = that.isCreateTablesOnStartup(); 1249 if (!strategy.equals(LocatorUtils.property(thisLocator, "createTablesOnStartup", lhsCreateTablesOnStartup), LocatorUtils.property(thatLocator, "createTablesOnStartup", rhsCreateTablesOnStartup), lhsCreateTablesOnStartup, rhsCreateTablesOnStartup)) { 1250 return false; 1251 } 1252 } 1253 { 1254 String lhsDataDirectory; 1255 lhsDataDirectory = this.getDataDirectory(); 1256 String rhsDataDirectory; 1257 rhsDataDirectory = that.getDataDirectory(); 1258 if (!strategy.equals(LocatorUtils.property(thisLocator, "dataDirectory", lhsDataDirectory), LocatorUtils.property(thatLocator, "dataDirectory", rhsDataDirectory), lhsDataDirectory, rhsDataDirectory)) { 1259 return false; 1260 } 1261 } 1262 { 1263 String lhsDataDirectoryFile; 1264 lhsDataDirectoryFile = this.getDataDirectoryFile(); 1265 String rhsDataDirectoryFile; 1266 rhsDataDirectoryFile = that.getDataDirectoryFile(); 1267 if (!strategy.equals(LocatorUtils.property(thisLocator, "dataDirectoryFile", lhsDataDirectoryFile), LocatorUtils.property(thatLocator, "dataDirectoryFile", rhsDataDirectoryFile), lhsDataDirectoryFile, rhsDataDirectoryFile)) { 1268 return false; 1269 } 1270 } 1271 { 1272 String lhsDataSource; 1273 lhsDataSource = this.getDataSource(); 1274 String rhsDataSource; 1275 rhsDataSource = that.getDataSource(); 1276 if (!strategy.equals(LocatorUtils.property(thisLocator, "dataSource", lhsDataSource), LocatorUtils.property(thatLocator, "dataSource", rhsDataSource), lhsDataSource, rhsDataSource)) { 1277 return false; 1278 } 1279 } 1280 { 1281 String lhsJdbcAdapter; 1282 lhsJdbcAdapter = this.getJdbcAdapter(); 1283 String rhsJdbcAdapter; 1284 rhsJdbcAdapter = that.getJdbcAdapter(); 1285 if (!strategy.equals(LocatorUtils.property(thisLocator, "jdbcAdapter", lhsJdbcAdapter), LocatorUtils.property(thatLocator, "jdbcAdapter", rhsJdbcAdapter), lhsJdbcAdapter, rhsJdbcAdapter)) { 1286 return false; 1287 } 1288 } 1289 { 1290 String lhsJournal; 1291 lhsJournal = this.getJournal(); 1292 String rhsJournal; 1293 rhsJournal = that.getJournal(); 1294 if (!strategy.equals(LocatorUtils.property(thisLocator, "journal", lhsJournal), LocatorUtils.property(thatLocator, "journal", rhsJournal), lhsJournal, rhsJournal)) { 1295 return false; 1296 } 1297 } 1298 { 1299 String lhsJournalArchiveDirectory; 1300 lhsJournalArchiveDirectory = this.getJournalArchiveDirectory(); 1301 String rhsJournalArchiveDirectory; 1302 rhsJournalArchiveDirectory = that.getJournalArchiveDirectory(); 1303 if (!strategy.equals(LocatorUtils.property(thisLocator, "journalArchiveDirectory", lhsJournalArchiveDirectory), LocatorUtils.property(thatLocator, "journalArchiveDirectory", rhsJournalArchiveDirectory), lhsJournalArchiveDirectory, rhsJournalArchiveDirectory)) { 1304 return false; 1305 } 1306 } 1307 { 1308 String lhsJournalLogFileSize; 1309 lhsJournalLogFileSize = this.getJournalLogFileSize(); 1310 String rhsJournalLogFileSize; 1311 rhsJournalLogFileSize = that.getJournalLogFileSize(); 1312 if (!strategy.equals(LocatorUtils.property(thisLocator, "journalLogFileSize", lhsJournalLogFileSize), LocatorUtils.property(thatLocator, "journalLogFileSize", rhsJournalLogFileSize), lhsJournalLogFileSize, rhsJournalLogFileSize)) { 1313 return false; 1314 } 1315 } 1316 { 1317 BigInteger lhsJournalLogFiles; 1318 lhsJournalLogFiles = this.getJournalLogFiles(); 1319 BigInteger rhsJournalLogFiles; 1320 rhsJournalLogFiles = that.getJournalLogFiles(); 1321 if (!strategy.equals(LocatorUtils.property(thisLocator, "journalLogFiles", lhsJournalLogFiles), LocatorUtils.property(thatLocator, "journalLogFiles", rhsJournalLogFiles), lhsJournalLogFiles, rhsJournalLogFiles)) { 1322 return false; 1323 } 1324 } 1325 { 1326 BigInteger lhsJournalThreadPriority; 1327 lhsJournalThreadPriority = this.getJournalThreadPriority(); 1328 BigInteger rhsJournalThreadPriority; 1329 rhsJournalThreadPriority = that.getJournalThreadPriority(); 1330 if (!strategy.equals(LocatorUtils.property(thisLocator, "journalThreadPriority", lhsJournalThreadPriority), LocatorUtils.property(thatLocator, "journalThreadPriority", rhsJournalThreadPriority), lhsJournalThreadPriority, rhsJournalThreadPriority)) { 1331 return false; 1332 } 1333 } 1334 { 1335 Long lhsLockKeepAlivePeriod; 1336 lhsLockKeepAlivePeriod = this.getLockKeepAlivePeriod(); 1337 Long rhsLockKeepAlivePeriod; 1338 rhsLockKeepAlivePeriod = that.getLockKeepAlivePeriod(); 1339 if (!strategy.equals(LocatorUtils.property(thisLocator, "lockKeepAlivePeriod", lhsLockKeepAlivePeriod), LocatorUtils.property(thatLocator, "lockKeepAlivePeriod", rhsLockKeepAlivePeriod), lhsLockKeepAlivePeriod, rhsLockKeepAlivePeriod)) { 1340 return false; 1341 } 1342 } 1343 { 1344 String lhsLocker; 1345 lhsLocker = this.getLocker(); 1346 String rhsLocker; 1347 rhsLocker = that.getLocker(); 1348 if (!strategy.equals(LocatorUtils.property(thisLocator, "locker", lhsLocker), LocatorUtils.property(thatLocator, "locker", rhsLocker), lhsLocker, rhsLocker)) { 1349 return false; 1350 } 1351 } 1352 { 1353 String lhsScheduledThreadPoolExecutor; 1354 lhsScheduledThreadPoolExecutor = this.getScheduledThreadPoolExecutor(); 1355 String rhsScheduledThreadPoolExecutor; 1356 rhsScheduledThreadPoolExecutor = that.getScheduledThreadPoolExecutor(); 1357 if (!strategy.equals(LocatorUtils.property(thisLocator, "scheduledThreadPoolExecutor", lhsScheduledThreadPoolExecutor), LocatorUtils.property(thatLocator, "scheduledThreadPoolExecutor", rhsScheduledThreadPoolExecutor), lhsScheduledThreadPoolExecutor, rhsScheduledThreadPoolExecutor)) { 1358 return false; 1359 } 1360 } 1361 { 1362 String lhsStatements; 1363 lhsStatements = this.getStatements(); 1364 String rhsStatements; 1365 rhsStatements = that.getStatements(); 1366 if (!strategy.equals(LocatorUtils.property(thisLocator, "statements", lhsStatements), LocatorUtils.property(thatLocator, "statements", rhsStatements), lhsStatements, rhsStatements)) { 1367 return false; 1368 } 1369 } 1370 { 1371 String lhsTaskRunnerFactory; 1372 lhsTaskRunnerFactory = this.getTaskRunnerFactory(); 1373 String rhsTaskRunnerFactory; 1374 rhsTaskRunnerFactory = that.getTaskRunnerFactory(); 1375 if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) { 1376 return false; 1377 } 1378 } 1379 { 1380 Boolean lhsUseDatabaseLock; 1381 lhsUseDatabaseLock = this.isUseDatabaseLock(); 1382 Boolean rhsUseDatabaseLock; 1383 rhsUseDatabaseLock = that.isUseDatabaseLock(); 1384 if (!strategy.equals(LocatorUtils.property(thisLocator, "useDatabaseLock", lhsUseDatabaseLock), LocatorUtils.property(thatLocator, "useDatabaseLock", rhsUseDatabaseLock), lhsUseDatabaseLock, rhsUseDatabaseLock)) { 1385 return false; 1386 } 1387 } 1388 { 1389 Boolean lhsUseDedicatedTaskRunner; 1390 lhsUseDedicatedTaskRunner = this.isUseDedicatedTaskRunner(); 1391 Boolean rhsUseDedicatedTaskRunner; 1392 rhsUseDedicatedTaskRunner = that.isUseDedicatedTaskRunner(); 1393 if (!strategy.equals(LocatorUtils.property(thisLocator, "useDedicatedTaskRunner", lhsUseDedicatedTaskRunner), LocatorUtils.property(thatLocator, "useDedicatedTaskRunner", rhsUseDedicatedTaskRunner), lhsUseDedicatedTaskRunner, rhsUseDedicatedTaskRunner)) { 1394 return false; 1395 } 1396 } 1397 { 1398 Boolean lhsUseJournal; 1399 lhsUseJournal = this.isUseJournal(); 1400 Boolean rhsUseJournal; 1401 rhsUseJournal = that.isUseJournal(); 1402 if (!strategy.equals(LocatorUtils.property(thisLocator, "useJournal", lhsUseJournal), LocatorUtils.property(thatLocator, "useJournal", rhsUseJournal), lhsUseJournal, rhsUseJournal)) { 1403 return false; 1404 } 1405 } 1406 { 1407 Boolean lhsUseLock; 1408 lhsUseLock = this.isUseLock(); 1409 Boolean rhsUseLock; 1410 rhsUseLock = that.isUseLock(); 1411 if (!strategy.equals(LocatorUtils.property(thisLocator, "useLock", lhsUseLock), LocatorUtils.property(thatLocator, "useLock", rhsUseLock), lhsUseLock, rhsUseLock)) { 1412 return false; 1413 } 1414 } 1415 { 1416 Boolean lhsUseQuickJournal; 1417 lhsUseQuickJournal = this.isUseQuickJournal(); 1418 Boolean rhsUseQuickJournal; 1419 rhsUseQuickJournal = that.isUseQuickJournal(); 1420 if (!strategy.equals(LocatorUtils.property(thisLocator, "useQuickJournal", lhsUseQuickJournal), LocatorUtils.property(thatLocator, "useQuickJournal", rhsUseQuickJournal), lhsUseQuickJournal, rhsUseQuickJournal)) { 1421 return false; 1422 } 1423 } 1424 { 1425 String lhsId; 1426 lhsId = this.getId(); 1427 String rhsId; 1428 rhsId = that.getId(); 1429 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 1430 return false; 1431 } 1432 } 1433 return true; 1434 } 1435 1436 public boolean equals(Object object) { 1437 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1438 return equals(null, null, object, strategy); 1439 } 1440 1441 1442 /** 1443 * <p>Java class for anonymous complex type. 1444 * 1445 * <p>The following schema fragment specifies the expected content contained within this class. 1446 * 1447 * <pre> 1448 * <complexType> 1449 * <complexContent> 1450 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1451 * <choice minOccurs="0"> 1452 * <element ref="{http://activemq.apache.org/schema/core}axionJDBCAdapter"/> 1453 * <element ref="{http://activemq.apache.org/schema/core}blobJDBCAdapter"/> 1454 * <element ref="{http://activemq.apache.org/schema/core}bytesJDBCAdapter"/> 1455 * <element ref="{http://activemq.apache.org/schema/core}db2JDBCAdapter"/> 1456 * <element ref="{http://activemq.apache.org/schema/core}defaultJDBCAdapter"/> 1457 * <element ref="{http://activemq.apache.org/schema/core}hsqldb-jdbc-adapter"/> 1458 * <element ref="{http://activemq.apache.org/schema/core}imageBasedJDBCAdaptor"/> 1459 * <element ref="{http://activemq.apache.org/schema/core}informixJDBCAdapter"/> 1460 * <element ref="{http://activemq.apache.org/schema/core}maxdb-jdbc-adapter"/> 1461 * <element ref="{http://activemq.apache.org/schema/core}mysql-jdbc-adapter"/> 1462 * <element ref="{http://activemq.apache.org/schema/core}oracleBlobJDBCAdapter"/> 1463 * <element ref="{http://activemq.apache.org/schema/core}oracleJDBCAdapter"/> 1464 * <element ref="{http://activemq.apache.org/schema/core}postgresql-jdbc-adapter"/> 1465 * <element ref="{http://activemq.apache.org/schema/core}sqlServerJDBCAdapter"/> 1466 * <element ref="{http://activemq.apache.org/schema/core}streamJDBCAdapter"/> 1467 * <element ref="{http://activemq.apache.org/schema/core}sybase-jdbc-adapter"/> 1468 * <element ref="{http://activemq.apache.org/schema/core}transact-jdbc-adapter"/> 1469 * <any namespace='##other'/> 1470 * </choice> 1471 * </restriction> 1472 * </complexContent> 1473 * </complexType> 1474 * </pre> 1475 * 1476 * 1477 */ 1478 @XmlAccessorType(XmlAccessType.FIELD) 1479 @XmlType(name = "", propOrder = { 1480 "axionJDBCAdapter", 1481 "blobJDBCAdapter", 1482 "bytesJDBCAdapter", 1483 "db2JDBCAdapter", 1484 "defaultJDBCAdapter", 1485 "hsqldbJdbcAdapter", 1486 "imageBasedJDBCAdaptor", 1487 "informixJDBCAdapter", 1488 "maxdbJdbcAdapter", 1489 "mysqlJdbcAdapter", 1490 "oracleBlobJDBCAdapter", 1491 "oracleJDBCAdapter", 1492 "postgresqlJdbcAdapter", 1493 "sqlServerJDBCAdapter", 1494 "streamJDBCAdapter", 1495 "sybaseJdbcAdapter", 1496 "transactJdbcAdapter", 1497 "any" 1498 }) 1499 public static class Adapter 1500 implements Equals, HashCode, ToString 1501 { 1502 1503 protected DtoAxionJDBCAdapter axionJDBCAdapter; 1504 protected DtoBlobJDBCAdapter blobJDBCAdapter; 1505 protected DtoBytesJDBCAdapter bytesJDBCAdapter; 1506 protected DtoDb2JDBCAdapter db2JDBCAdapter; 1507 protected DtoDefaultJDBCAdapter defaultJDBCAdapter; 1508 @XmlElement(name = "hsqldb-jdbc-adapter") 1509 protected DtoHsqldbJdbcAdapter hsqldbJdbcAdapter; 1510 protected DtoImageBasedJDBCAdaptor imageBasedJDBCAdaptor; 1511 protected DtoInformixJDBCAdapter informixJDBCAdapter; 1512 @XmlElement(name = "maxdb-jdbc-adapter") 1513 protected DtoMaxdbJdbcAdapter maxdbJdbcAdapter; 1514 @XmlElement(name = "mysql-jdbc-adapter") 1515 protected DtoMysqlJdbcAdapter mysqlJdbcAdapter; 1516 protected DtoOracleBlobJDBCAdapter oracleBlobJDBCAdapter; 1517 protected DtoOracleJDBCAdapter oracleJDBCAdapter; 1518 @XmlElement(name = "postgresql-jdbc-adapter") 1519 protected DtoPostgresqlJdbcAdapter postgresqlJdbcAdapter; 1520 protected DtoSqlServerJDBCAdapter sqlServerJDBCAdapter; 1521 protected DtoStreamJDBCAdapter streamJDBCAdapter; 1522 @XmlElement(name = "sybase-jdbc-adapter") 1523 protected DtoSybaseJdbcAdapter sybaseJdbcAdapter; 1524 @XmlElement(name = "transact-jdbc-adapter") 1525 protected DtoTransactJdbcAdapter transactJdbcAdapter; 1526 @XmlAnyElement(lax = true) 1527 protected Object any; 1528 1529 /** 1530 * Gets the value of the axionJDBCAdapter property. 1531 * 1532 * @return 1533 * possible object is 1534 * {@link DtoAxionJDBCAdapter } 1535 * 1536 */ 1537 public DtoAxionJDBCAdapter getAxionJDBCAdapter() { 1538 return axionJDBCAdapter; 1539 } 1540 1541 /** 1542 * Sets the value of the axionJDBCAdapter property. 1543 * 1544 * @param value 1545 * allowed object is 1546 * {@link DtoAxionJDBCAdapter } 1547 * 1548 */ 1549 public void setAxionJDBCAdapter(DtoAxionJDBCAdapter value) { 1550 this.axionJDBCAdapter = value; 1551 } 1552 1553 /** 1554 * Gets the value of the blobJDBCAdapter property. 1555 * 1556 * @return 1557 * possible object is 1558 * {@link DtoBlobJDBCAdapter } 1559 * 1560 */ 1561 public DtoBlobJDBCAdapter getBlobJDBCAdapter() { 1562 return blobJDBCAdapter; 1563 } 1564 1565 /** 1566 * Sets the value of the blobJDBCAdapter property. 1567 * 1568 * @param value 1569 * allowed object is 1570 * {@link DtoBlobJDBCAdapter } 1571 * 1572 */ 1573 public void setBlobJDBCAdapter(DtoBlobJDBCAdapter value) { 1574 this.blobJDBCAdapter = value; 1575 } 1576 1577 /** 1578 * Gets the value of the bytesJDBCAdapter property. 1579 * 1580 * @return 1581 * possible object is 1582 * {@link DtoBytesJDBCAdapter } 1583 * 1584 */ 1585 public DtoBytesJDBCAdapter getBytesJDBCAdapter() { 1586 return bytesJDBCAdapter; 1587 } 1588 1589 /** 1590 * Sets the value of the bytesJDBCAdapter property. 1591 * 1592 * @param value 1593 * allowed object is 1594 * {@link DtoBytesJDBCAdapter } 1595 * 1596 */ 1597 public void setBytesJDBCAdapter(DtoBytesJDBCAdapter value) { 1598 this.bytesJDBCAdapter = value; 1599 } 1600 1601 /** 1602 * Gets the value of the db2JDBCAdapter property. 1603 * 1604 * @return 1605 * possible object is 1606 * {@link DtoDb2JDBCAdapter } 1607 * 1608 */ 1609 public DtoDb2JDBCAdapter getDb2JDBCAdapter() { 1610 return db2JDBCAdapter; 1611 } 1612 1613 /** 1614 * Sets the value of the db2JDBCAdapter property. 1615 * 1616 * @param value 1617 * allowed object is 1618 * {@link DtoDb2JDBCAdapter } 1619 * 1620 */ 1621 public void setDb2JDBCAdapter(DtoDb2JDBCAdapter value) { 1622 this.db2JDBCAdapter = value; 1623 } 1624 1625 /** 1626 * Gets the value of the defaultJDBCAdapter property. 1627 * 1628 * @return 1629 * possible object is 1630 * {@link DtoDefaultJDBCAdapter } 1631 * 1632 */ 1633 public DtoDefaultJDBCAdapter getDefaultJDBCAdapter() { 1634 return defaultJDBCAdapter; 1635 } 1636 1637 /** 1638 * Sets the value of the defaultJDBCAdapter property. 1639 * 1640 * @param value 1641 * allowed object is 1642 * {@link DtoDefaultJDBCAdapter } 1643 * 1644 */ 1645 public void setDefaultJDBCAdapter(DtoDefaultJDBCAdapter value) { 1646 this.defaultJDBCAdapter = value; 1647 } 1648 1649 /** 1650 * Gets the value of the hsqldbJdbcAdapter property. 1651 * 1652 * @return 1653 * possible object is 1654 * {@link DtoHsqldbJdbcAdapter } 1655 * 1656 */ 1657 public DtoHsqldbJdbcAdapter getHsqldbJdbcAdapter() { 1658 return hsqldbJdbcAdapter; 1659 } 1660 1661 /** 1662 * Sets the value of the hsqldbJdbcAdapter property. 1663 * 1664 * @param value 1665 * allowed object is 1666 * {@link DtoHsqldbJdbcAdapter } 1667 * 1668 */ 1669 public void setHsqldbJdbcAdapter(DtoHsqldbJdbcAdapter value) { 1670 this.hsqldbJdbcAdapter = value; 1671 } 1672 1673 /** 1674 * Gets the value of the imageBasedJDBCAdaptor property. 1675 * 1676 * @return 1677 * possible object is 1678 * {@link DtoImageBasedJDBCAdaptor } 1679 * 1680 */ 1681 public DtoImageBasedJDBCAdaptor getImageBasedJDBCAdaptor() { 1682 return imageBasedJDBCAdaptor; 1683 } 1684 1685 /** 1686 * Sets the value of the imageBasedJDBCAdaptor property. 1687 * 1688 * @param value 1689 * allowed object is 1690 * {@link DtoImageBasedJDBCAdaptor } 1691 * 1692 */ 1693 public void setImageBasedJDBCAdaptor(DtoImageBasedJDBCAdaptor value) { 1694 this.imageBasedJDBCAdaptor = value; 1695 } 1696 1697 /** 1698 * Gets the value of the informixJDBCAdapter property. 1699 * 1700 * @return 1701 * possible object is 1702 * {@link DtoInformixJDBCAdapter } 1703 * 1704 */ 1705 public DtoInformixJDBCAdapter getInformixJDBCAdapter() { 1706 return informixJDBCAdapter; 1707 } 1708 1709 /** 1710 * Sets the value of the informixJDBCAdapter property. 1711 * 1712 * @param value 1713 * allowed object is 1714 * {@link DtoInformixJDBCAdapter } 1715 * 1716 */ 1717 public void setInformixJDBCAdapter(DtoInformixJDBCAdapter value) { 1718 this.informixJDBCAdapter = value; 1719 } 1720 1721 /** 1722 * Gets the value of the maxdbJdbcAdapter property. 1723 * 1724 * @return 1725 * possible object is 1726 * {@link DtoMaxdbJdbcAdapter } 1727 * 1728 */ 1729 public DtoMaxdbJdbcAdapter getMaxdbJdbcAdapter() { 1730 return maxdbJdbcAdapter; 1731 } 1732 1733 /** 1734 * Sets the value of the maxdbJdbcAdapter property. 1735 * 1736 * @param value 1737 * allowed object is 1738 * {@link DtoMaxdbJdbcAdapter } 1739 * 1740 */ 1741 public void setMaxdbJdbcAdapter(DtoMaxdbJdbcAdapter value) { 1742 this.maxdbJdbcAdapter = value; 1743 } 1744 1745 /** 1746 * Gets the value of the mysqlJdbcAdapter property. 1747 * 1748 * @return 1749 * possible object is 1750 * {@link DtoMysqlJdbcAdapter } 1751 * 1752 */ 1753 public DtoMysqlJdbcAdapter getMysqlJdbcAdapter() { 1754 return mysqlJdbcAdapter; 1755 } 1756 1757 /** 1758 * Sets the value of the mysqlJdbcAdapter property. 1759 * 1760 * @param value 1761 * allowed object is 1762 * {@link DtoMysqlJdbcAdapter } 1763 * 1764 */ 1765 public void setMysqlJdbcAdapter(DtoMysqlJdbcAdapter value) { 1766 this.mysqlJdbcAdapter = value; 1767 } 1768 1769 /** 1770 * Gets the value of the oracleBlobJDBCAdapter property. 1771 * 1772 * @return 1773 * possible object is 1774 * {@link DtoOracleBlobJDBCAdapter } 1775 * 1776 */ 1777 public DtoOracleBlobJDBCAdapter getOracleBlobJDBCAdapter() { 1778 return oracleBlobJDBCAdapter; 1779 } 1780 1781 /** 1782 * Sets the value of the oracleBlobJDBCAdapter property. 1783 * 1784 * @param value 1785 * allowed object is 1786 * {@link DtoOracleBlobJDBCAdapter } 1787 * 1788 */ 1789 public void setOracleBlobJDBCAdapter(DtoOracleBlobJDBCAdapter value) { 1790 this.oracleBlobJDBCAdapter = value; 1791 } 1792 1793 /** 1794 * Gets the value of the oracleJDBCAdapter property. 1795 * 1796 * @return 1797 * possible object is 1798 * {@link DtoOracleJDBCAdapter } 1799 * 1800 */ 1801 public DtoOracleJDBCAdapter getOracleJDBCAdapter() { 1802 return oracleJDBCAdapter; 1803 } 1804 1805 /** 1806 * Sets the value of the oracleJDBCAdapter property. 1807 * 1808 * @param value 1809 * allowed object is 1810 * {@link DtoOracleJDBCAdapter } 1811 * 1812 */ 1813 public void setOracleJDBCAdapter(DtoOracleJDBCAdapter value) { 1814 this.oracleJDBCAdapter = value; 1815 } 1816 1817 /** 1818 * Gets the value of the postgresqlJdbcAdapter property. 1819 * 1820 * @return 1821 * possible object is 1822 * {@link DtoPostgresqlJdbcAdapter } 1823 * 1824 */ 1825 public DtoPostgresqlJdbcAdapter getPostgresqlJdbcAdapter() { 1826 return postgresqlJdbcAdapter; 1827 } 1828 1829 /** 1830 * Sets the value of the postgresqlJdbcAdapter property. 1831 * 1832 * @param value 1833 * allowed object is 1834 * {@link DtoPostgresqlJdbcAdapter } 1835 * 1836 */ 1837 public void setPostgresqlJdbcAdapter(DtoPostgresqlJdbcAdapter value) { 1838 this.postgresqlJdbcAdapter = value; 1839 } 1840 1841 /** 1842 * Gets the value of the sqlServerJDBCAdapter property. 1843 * 1844 * @return 1845 * possible object is 1846 * {@link DtoSqlServerJDBCAdapter } 1847 * 1848 */ 1849 public DtoSqlServerJDBCAdapter getSqlServerJDBCAdapter() { 1850 return sqlServerJDBCAdapter; 1851 } 1852 1853 /** 1854 * Sets the value of the sqlServerJDBCAdapter property. 1855 * 1856 * @param value 1857 * allowed object is 1858 * {@link DtoSqlServerJDBCAdapter } 1859 * 1860 */ 1861 public void setSqlServerJDBCAdapter(DtoSqlServerJDBCAdapter value) { 1862 this.sqlServerJDBCAdapter = value; 1863 } 1864 1865 /** 1866 * Gets the value of the streamJDBCAdapter property. 1867 * 1868 * @return 1869 * possible object is 1870 * {@link DtoStreamJDBCAdapter } 1871 * 1872 */ 1873 public DtoStreamJDBCAdapter getStreamJDBCAdapter() { 1874 return streamJDBCAdapter; 1875 } 1876 1877 /** 1878 * Sets the value of the streamJDBCAdapter property. 1879 * 1880 * @param value 1881 * allowed object is 1882 * {@link DtoStreamJDBCAdapter } 1883 * 1884 */ 1885 public void setStreamJDBCAdapter(DtoStreamJDBCAdapter value) { 1886 this.streamJDBCAdapter = value; 1887 } 1888 1889 /** 1890 * Gets the value of the sybaseJdbcAdapter property. 1891 * 1892 * @return 1893 * possible object is 1894 * {@link DtoSybaseJdbcAdapter } 1895 * 1896 */ 1897 public DtoSybaseJdbcAdapter getSybaseJdbcAdapter() { 1898 return sybaseJdbcAdapter; 1899 } 1900 1901 /** 1902 * Sets the value of the sybaseJdbcAdapter property. 1903 * 1904 * @param value 1905 * allowed object is 1906 * {@link DtoSybaseJdbcAdapter } 1907 * 1908 */ 1909 public void setSybaseJdbcAdapter(DtoSybaseJdbcAdapter value) { 1910 this.sybaseJdbcAdapter = value; 1911 } 1912 1913 /** 1914 * Gets the value of the transactJdbcAdapter property. 1915 * 1916 * @return 1917 * possible object is 1918 * {@link DtoTransactJdbcAdapter } 1919 * 1920 */ 1921 public DtoTransactJdbcAdapter getTransactJdbcAdapter() { 1922 return transactJdbcAdapter; 1923 } 1924 1925 /** 1926 * Sets the value of the transactJdbcAdapter property. 1927 * 1928 * @param value 1929 * allowed object is 1930 * {@link DtoTransactJdbcAdapter } 1931 * 1932 */ 1933 public void setTransactJdbcAdapter(DtoTransactJdbcAdapter value) { 1934 this.transactJdbcAdapter = value; 1935 } 1936 1937 /** 1938 * Gets the value of the any property. 1939 * 1940 * @return 1941 * possible object is 1942 * {@link Object } 1943 * 1944 */ 1945 public Object getAny() { 1946 return any; 1947 } 1948 1949 /** 1950 * Sets the value of the any property. 1951 * 1952 * @param value 1953 * allowed object is 1954 * {@link Object } 1955 * 1956 */ 1957 public void setAny(Object value) { 1958 this.any = value; 1959 } 1960 1961 public String toString() { 1962 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1963 final StringBuilder buffer = new StringBuilder(); 1964 append(null, buffer, strategy); 1965 return buffer.toString(); 1966 } 1967 1968 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1969 strategy.appendStart(locator, this, buffer); 1970 appendFields(locator, buffer, strategy); 1971 strategy.appendEnd(locator, this, buffer); 1972 return buffer; 1973 } 1974 1975 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1976 { 1977 DtoAxionJDBCAdapter theAxionJDBCAdapter; 1978 theAxionJDBCAdapter = this.getAxionJDBCAdapter(); 1979 strategy.appendField(locator, this, "axionJDBCAdapter", buffer, theAxionJDBCAdapter); 1980 } 1981 { 1982 DtoBlobJDBCAdapter theBlobJDBCAdapter; 1983 theBlobJDBCAdapter = this.getBlobJDBCAdapter(); 1984 strategy.appendField(locator, this, "blobJDBCAdapter", buffer, theBlobJDBCAdapter); 1985 } 1986 { 1987 DtoBytesJDBCAdapter theBytesJDBCAdapter; 1988 theBytesJDBCAdapter = this.getBytesJDBCAdapter(); 1989 strategy.appendField(locator, this, "bytesJDBCAdapter", buffer, theBytesJDBCAdapter); 1990 } 1991 { 1992 DtoDb2JDBCAdapter theDb2JDBCAdapter; 1993 theDb2JDBCAdapter = this.getDb2JDBCAdapter(); 1994 strategy.appendField(locator, this, "db2JDBCAdapter", buffer, theDb2JDBCAdapter); 1995 } 1996 { 1997 DtoDefaultJDBCAdapter theDefaultJDBCAdapter; 1998 theDefaultJDBCAdapter = this.getDefaultJDBCAdapter(); 1999 strategy.appendField(locator, this, "defaultJDBCAdapter", buffer, theDefaultJDBCAdapter); 2000 } 2001 { 2002 DtoHsqldbJdbcAdapter theHsqldbJdbcAdapter; 2003 theHsqldbJdbcAdapter = this.getHsqldbJdbcAdapter(); 2004 strategy.appendField(locator, this, "hsqldbJdbcAdapter", buffer, theHsqldbJdbcAdapter); 2005 } 2006 { 2007 DtoImageBasedJDBCAdaptor theImageBasedJDBCAdaptor; 2008 theImageBasedJDBCAdaptor = this.getImageBasedJDBCAdaptor(); 2009 strategy.appendField(locator, this, "imageBasedJDBCAdaptor", buffer, theImageBasedJDBCAdaptor); 2010 } 2011 { 2012 DtoInformixJDBCAdapter theInformixJDBCAdapter; 2013 theInformixJDBCAdapter = this.getInformixJDBCAdapter(); 2014 strategy.appendField(locator, this, "informixJDBCAdapter", buffer, theInformixJDBCAdapter); 2015 } 2016 { 2017 DtoMaxdbJdbcAdapter theMaxdbJdbcAdapter; 2018 theMaxdbJdbcAdapter = this.getMaxdbJdbcAdapter(); 2019 strategy.appendField(locator, this, "maxdbJdbcAdapter", buffer, theMaxdbJdbcAdapter); 2020 } 2021 { 2022 DtoMysqlJdbcAdapter theMysqlJdbcAdapter; 2023 theMysqlJdbcAdapter = this.getMysqlJdbcAdapter(); 2024 strategy.appendField(locator, this, "mysqlJdbcAdapter", buffer, theMysqlJdbcAdapter); 2025 } 2026 { 2027 DtoOracleBlobJDBCAdapter theOracleBlobJDBCAdapter; 2028 theOracleBlobJDBCAdapter = this.getOracleBlobJDBCAdapter(); 2029 strategy.appendField(locator, this, "oracleBlobJDBCAdapter", buffer, theOracleBlobJDBCAdapter); 2030 } 2031 { 2032 DtoOracleJDBCAdapter theOracleJDBCAdapter; 2033 theOracleJDBCAdapter = this.getOracleJDBCAdapter(); 2034 strategy.appendField(locator, this, "oracleJDBCAdapter", buffer, theOracleJDBCAdapter); 2035 } 2036 { 2037 DtoPostgresqlJdbcAdapter thePostgresqlJdbcAdapter; 2038 thePostgresqlJdbcAdapter = this.getPostgresqlJdbcAdapter(); 2039 strategy.appendField(locator, this, "postgresqlJdbcAdapter", buffer, thePostgresqlJdbcAdapter); 2040 } 2041 { 2042 DtoSqlServerJDBCAdapter theSqlServerJDBCAdapter; 2043 theSqlServerJDBCAdapter = this.getSqlServerJDBCAdapter(); 2044 strategy.appendField(locator, this, "sqlServerJDBCAdapter", buffer, theSqlServerJDBCAdapter); 2045 } 2046 { 2047 DtoStreamJDBCAdapter theStreamJDBCAdapter; 2048 theStreamJDBCAdapter = this.getStreamJDBCAdapter(); 2049 strategy.appendField(locator, this, "streamJDBCAdapter", buffer, theStreamJDBCAdapter); 2050 } 2051 { 2052 DtoSybaseJdbcAdapter theSybaseJdbcAdapter; 2053 theSybaseJdbcAdapter = this.getSybaseJdbcAdapter(); 2054 strategy.appendField(locator, this, "sybaseJdbcAdapter", buffer, theSybaseJdbcAdapter); 2055 } 2056 { 2057 DtoTransactJdbcAdapter theTransactJdbcAdapter; 2058 theTransactJdbcAdapter = this.getTransactJdbcAdapter(); 2059 strategy.appendField(locator, this, "transactJdbcAdapter", buffer, theTransactJdbcAdapter); 2060 } 2061 { 2062 Object theAny; 2063 theAny = this.getAny(); 2064 strategy.appendField(locator, this, "any", buffer, theAny); 2065 } 2066 return buffer; 2067 } 2068 2069 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2070 int currentHashCode = 1; 2071 { 2072 DtoAxionJDBCAdapter theAxionJDBCAdapter; 2073 theAxionJDBCAdapter = this.getAxionJDBCAdapter(); 2074 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "axionJDBCAdapter", theAxionJDBCAdapter), currentHashCode, theAxionJDBCAdapter); 2075 } 2076 { 2077 DtoBlobJDBCAdapter theBlobJDBCAdapter; 2078 theBlobJDBCAdapter = this.getBlobJDBCAdapter(); 2079 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "blobJDBCAdapter", theBlobJDBCAdapter), currentHashCode, theBlobJDBCAdapter); 2080 } 2081 { 2082 DtoBytesJDBCAdapter theBytesJDBCAdapter; 2083 theBytesJDBCAdapter = this.getBytesJDBCAdapter(); 2084 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bytesJDBCAdapter", theBytesJDBCAdapter), currentHashCode, theBytesJDBCAdapter); 2085 } 2086 { 2087 DtoDb2JDBCAdapter theDb2JDBCAdapter; 2088 theDb2JDBCAdapter = this.getDb2JDBCAdapter(); 2089 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "db2JDBCAdapter", theDb2JDBCAdapter), currentHashCode, theDb2JDBCAdapter); 2090 } 2091 { 2092 DtoDefaultJDBCAdapter theDefaultJDBCAdapter; 2093 theDefaultJDBCAdapter = this.getDefaultJDBCAdapter(); 2094 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "defaultJDBCAdapter", theDefaultJDBCAdapter), currentHashCode, theDefaultJDBCAdapter); 2095 } 2096 { 2097 DtoHsqldbJdbcAdapter theHsqldbJdbcAdapter; 2098 theHsqldbJdbcAdapter = this.getHsqldbJdbcAdapter(); 2099 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hsqldbJdbcAdapter", theHsqldbJdbcAdapter), currentHashCode, theHsqldbJdbcAdapter); 2100 } 2101 { 2102 DtoImageBasedJDBCAdaptor theImageBasedJDBCAdaptor; 2103 theImageBasedJDBCAdaptor = this.getImageBasedJDBCAdaptor(); 2104 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "imageBasedJDBCAdaptor", theImageBasedJDBCAdaptor), currentHashCode, theImageBasedJDBCAdaptor); 2105 } 2106 { 2107 DtoInformixJDBCAdapter theInformixJDBCAdapter; 2108 theInformixJDBCAdapter = this.getInformixJDBCAdapter(); 2109 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "informixJDBCAdapter", theInformixJDBCAdapter), currentHashCode, theInformixJDBCAdapter); 2110 } 2111 { 2112 DtoMaxdbJdbcAdapter theMaxdbJdbcAdapter; 2113 theMaxdbJdbcAdapter = this.getMaxdbJdbcAdapter(); 2114 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxdbJdbcAdapter", theMaxdbJdbcAdapter), currentHashCode, theMaxdbJdbcAdapter); 2115 } 2116 { 2117 DtoMysqlJdbcAdapter theMysqlJdbcAdapter; 2118 theMysqlJdbcAdapter = this.getMysqlJdbcAdapter(); 2119 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mysqlJdbcAdapter", theMysqlJdbcAdapter), currentHashCode, theMysqlJdbcAdapter); 2120 } 2121 { 2122 DtoOracleBlobJDBCAdapter theOracleBlobJDBCAdapter; 2123 theOracleBlobJDBCAdapter = this.getOracleBlobJDBCAdapter(); 2124 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oracleBlobJDBCAdapter", theOracleBlobJDBCAdapter), currentHashCode, theOracleBlobJDBCAdapter); 2125 } 2126 { 2127 DtoOracleJDBCAdapter theOracleJDBCAdapter; 2128 theOracleJDBCAdapter = this.getOracleJDBCAdapter(); 2129 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "oracleJDBCAdapter", theOracleJDBCAdapter), currentHashCode, theOracleJDBCAdapter); 2130 } 2131 { 2132 DtoPostgresqlJdbcAdapter thePostgresqlJdbcAdapter; 2133 thePostgresqlJdbcAdapter = this.getPostgresqlJdbcAdapter(); 2134 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "postgresqlJdbcAdapter", thePostgresqlJdbcAdapter), currentHashCode, thePostgresqlJdbcAdapter); 2135 } 2136 { 2137 DtoSqlServerJDBCAdapter theSqlServerJDBCAdapter; 2138 theSqlServerJDBCAdapter = this.getSqlServerJDBCAdapter(); 2139 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sqlServerJDBCAdapter", theSqlServerJDBCAdapter), currentHashCode, theSqlServerJDBCAdapter); 2140 } 2141 { 2142 DtoStreamJDBCAdapter theStreamJDBCAdapter; 2143 theStreamJDBCAdapter = this.getStreamJDBCAdapter(); 2144 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "streamJDBCAdapter", theStreamJDBCAdapter), currentHashCode, theStreamJDBCAdapter); 2145 } 2146 { 2147 DtoSybaseJdbcAdapter theSybaseJdbcAdapter; 2148 theSybaseJdbcAdapter = this.getSybaseJdbcAdapter(); 2149 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sybaseJdbcAdapter", theSybaseJdbcAdapter), currentHashCode, theSybaseJdbcAdapter); 2150 } 2151 { 2152 DtoTransactJdbcAdapter theTransactJdbcAdapter; 2153 theTransactJdbcAdapter = this.getTransactJdbcAdapter(); 2154 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transactJdbcAdapter", theTransactJdbcAdapter), currentHashCode, theTransactJdbcAdapter); 2155 } 2156 { 2157 Object theAny; 2158 theAny = this.getAny(); 2159 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2160 } 2161 return currentHashCode; 2162 } 2163 2164 public int hashCode() { 2165 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2166 return this.hashCode(null, strategy); 2167 } 2168 2169 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2170 if (!(object instanceof DtoJournalPersistenceAdapterFactory.Adapter)) { 2171 return false; 2172 } 2173 if (this == object) { 2174 return true; 2175 } 2176 final DtoJournalPersistenceAdapterFactory.Adapter that = ((DtoJournalPersistenceAdapterFactory.Adapter) object); 2177 { 2178 DtoAxionJDBCAdapter lhsAxionJDBCAdapter; 2179 lhsAxionJDBCAdapter = this.getAxionJDBCAdapter(); 2180 DtoAxionJDBCAdapter rhsAxionJDBCAdapter; 2181 rhsAxionJDBCAdapter = that.getAxionJDBCAdapter(); 2182 if (!strategy.equals(LocatorUtils.property(thisLocator, "axionJDBCAdapter", lhsAxionJDBCAdapter), LocatorUtils.property(thatLocator, "axionJDBCAdapter", rhsAxionJDBCAdapter), lhsAxionJDBCAdapter, rhsAxionJDBCAdapter)) { 2183 return false; 2184 } 2185 } 2186 { 2187 DtoBlobJDBCAdapter lhsBlobJDBCAdapter; 2188 lhsBlobJDBCAdapter = this.getBlobJDBCAdapter(); 2189 DtoBlobJDBCAdapter rhsBlobJDBCAdapter; 2190 rhsBlobJDBCAdapter = that.getBlobJDBCAdapter(); 2191 if (!strategy.equals(LocatorUtils.property(thisLocator, "blobJDBCAdapter", lhsBlobJDBCAdapter), LocatorUtils.property(thatLocator, "blobJDBCAdapter", rhsBlobJDBCAdapter), lhsBlobJDBCAdapter, rhsBlobJDBCAdapter)) { 2192 return false; 2193 } 2194 } 2195 { 2196 DtoBytesJDBCAdapter lhsBytesJDBCAdapter; 2197 lhsBytesJDBCAdapter = this.getBytesJDBCAdapter(); 2198 DtoBytesJDBCAdapter rhsBytesJDBCAdapter; 2199 rhsBytesJDBCAdapter = that.getBytesJDBCAdapter(); 2200 if (!strategy.equals(LocatorUtils.property(thisLocator, "bytesJDBCAdapter", lhsBytesJDBCAdapter), LocatorUtils.property(thatLocator, "bytesJDBCAdapter", rhsBytesJDBCAdapter), lhsBytesJDBCAdapter, rhsBytesJDBCAdapter)) { 2201 return false; 2202 } 2203 } 2204 { 2205 DtoDb2JDBCAdapter lhsDb2JDBCAdapter; 2206 lhsDb2JDBCAdapter = this.getDb2JDBCAdapter(); 2207 DtoDb2JDBCAdapter rhsDb2JDBCAdapter; 2208 rhsDb2JDBCAdapter = that.getDb2JDBCAdapter(); 2209 if (!strategy.equals(LocatorUtils.property(thisLocator, "db2JDBCAdapter", lhsDb2JDBCAdapter), LocatorUtils.property(thatLocator, "db2JDBCAdapter", rhsDb2JDBCAdapter), lhsDb2JDBCAdapter, rhsDb2JDBCAdapter)) { 2210 return false; 2211 } 2212 } 2213 { 2214 DtoDefaultJDBCAdapter lhsDefaultJDBCAdapter; 2215 lhsDefaultJDBCAdapter = this.getDefaultJDBCAdapter(); 2216 DtoDefaultJDBCAdapter rhsDefaultJDBCAdapter; 2217 rhsDefaultJDBCAdapter = that.getDefaultJDBCAdapter(); 2218 if (!strategy.equals(LocatorUtils.property(thisLocator, "defaultJDBCAdapter", lhsDefaultJDBCAdapter), LocatorUtils.property(thatLocator, "defaultJDBCAdapter", rhsDefaultJDBCAdapter), lhsDefaultJDBCAdapter, rhsDefaultJDBCAdapter)) { 2219 return false; 2220 } 2221 } 2222 { 2223 DtoHsqldbJdbcAdapter lhsHsqldbJdbcAdapter; 2224 lhsHsqldbJdbcAdapter = this.getHsqldbJdbcAdapter(); 2225 DtoHsqldbJdbcAdapter rhsHsqldbJdbcAdapter; 2226 rhsHsqldbJdbcAdapter = that.getHsqldbJdbcAdapter(); 2227 if (!strategy.equals(LocatorUtils.property(thisLocator, "hsqldbJdbcAdapter", lhsHsqldbJdbcAdapter), LocatorUtils.property(thatLocator, "hsqldbJdbcAdapter", rhsHsqldbJdbcAdapter), lhsHsqldbJdbcAdapter, rhsHsqldbJdbcAdapter)) { 2228 return false; 2229 } 2230 } 2231 { 2232 DtoImageBasedJDBCAdaptor lhsImageBasedJDBCAdaptor; 2233 lhsImageBasedJDBCAdaptor = this.getImageBasedJDBCAdaptor(); 2234 DtoImageBasedJDBCAdaptor rhsImageBasedJDBCAdaptor; 2235 rhsImageBasedJDBCAdaptor = that.getImageBasedJDBCAdaptor(); 2236 if (!strategy.equals(LocatorUtils.property(thisLocator, "imageBasedJDBCAdaptor", lhsImageBasedJDBCAdaptor), LocatorUtils.property(thatLocator, "imageBasedJDBCAdaptor", rhsImageBasedJDBCAdaptor), lhsImageBasedJDBCAdaptor, rhsImageBasedJDBCAdaptor)) { 2237 return false; 2238 } 2239 } 2240 { 2241 DtoInformixJDBCAdapter lhsInformixJDBCAdapter; 2242 lhsInformixJDBCAdapter = this.getInformixJDBCAdapter(); 2243 DtoInformixJDBCAdapter rhsInformixJDBCAdapter; 2244 rhsInformixJDBCAdapter = that.getInformixJDBCAdapter(); 2245 if (!strategy.equals(LocatorUtils.property(thisLocator, "informixJDBCAdapter", lhsInformixJDBCAdapter), LocatorUtils.property(thatLocator, "informixJDBCAdapter", rhsInformixJDBCAdapter), lhsInformixJDBCAdapter, rhsInformixJDBCAdapter)) { 2246 return false; 2247 } 2248 } 2249 { 2250 DtoMaxdbJdbcAdapter lhsMaxdbJdbcAdapter; 2251 lhsMaxdbJdbcAdapter = this.getMaxdbJdbcAdapter(); 2252 DtoMaxdbJdbcAdapter rhsMaxdbJdbcAdapter; 2253 rhsMaxdbJdbcAdapter = that.getMaxdbJdbcAdapter(); 2254 if (!strategy.equals(LocatorUtils.property(thisLocator, "maxdbJdbcAdapter", lhsMaxdbJdbcAdapter), LocatorUtils.property(thatLocator, "maxdbJdbcAdapter", rhsMaxdbJdbcAdapter), lhsMaxdbJdbcAdapter, rhsMaxdbJdbcAdapter)) { 2255 return false; 2256 } 2257 } 2258 { 2259 DtoMysqlJdbcAdapter lhsMysqlJdbcAdapter; 2260 lhsMysqlJdbcAdapter = this.getMysqlJdbcAdapter(); 2261 DtoMysqlJdbcAdapter rhsMysqlJdbcAdapter; 2262 rhsMysqlJdbcAdapter = that.getMysqlJdbcAdapter(); 2263 if (!strategy.equals(LocatorUtils.property(thisLocator, "mysqlJdbcAdapter", lhsMysqlJdbcAdapter), LocatorUtils.property(thatLocator, "mysqlJdbcAdapter", rhsMysqlJdbcAdapter), lhsMysqlJdbcAdapter, rhsMysqlJdbcAdapter)) { 2264 return false; 2265 } 2266 } 2267 { 2268 DtoOracleBlobJDBCAdapter lhsOracleBlobJDBCAdapter; 2269 lhsOracleBlobJDBCAdapter = this.getOracleBlobJDBCAdapter(); 2270 DtoOracleBlobJDBCAdapter rhsOracleBlobJDBCAdapter; 2271 rhsOracleBlobJDBCAdapter = that.getOracleBlobJDBCAdapter(); 2272 if (!strategy.equals(LocatorUtils.property(thisLocator, "oracleBlobJDBCAdapter", lhsOracleBlobJDBCAdapter), LocatorUtils.property(thatLocator, "oracleBlobJDBCAdapter", rhsOracleBlobJDBCAdapter), lhsOracleBlobJDBCAdapter, rhsOracleBlobJDBCAdapter)) { 2273 return false; 2274 } 2275 } 2276 { 2277 DtoOracleJDBCAdapter lhsOracleJDBCAdapter; 2278 lhsOracleJDBCAdapter = this.getOracleJDBCAdapter(); 2279 DtoOracleJDBCAdapter rhsOracleJDBCAdapter; 2280 rhsOracleJDBCAdapter = that.getOracleJDBCAdapter(); 2281 if (!strategy.equals(LocatorUtils.property(thisLocator, "oracleJDBCAdapter", lhsOracleJDBCAdapter), LocatorUtils.property(thatLocator, "oracleJDBCAdapter", rhsOracleJDBCAdapter), lhsOracleJDBCAdapter, rhsOracleJDBCAdapter)) { 2282 return false; 2283 } 2284 } 2285 { 2286 DtoPostgresqlJdbcAdapter lhsPostgresqlJdbcAdapter; 2287 lhsPostgresqlJdbcAdapter = this.getPostgresqlJdbcAdapter(); 2288 DtoPostgresqlJdbcAdapter rhsPostgresqlJdbcAdapter; 2289 rhsPostgresqlJdbcAdapter = that.getPostgresqlJdbcAdapter(); 2290 if (!strategy.equals(LocatorUtils.property(thisLocator, "postgresqlJdbcAdapter", lhsPostgresqlJdbcAdapter), LocatorUtils.property(thatLocator, "postgresqlJdbcAdapter", rhsPostgresqlJdbcAdapter), lhsPostgresqlJdbcAdapter, rhsPostgresqlJdbcAdapter)) { 2291 return false; 2292 } 2293 } 2294 { 2295 DtoSqlServerJDBCAdapter lhsSqlServerJDBCAdapter; 2296 lhsSqlServerJDBCAdapter = this.getSqlServerJDBCAdapter(); 2297 DtoSqlServerJDBCAdapter rhsSqlServerJDBCAdapter; 2298 rhsSqlServerJDBCAdapter = that.getSqlServerJDBCAdapter(); 2299 if (!strategy.equals(LocatorUtils.property(thisLocator, "sqlServerJDBCAdapter", lhsSqlServerJDBCAdapter), LocatorUtils.property(thatLocator, "sqlServerJDBCAdapter", rhsSqlServerJDBCAdapter), lhsSqlServerJDBCAdapter, rhsSqlServerJDBCAdapter)) { 2300 return false; 2301 } 2302 } 2303 { 2304 DtoStreamJDBCAdapter lhsStreamJDBCAdapter; 2305 lhsStreamJDBCAdapter = this.getStreamJDBCAdapter(); 2306 DtoStreamJDBCAdapter rhsStreamJDBCAdapter; 2307 rhsStreamJDBCAdapter = that.getStreamJDBCAdapter(); 2308 if (!strategy.equals(LocatorUtils.property(thisLocator, "streamJDBCAdapter", lhsStreamJDBCAdapter), LocatorUtils.property(thatLocator, "streamJDBCAdapter", rhsStreamJDBCAdapter), lhsStreamJDBCAdapter, rhsStreamJDBCAdapter)) { 2309 return false; 2310 } 2311 } 2312 { 2313 DtoSybaseJdbcAdapter lhsSybaseJdbcAdapter; 2314 lhsSybaseJdbcAdapter = this.getSybaseJdbcAdapter(); 2315 DtoSybaseJdbcAdapter rhsSybaseJdbcAdapter; 2316 rhsSybaseJdbcAdapter = that.getSybaseJdbcAdapter(); 2317 if (!strategy.equals(LocatorUtils.property(thisLocator, "sybaseJdbcAdapter", lhsSybaseJdbcAdapter), LocatorUtils.property(thatLocator, "sybaseJdbcAdapter", rhsSybaseJdbcAdapter), lhsSybaseJdbcAdapter, rhsSybaseJdbcAdapter)) { 2318 return false; 2319 } 2320 } 2321 { 2322 DtoTransactJdbcAdapter lhsTransactJdbcAdapter; 2323 lhsTransactJdbcAdapter = this.getTransactJdbcAdapter(); 2324 DtoTransactJdbcAdapter rhsTransactJdbcAdapter; 2325 rhsTransactJdbcAdapter = that.getTransactJdbcAdapter(); 2326 if (!strategy.equals(LocatorUtils.property(thisLocator, "transactJdbcAdapter", lhsTransactJdbcAdapter), LocatorUtils.property(thatLocator, "transactJdbcAdapter", rhsTransactJdbcAdapter), lhsTransactJdbcAdapter, rhsTransactJdbcAdapter)) { 2327 return false; 2328 } 2329 } 2330 { 2331 Object lhsAny; 2332 lhsAny = this.getAny(); 2333 Object rhsAny; 2334 rhsAny = that.getAny(); 2335 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2336 return false; 2337 } 2338 } 2339 return true; 2340 } 2341 2342 public boolean equals(Object object) { 2343 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2344 return equals(null, null, object, strategy); 2345 } 2346 2347 } 2348 2349 2350 /** 2351 * <p>Java class for anonymous complex type. 2352 * 2353 * <p>The following schema fragment specifies the expected content contained within this class. 2354 * 2355 * <pre> 2356 * <complexType> 2357 * <complexContent> 2358 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2359 * <choice minOccurs="0"> 2360 * <element ref="{http://activemq.apache.org/schema/core}broker"/> 2361 * <element ref="{http://activemq.apache.org/schema/core}brokerService"/> 2362 * <any namespace='##other'/> 2363 * </choice> 2364 * </restriction> 2365 * </complexContent> 2366 * </complexType> 2367 * </pre> 2368 * 2369 * 2370 */ 2371 @XmlAccessorType(XmlAccessType.FIELD) 2372 @XmlType(name = "", propOrder = { 2373 "broker", 2374 "brokerService", 2375 "any" 2376 }) 2377 public static class BrokerService 2378 implements Equals, HashCode, ToString 2379 { 2380 2381 protected DtoBroker broker; 2382 protected DtoBrokerService brokerService; 2383 @XmlAnyElement(lax = true) 2384 protected Object any; 2385 2386 /** 2387 * Gets the value of the broker property. 2388 * 2389 * @return 2390 * possible object is 2391 * {@link DtoBroker } 2392 * 2393 */ 2394 public DtoBroker getBroker() { 2395 return broker; 2396 } 2397 2398 /** 2399 * Sets the value of the broker property. 2400 * 2401 * @param value 2402 * allowed object is 2403 * {@link DtoBroker } 2404 * 2405 */ 2406 public void setBroker(DtoBroker value) { 2407 this.broker = value; 2408 } 2409 2410 /** 2411 * Gets the value of the brokerService property. 2412 * 2413 * @return 2414 * possible object is 2415 * {@link DtoBrokerService } 2416 * 2417 */ 2418 public DtoBrokerService getBrokerService() { 2419 return brokerService; 2420 } 2421 2422 /** 2423 * Sets the value of the brokerService property. 2424 * 2425 * @param value 2426 * allowed object is 2427 * {@link DtoBrokerService } 2428 * 2429 */ 2430 public void setBrokerService(DtoBrokerService value) { 2431 this.brokerService = value; 2432 } 2433 2434 /** 2435 * Gets the value of the any property. 2436 * 2437 * @return 2438 * possible object is 2439 * {@link Object } 2440 * 2441 */ 2442 public Object getAny() { 2443 return any; 2444 } 2445 2446 /** 2447 * Sets the value of the any property. 2448 * 2449 * @param value 2450 * allowed object is 2451 * {@link Object } 2452 * 2453 */ 2454 public void setAny(Object value) { 2455 this.any = value; 2456 } 2457 2458 public String toString() { 2459 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2460 final StringBuilder buffer = new StringBuilder(); 2461 append(null, buffer, strategy); 2462 return buffer.toString(); 2463 } 2464 2465 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2466 strategy.appendStart(locator, this, buffer); 2467 appendFields(locator, buffer, strategy); 2468 strategy.appendEnd(locator, this, buffer); 2469 return buffer; 2470 } 2471 2472 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2473 { 2474 DtoBroker theBroker; 2475 theBroker = this.getBroker(); 2476 strategy.appendField(locator, this, "broker", buffer, theBroker); 2477 } 2478 { 2479 DtoBrokerService theBrokerService; 2480 theBrokerService = this.getBrokerService(); 2481 strategy.appendField(locator, this, "brokerService", buffer, theBrokerService); 2482 } 2483 { 2484 Object theAny; 2485 theAny = this.getAny(); 2486 strategy.appendField(locator, this, "any", buffer, theAny); 2487 } 2488 return buffer; 2489 } 2490 2491 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2492 int currentHashCode = 1; 2493 { 2494 DtoBroker theBroker; 2495 theBroker = this.getBroker(); 2496 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker); 2497 } 2498 { 2499 DtoBrokerService theBrokerService; 2500 theBrokerService = this.getBrokerService(); 2501 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService); 2502 } 2503 { 2504 Object theAny; 2505 theAny = this.getAny(); 2506 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2507 } 2508 return currentHashCode; 2509 } 2510 2511 public int hashCode() { 2512 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2513 return this.hashCode(null, strategy); 2514 } 2515 2516 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2517 if (!(object instanceof DtoJournalPersistenceAdapterFactory.BrokerService)) { 2518 return false; 2519 } 2520 if (this == object) { 2521 return true; 2522 } 2523 final DtoJournalPersistenceAdapterFactory.BrokerService that = ((DtoJournalPersistenceAdapterFactory.BrokerService) object); 2524 { 2525 DtoBroker lhsBroker; 2526 lhsBroker = this.getBroker(); 2527 DtoBroker rhsBroker; 2528 rhsBroker = that.getBroker(); 2529 if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) { 2530 return false; 2531 } 2532 } 2533 { 2534 DtoBrokerService lhsBrokerService; 2535 lhsBrokerService = this.getBrokerService(); 2536 DtoBrokerService rhsBrokerService; 2537 rhsBrokerService = that.getBrokerService(); 2538 if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) { 2539 return false; 2540 } 2541 } 2542 { 2543 Object lhsAny; 2544 lhsAny = this.getAny(); 2545 Object rhsAny; 2546 rhsAny = that.getAny(); 2547 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2548 return false; 2549 } 2550 } 2551 return true; 2552 } 2553 2554 public boolean equals(Object object) { 2555 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2556 return equals(null, null, object, strategy); 2557 } 2558 2559 } 2560 2561 2562 /** 2563 * <p>Java class for anonymous complex type. 2564 * 2565 * <p>The following schema fragment specifies the expected content contained within this class. 2566 * 2567 * <pre> 2568 * <complexType> 2569 * <complexContent> 2570 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2571 * <sequence minOccurs="0"> 2572 * <any maxOccurs="unbounded" minOccurs="0"/> 2573 * </sequence> 2574 * </restriction> 2575 * </complexContent> 2576 * </complexType> 2577 * </pre> 2578 * 2579 * 2580 */ 2581 @XmlAccessorType(XmlAccessType.FIELD) 2582 @XmlType(name = "", propOrder = { 2583 "any" 2584 }) 2585 public static class DataSource 2586 implements Equals, HashCode, ToString 2587 { 2588 2589 @XmlAnyElement(lax = true) 2590 protected List<Object> any; 2591 2592 /** 2593 * Gets the value of the any property. 2594 * 2595 * <p> 2596 * This accessor method returns a reference to the live list, 2597 * not a snapshot. Therefore any modification you make to the 2598 * returned list will be present inside the JAXB object. 2599 * This is why there is not a <CODE>set</CODE> method for the any property. 2600 * 2601 * <p> 2602 * For example, to add a new item, do as follows: 2603 * <pre> 2604 * getAny().add(newItem); 2605 * </pre> 2606 * 2607 * 2608 * <p> 2609 * Objects of the following type(s) are allowed in the list 2610 * {@link Object } 2611 * 2612 * 2613 */ 2614 public List<Object> getAny() { 2615 if (any == null) { 2616 any = new ArrayList<Object>(); 2617 } 2618 return this.any; 2619 } 2620 2621 public String toString() { 2622 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2623 final StringBuilder buffer = new StringBuilder(); 2624 append(null, buffer, strategy); 2625 return buffer.toString(); 2626 } 2627 2628 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2629 strategy.appendStart(locator, this, buffer); 2630 appendFields(locator, buffer, strategy); 2631 strategy.appendEnd(locator, this, buffer); 2632 return buffer; 2633 } 2634 2635 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2636 { 2637 List<Object> theAny; 2638 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2639 strategy.appendField(locator, this, "any", buffer, theAny); 2640 } 2641 return buffer; 2642 } 2643 2644 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2645 int currentHashCode = 1; 2646 { 2647 List<Object> theAny; 2648 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2649 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2650 } 2651 return currentHashCode; 2652 } 2653 2654 public int hashCode() { 2655 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2656 return this.hashCode(null, strategy); 2657 } 2658 2659 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2660 if (!(object instanceof DtoJournalPersistenceAdapterFactory.DataSource)) { 2661 return false; 2662 } 2663 if (this == object) { 2664 return true; 2665 } 2666 final DtoJournalPersistenceAdapterFactory.DataSource that = ((DtoJournalPersistenceAdapterFactory.DataSource) object); 2667 { 2668 List<Object> lhsAny; 2669 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2670 List<Object> rhsAny; 2671 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 2672 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2673 return false; 2674 } 2675 } 2676 return true; 2677 } 2678 2679 public boolean equals(Object object) { 2680 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2681 return equals(null, null, object, strategy); 2682 } 2683 2684 } 2685 2686 2687 /** 2688 * <p>Java class for anonymous complex type. 2689 * 2690 * <p>The following schema fragment specifies the expected content contained within this class. 2691 * 2692 * <pre> 2693 * <complexType> 2694 * <complexContent> 2695 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2696 * <choice minOccurs="0"> 2697 * <element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/> 2698 * <any namespace='##other'/> 2699 * </choice> 2700 * </restriction> 2701 * </complexContent> 2702 * </complexType> 2703 * </pre> 2704 * 2705 * 2706 */ 2707 @XmlAccessorType(XmlAccessType.FIELD) 2708 @XmlType(name = "", propOrder = { 2709 "jdbcPersistenceAdapter", 2710 "any" 2711 }) 2712 public static class JdbcAdapter 2713 implements Equals, HashCode, ToString 2714 { 2715 2716 protected DtoJdbcPersistenceAdapter jdbcPersistenceAdapter; 2717 @XmlAnyElement(lax = true) 2718 protected Object any; 2719 2720 /** 2721 * Gets the value of the jdbcPersistenceAdapter property. 2722 * 2723 * @return 2724 * possible object is 2725 * {@link DtoJdbcPersistenceAdapter } 2726 * 2727 */ 2728 public DtoJdbcPersistenceAdapter getJdbcPersistenceAdapter() { 2729 return jdbcPersistenceAdapter; 2730 } 2731 2732 /** 2733 * Sets the value of the jdbcPersistenceAdapter property. 2734 * 2735 * @param value 2736 * allowed object is 2737 * {@link DtoJdbcPersistenceAdapter } 2738 * 2739 */ 2740 public void setJdbcPersistenceAdapter(DtoJdbcPersistenceAdapter value) { 2741 this.jdbcPersistenceAdapter = value; 2742 } 2743 2744 /** 2745 * Gets the value of the any property. 2746 * 2747 * @return 2748 * possible object is 2749 * {@link Object } 2750 * 2751 */ 2752 public Object getAny() { 2753 return any; 2754 } 2755 2756 /** 2757 * Sets the value of the any property. 2758 * 2759 * @param value 2760 * allowed object is 2761 * {@link Object } 2762 * 2763 */ 2764 public void setAny(Object value) { 2765 this.any = value; 2766 } 2767 2768 public String toString() { 2769 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2770 final StringBuilder buffer = new StringBuilder(); 2771 append(null, buffer, strategy); 2772 return buffer.toString(); 2773 } 2774 2775 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2776 strategy.appendStart(locator, this, buffer); 2777 appendFields(locator, buffer, strategy); 2778 strategy.appendEnd(locator, this, buffer); 2779 return buffer; 2780 } 2781 2782 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2783 { 2784 DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter; 2785 theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 2786 strategy.appendField(locator, this, "jdbcPersistenceAdapter", buffer, theJdbcPersistenceAdapter); 2787 } 2788 { 2789 Object theAny; 2790 theAny = this.getAny(); 2791 strategy.appendField(locator, this, "any", buffer, theAny); 2792 } 2793 return buffer; 2794 } 2795 2796 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2797 int currentHashCode = 1; 2798 { 2799 DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter; 2800 theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 2801 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jdbcPersistenceAdapter", theJdbcPersistenceAdapter), currentHashCode, theJdbcPersistenceAdapter); 2802 } 2803 { 2804 Object theAny; 2805 theAny = this.getAny(); 2806 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2807 } 2808 return currentHashCode; 2809 } 2810 2811 public int hashCode() { 2812 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2813 return this.hashCode(null, strategy); 2814 } 2815 2816 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2817 if (!(object instanceof DtoJournalPersistenceAdapterFactory.JdbcAdapter)) { 2818 return false; 2819 } 2820 if (this == object) { 2821 return true; 2822 } 2823 final DtoJournalPersistenceAdapterFactory.JdbcAdapter that = ((DtoJournalPersistenceAdapterFactory.JdbcAdapter) object); 2824 { 2825 DtoJdbcPersistenceAdapter lhsJdbcPersistenceAdapter; 2826 lhsJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter(); 2827 DtoJdbcPersistenceAdapter rhsJdbcPersistenceAdapter; 2828 rhsJdbcPersistenceAdapter = that.getJdbcPersistenceAdapter(); 2829 if (!strategy.equals(LocatorUtils.property(thisLocator, "jdbcPersistenceAdapter", lhsJdbcPersistenceAdapter), LocatorUtils.property(thatLocator, "jdbcPersistenceAdapter", rhsJdbcPersistenceAdapter), lhsJdbcPersistenceAdapter, rhsJdbcPersistenceAdapter)) { 2830 return false; 2831 } 2832 } 2833 { 2834 Object lhsAny; 2835 lhsAny = this.getAny(); 2836 Object rhsAny; 2837 rhsAny = that.getAny(); 2838 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2839 return false; 2840 } 2841 } 2842 return true; 2843 } 2844 2845 public boolean equals(Object object) { 2846 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2847 return equals(null, null, object, strategy); 2848 } 2849 2850 } 2851 2852 2853 /** 2854 * <p>Java class for anonymous complex type. 2855 * 2856 * <p>The following schema fragment specifies the expected content contained within this class. 2857 * 2858 * <pre> 2859 * <complexType> 2860 * <complexContent> 2861 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2862 * <sequence minOccurs="0"> 2863 * <any maxOccurs="unbounded" minOccurs="0"/> 2864 * </sequence> 2865 * </restriction> 2866 * </complexContent> 2867 * </complexType> 2868 * </pre> 2869 * 2870 * 2871 */ 2872 @XmlAccessorType(XmlAccessType.FIELD) 2873 @XmlType(name = "", propOrder = { 2874 "any" 2875 }) 2876 public static class Journal 2877 implements Equals, HashCode, ToString 2878 { 2879 2880 @XmlAnyElement(lax = true) 2881 protected List<Object> any; 2882 2883 /** 2884 * Gets the value of the any property. 2885 * 2886 * <p> 2887 * This accessor method returns a reference to the live list, 2888 * not a snapshot. Therefore any modification you make to the 2889 * returned list will be present inside the JAXB object. 2890 * This is why there is not a <CODE>set</CODE> method for the any property. 2891 * 2892 * <p> 2893 * For example, to add a new item, do as follows: 2894 * <pre> 2895 * getAny().add(newItem); 2896 * </pre> 2897 * 2898 * 2899 * <p> 2900 * Objects of the following type(s) are allowed in the list 2901 * {@link Object } 2902 * 2903 * 2904 */ 2905 public List<Object> getAny() { 2906 if (any == null) { 2907 any = new ArrayList<Object>(); 2908 } 2909 return this.any; 2910 } 2911 2912 public String toString() { 2913 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 2914 final StringBuilder buffer = new StringBuilder(); 2915 append(null, buffer, strategy); 2916 return buffer.toString(); 2917 } 2918 2919 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2920 strategy.appendStart(locator, this, buffer); 2921 appendFields(locator, buffer, strategy); 2922 strategy.appendEnd(locator, this, buffer); 2923 return buffer; 2924 } 2925 2926 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 2927 { 2928 List<Object> theAny; 2929 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2930 strategy.appendField(locator, this, "any", buffer, theAny); 2931 } 2932 return buffer; 2933 } 2934 2935 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 2936 int currentHashCode = 1; 2937 { 2938 List<Object> theAny; 2939 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2940 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 2941 } 2942 return currentHashCode; 2943 } 2944 2945 public int hashCode() { 2946 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 2947 return this.hashCode(null, strategy); 2948 } 2949 2950 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 2951 if (!(object instanceof DtoJournalPersistenceAdapterFactory.Journal)) { 2952 return false; 2953 } 2954 if (this == object) { 2955 return true; 2956 } 2957 final DtoJournalPersistenceAdapterFactory.Journal that = ((DtoJournalPersistenceAdapterFactory.Journal) object); 2958 { 2959 List<Object> lhsAny; 2960 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 2961 List<Object> rhsAny; 2962 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 2963 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 2964 return false; 2965 } 2966 } 2967 return true; 2968 } 2969 2970 public boolean equals(Object object) { 2971 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 2972 return equals(null, null, object, strategy); 2973 } 2974 2975 } 2976 2977 2978 /** 2979 * <p>Java class for anonymous complex type. 2980 * 2981 * <p>The following schema fragment specifies the expected content contained within this class. 2982 * 2983 * <pre> 2984 * <complexType> 2985 * <complexContent> 2986 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 2987 * <choice minOccurs="0"> 2988 * <element ref="{http://activemq.apache.org/schema/core}database-locker"/> 2989 * <element ref="{http://activemq.apache.org/schema/core}lease-database-locker"/> 2990 * <element ref="{http://activemq.apache.org/schema/core}shared-file-locker"/> 2991 * <element ref="{http://activemq.apache.org/schema/core}transact-database-locker"/> 2992 * <any namespace='##other'/> 2993 * </choice> 2994 * </restriction> 2995 * </complexContent> 2996 * </complexType> 2997 * </pre> 2998 * 2999 * 3000 */ 3001 @XmlAccessorType(XmlAccessType.FIELD) 3002 @XmlType(name = "", propOrder = { 3003 "databaseLocker", 3004 "leaseDatabaseLocker", 3005 "sharedFileLocker", 3006 "transactDatabaseLocker", 3007 "any" 3008 }) 3009 public static class Locker 3010 implements Equals, HashCode, ToString 3011 { 3012 3013 @XmlElement(name = "database-locker") 3014 protected DtoDatabaseLocker databaseLocker; 3015 @XmlElement(name = "lease-database-locker") 3016 protected DtoLeaseDatabaseLocker leaseDatabaseLocker; 3017 @XmlElement(name = "shared-file-locker") 3018 protected DtoSharedFileLocker sharedFileLocker; 3019 @XmlElement(name = "transact-database-locker") 3020 protected DtoTransactDatabaseLocker transactDatabaseLocker; 3021 @XmlAnyElement(lax = true) 3022 protected Object any; 3023 3024 /** 3025 * Gets the value of the databaseLocker property. 3026 * 3027 * @return 3028 * possible object is 3029 * {@link DtoDatabaseLocker } 3030 * 3031 */ 3032 public DtoDatabaseLocker getDatabaseLocker() { 3033 return databaseLocker; 3034 } 3035 3036 /** 3037 * Sets the value of the databaseLocker property. 3038 * 3039 * @param value 3040 * allowed object is 3041 * {@link DtoDatabaseLocker } 3042 * 3043 */ 3044 public void setDatabaseLocker(DtoDatabaseLocker value) { 3045 this.databaseLocker = value; 3046 } 3047 3048 /** 3049 * Gets the value of the leaseDatabaseLocker property. 3050 * 3051 * @return 3052 * possible object is 3053 * {@link DtoLeaseDatabaseLocker } 3054 * 3055 */ 3056 public DtoLeaseDatabaseLocker getLeaseDatabaseLocker() { 3057 return leaseDatabaseLocker; 3058 } 3059 3060 /** 3061 * Sets the value of the leaseDatabaseLocker property. 3062 * 3063 * @param value 3064 * allowed object is 3065 * {@link DtoLeaseDatabaseLocker } 3066 * 3067 */ 3068 public void setLeaseDatabaseLocker(DtoLeaseDatabaseLocker value) { 3069 this.leaseDatabaseLocker = value; 3070 } 3071 3072 /** 3073 * Gets the value of the sharedFileLocker property. 3074 * 3075 * @return 3076 * possible object is 3077 * {@link DtoSharedFileLocker } 3078 * 3079 */ 3080 public DtoSharedFileLocker getSharedFileLocker() { 3081 return sharedFileLocker; 3082 } 3083 3084 /** 3085 * Sets the value of the sharedFileLocker property. 3086 * 3087 * @param value 3088 * allowed object is 3089 * {@link DtoSharedFileLocker } 3090 * 3091 */ 3092 public void setSharedFileLocker(DtoSharedFileLocker value) { 3093 this.sharedFileLocker = value; 3094 } 3095 3096 /** 3097 * Gets the value of the transactDatabaseLocker property. 3098 * 3099 * @return 3100 * possible object is 3101 * {@link DtoTransactDatabaseLocker } 3102 * 3103 */ 3104 public DtoTransactDatabaseLocker getTransactDatabaseLocker() { 3105 return transactDatabaseLocker; 3106 } 3107 3108 /** 3109 * Sets the value of the transactDatabaseLocker property. 3110 * 3111 * @param value 3112 * allowed object is 3113 * {@link DtoTransactDatabaseLocker } 3114 * 3115 */ 3116 public void setTransactDatabaseLocker(DtoTransactDatabaseLocker value) { 3117 this.transactDatabaseLocker = value; 3118 } 3119 3120 /** 3121 * Gets the value of the any property. 3122 * 3123 * @return 3124 * possible object is 3125 * {@link Object } 3126 * 3127 */ 3128 public Object getAny() { 3129 return any; 3130 } 3131 3132 /** 3133 * Sets the value of the any property. 3134 * 3135 * @param value 3136 * allowed object is 3137 * {@link Object } 3138 * 3139 */ 3140 public void setAny(Object value) { 3141 this.any = value; 3142 } 3143 3144 public String toString() { 3145 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 3146 final StringBuilder buffer = new StringBuilder(); 3147 append(null, buffer, strategy); 3148 return buffer.toString(); 3149 } 3150 3151 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3152 strategy.appendStart(locator, this, buffer); 3153 appendFields(locator, buffer, strategy); 3154 strategy.appendEnd(locator, this, buffer); 3155 return buffer; 3156 } 3157 3158 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3159 { 3160 DtoDatabaseLocker theDatabaseLocker; 3161 theDatabaseLocker = this.getDatabaseLocker(); 3162 strategy.appendField(locator, this, "databaseLocker", buffer, theDatabaseLocker); 3163 } 3164 { 3165 DtoLeaseDatabaseLocker theLeaseDatabaseLocker; 3166 theLeaseDatabaseLocker = this.getLeaseDatabaseLocker(); 3167 strategy.appendField(locator, this, "leaseDatabaseLocker", buffer, theLeaseDatabaseLocker); 3168 } 3169 { 3170 DtoSharedFileLocker theSharedFileLocker; 3171 theSharedFileLocker = this.getSharedFileLocker(); 3172 strategy.appendField(locator, this, "sharedFileLocker", buffer, theSharedFileLocker); 3173 } 3174 { 3175 DtoTransactDatabaseLocker theTransactDatabaseLocker; 3176 theTransactDatabaseLocker = this.getTransactDatabaseLocker(); 3177 strategy.appendField(locator, this, "transactDatabaseLocker", buffer, theTransactDatabaseLocker); 3178 } 3179 { 3180 Object theAny; 3181 theAny = this.getAny(); 3182 strategy.appendField(locator, this, "any", buffer, theAny); 3183 } 3184 return buffer; 3185 } 3186 3187 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 3188 int currentHashCode = 1; 3189 { 3190 DtoDatabaseLocker theDatabaseLocker; 3191 theDatabaseLocker = this.getDatabaseLocker(); 3192 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "databaseLocker", theDatabaseLocker), currentHashCode, theDatabaseLocker); 3193 } 3194 { 3195 DtoLeaseDatabaseLocker theLeaseDatabaseLocker; 3196 theLeaseDatabaseLocker = this.getLeaseDatabaseLocker(); 3197 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "leaseDatabaseLocker", theLeaseDatabaseLocker), currentHashCode, theLeaseDatabaseLocker); 3198 } 3199 { 3200 DtoSharedFileLocker theSharedFileLocker; 3201 theSharedFileLocker = this.getSharedFileLocker(); 3202 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sharedFileLocker", theSharedFileLocker), currentHashCode, theSharedFileLocker); 3203 } 3204 { 3205 DtoTransactDatabaseLocker theTransactDatabaseLocker; 3206 theTransactDatabaseLocker = this.getTransactDatabaseLocker(); 3207 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transactDatabaseLocker", theTransactDatabaseLocker), currentHashCode, theTransactDatabaseLocker); 3208 } 3209 { 3210 Object theAny; 3211 theAny = this.getAny(); 3212 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 3213 } 3214 return currentHashCode; 3215 } 3216 3217 public int hashCode() { 3218 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 3219 return this.hashCode(null, strategy); 3220 } 3221 3222 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 3223 if (!(object instanceof DtoJournalPersistenceAdapterFactory.Locker)) { 3224 return false; 3225 } 3226 if (this == object) { 3227 return true; 3228 } 3229 final DtoJournalPersistenceAdapterFactory.Locker that = ((DtoJournalPersistenceAdapterFactory.Locker) object); 3230 { 3231 DtoDatabaseLocker lhsDatabaseLocker; 3232 lhsDatabaseLocker = this.getDatabaseLocker(); 3233 DtoDatabaseLocker rhsDatabaseLocker; 3234 rhsDatabaseLocker = that.getDatabaseLocker(); 3235 if (!strategy.equals(LocatorUtils.property(thisLocator, "databaseLocker", lhsDatabaseLocker), LocatorUtils.property(thatLocator, "databaseLocker", rhsDatabaseLocker), lhsDatabaseLocker, rhsDatabaseLocker)) { 3236 return false; 3237 } 3238 } 3239 { 3240 DtoLeaseDatabaseLocker lhsLeaseDatabaseLocker; 3241 lhsLeaseDatabaseLocker = this.getLeaseDatabaseLocker(); 3242 DtoLeaseDatabaseLocker rhsLeaseDatabaseLocker; 3243 rhsLeaseDatabaseLocker = that.getLeaseDatabaseLocker(); 3244 if (!strategy.equals(LocatorUtils.property(thisLocator, "leaseDatabaseLocker", lhsLeaseDatabaseLocker), LocatorUtils.property(thatLocator, "leaseDatabaseLocker", rhsLeaseDatabaseLocker), lhsLeaseDatabaseLocker, rhsLeaseDatabaseLocker)) { 3245 return false; 3246 } 3247 } 3248 { 3249 DtoSharedFileLocker lhsSharedFileLocker; 3250 lhsSharedFileLocker = this.getSharedFileLocker(); 3251 DtoSharedFileLocker rhsSharedFileLocker; 3252 rhsSharedFileLocker = that.getSharedFileLocker(); 3253 if (!strategy.equals(LocatorUtils.property(thisLocator, "sharedFileLocker", lhsSharedFileLocker), LocatorUtils.property(thatLocator, "sharedFileLocker", rhsSharedFileLocker), lhsSharedFileLocker, rhsSharedFileLocker)) { 3254 return false; 3255 } 3256 } 3257 { 3258 DtoTransactDatabaseLocker lhsTransactDatabaseLocker; 3259 lhsTransactDatabaseLocker = this.getTransactDatabaseLocker(); 3260 DtoTransactDatabaseLocker rhsTransactDatabaseLocker; 3261 rhsTransactDatabaseLocker = that.getTransactDatabaseLocker(); 3262 if (!strategy.equals(LocatorUtils.property(thisLocator, "transactDatabaseLocker", lhsTransactDatabaseLocker), LocatorUtils.property(thatLocator, "transactDatabaseLocker", rhsTransactDatabaseLocker), lhsTransactDatabaseLocker, rhsTransactDatabaseLocker)) { 3263 return false; 3264 } 3265 } 3266 { 3267 Object lhsAny; 3268 lhsAny = this.getAny(); 3269 Object rhsAny; 3270 rhsAny = that.getAny(); 3271 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 3272 return false; 3273 } 3274 } 3275 return true; 3276 } 3277 3278 public boolean equals(Object object) { 3279 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 3280 return equals(null, null, object, strategy); 3281 } 3282 3283 } 3284 3285 3286 /** 3287 * <p>Java class for anonymous complex type. 3288 * 3289 * <p>The following schema fragment specifies the expected content contained within this class. 3290 * 3291 * <pre> 3292 * <complexType> 3293 * <complexContent> 3294 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 3295 * <sequence minOccurs="0"> 3296 * <any maxOccurs="unbounded" minOccurs="0"/> 3297 * </sequence> 3298 * </restriction> 3299 * </complexContent> 3300 * </complexType> 3301 * </pre> 3302 * 3303 * 3304 */ 3305 @XmlAccessorType(XmlAccessType.FIELD) 3306 @XmlType(name = "", propOrder = { 3307 "any" 3308 }) 3309 public static class ScheduledThreadPoolExecutor 3310 implements Equals, HashCode, ToString 3311 { 3312 3313 @XmlAnyElement(lax = true) 3314 protected List<Object> any; 3315 3316 /** 3317 * Gets the value of the any property. 3318 * 3319 * <p> 3320 * This accessor method returns a reference to the live list, 3321 * not a snapshot. Therefore any modification you make to the 3322 * returned list will be present inside the JAXB object. 3323 * This is why there is not a <CODE>set</CODE> method for the any property. 3324 * 3325 * <p> 3326 * For example, to add a new item, do as follows: 3327 * <pre> 3328 * getAny().add(newItem); 3329 * </pre> 3330 * 3331 * 3332 * <p> 3333 * Objects of the following type(s) are allowed in the list 3334 * {@link Object } 3335 * 3336 * 3337 */ 3338 public List<Object> getAny() { 3339 if (any == null) { 3340 any = new ArrayList<Object>(); 3341 } 3342 return this.any; 3343 } 3344 3345 public String toString() { 3346 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 3347 final StringBuilder buffer = new StringBuilder(); 3348 append(null, buffer, strategy); 3349 return buffer.toString(); 3350 } 3351 3352 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3353 strategy.appendStart(locator, this, buffer); 3354 appendFields(locator, buffer, strategy); 3355 strategy.appendEnd(locator, this, buffer); 3356 return buffer; 3357 } 3358 3359 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3360 { 3361 List<Object> theAny; 3362 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 3363 strategy.appendField(locator, this, "any", buffer, theAny); 3364 } 3365 return buffer; 3366 } 3367 3368 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 3369 int currentHashCode = 1; 3370 { 3371 List<Object> theAny; 3372 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 3373 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 3374 } 3375 return currentHashCode; 3376 } 3377 3378 public int hashCode() { 3379 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 3380 return this.hashCode(null, strategy); 3381 } 3382 3383 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 3384 if (!(object instanceof DtoJournalPersistenceAdapterFactory.ScheduledThreadPoolExecutor)) { 3385 return false; 3386 } 3387 if (this == object) { 3388 return true; 3389 } 3390 final DtoJournalPersistenceAdapterFactory.ScheduledThreadPoolExecutor that = ((DtoJournalPersistenceAdapterFactory.ScheduledThreadPoolExecutor) object); 3391 { 3392 List<Object> lhsAny; 3393 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 3394 List<Object> rhsAny; 3395 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 3396 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 3397 return false; 3398 } 3399 } 3400 return true; 3401 } 3402 3403 public boolean equals(Object object) { 3404 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 3405 return equals(null, null, object, strategy); 3406 } 3407 3408 } 3409 3410 3411 /** 3412 * <p>Java class for anonymous complex type. 3413 * 3414 * <p>The following schema fragment specifies the expected content contained within this class. 3415 * 3416 * <pre> 3417 * <complexType> 3418 * <complexContent> 3419 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 3420 * <choice minOccurs="0"> 3421 * <element ref="{http://activemq.apache.org/schema/core}statements"/> 3422 * <any namespace='##other'/> 3423 * </choice> 3424 * </restriction> 3425 * </complexContent> 3426 * </complexType> 3427 * </pre> 3428 * 3429 * 3430 */ 3431 @XmlAccessorType(XmlAccessType.FIELD) 3432 @XmlType(name = "", propOrder = { 3433 "statements", 3434 "any" 3435 }) 3436 public static class Statements 3437 implements Equals, HashCode, ToString 3438 { 3439 3440 protected DtoStatements statements; 3441 @XmlAnyElement(lax = true) 3442 protected Object any; 3443 3444 /** 3445 * Gets the value of the statements property. 3446 * 3447 * @return 3448 * possible object is 3449 * {@link DtoStatements } 3450 * 3451 */ 3452 public DtoStatements getStatements() { 3453 return statements; 3454 } 3455 3456 /** 3457 * Sets the value of the statements property. 3458 * 3459 * @param value 3460 * allowed object is 3461 * {@link DtoStatements } 3462 * 3463 */ 3464 public void setStatements(DtoStatements value) { 3465 this.statements = value; 3466 } 3467 3468 /** 3469 * Gets the value of the any property. 3470 * 3471 * @return 3472 * possible object is 3473 * {@link Object } 3474 * 3475 */ 3476 public Object getAny() { 3477 return any; 3478 } 3479 3480 /** 3481 * Sets the value of the any property. 3482 * 3483 * @param value 3484 * allowed object is 3485 * {@link Object } 3486 * 3487 */ 3488 public void setAny(Object value) { 3489 this.any = value; 3490 } 3491 3492 public String toString() { 3493 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 3494 final StringBuilder buffer = new StringBuilder(); 3495 append(null, buffer, strategy); 3496 return buffer.toString(); 3497 } 3498 3499 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3500 strategy.appendStart(locator, this, buffer); 3501 appendFields(locator, buffer, strategy); 3502 strategy.appendEnd(locator, this, buffer); 3503 return buffer; 3504 } 3505 3506 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3507 { 3508 DtoStatements theStatements; 3509 theStatements = this.getStatements(); 3510 strategy.appendField(locator, this, "statements", buffer, theStatements); 3511 } 3512 { 3513 Object theAny; 3514 theAny = this.getAny(); 3515 strategy.appendField(locator, this, "any", buffer, theAny); 3516 } 3517 return buffer; 3518 } 3519 3520 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 3521 int currentHashCode = 1; 3522 { 3523 DtoStatements theStatements; 3524 theStatements = this.getStatements(); 3525 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "statements", theStatements), currentHashCode, theStatements); 3526 } 3527 { 3528 Object theAny; 3529 theAny = this.getAny(); 3530 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 3531 } 3532 return currentHashCode; 3533 } 3534 3535 public int hashCode() { 3536 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 3537 return this.hashCode(null, strategy); 3538 } 3539 3540 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 3541 if (!(object instanceof DtoJournalPersistenceAdapterFactory.Statements)) { 3542 return false; 3543 } 3544 if (this == object) { 3545 return true; 3546 } 3547 final DtoJournalPersistenceAdapterFactory.Statements that = ((DtoJournalPersistenceAdapterFactory.Statements) object); 3548 { 3549 DtoStatements lhsStatements; 3550 lhsStatements = this.getStatements(); 3551 DtoStatements rhsStatements; 3552 rhsStatements = that.getStatements(); 3553 if (!strategy.equals(LocatorUtils.property(thisLocator, "statements", lhsStatements), LocatorUtils.property(thatLocator, "statements", rhsStatements), lhsStatements, rhsStatements)) { 3554 return false; 3555 } 3556 } 3557 { 3558 Object lhsAny; 3559 lhsAny = this.getAny(); 3560 Object rhsAny; 3561 rhsAny = that.getAny(); 3562 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 3563 return false; 3564 } 3565 } 3566 return true; 3567 } 3568 3569 public boolean equals(Object object) { 3570 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 3571 return equals(null, null, object, strategy); 3572 } 3573 3574 } 3575 3576 3577 /** 3578 * <p>Java class for anonymous complex type. 3579 * 3580 * <p>The following schema fragment specifies the expected content contained within this class. 3581 * 3582 * <pre> 3583 * <complexType> 3584 * <complexContent> 3585 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 3586 * <choice minOccurs="0"> 3587 * <element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/> 3588 * <any namespace='##other'/> 3589 * </choice> 3590 * </restriction> 3591 * </complexContent> 3592 * </complexType> 3593 * </pre> 3594 * 3595 * 3596 */ 3597 @XmlAccessorType(XmlAccessType.FIELD) 3598 @XmlType(name = "", propOrder = { 3599 "taskRunnerFactory", 3600 "any" 3601 }) 3602 public static class TaskRunnerFactory 3603 implements Equals, HashCode, ToString 3604 { 3605 3606 protected DtoTaskRunnerFactory taskRunnerFactory; 3607 @XmlAnyElement(lax = true) 3608 protected Object any; 3609 3610 /** 3611 * Gets the value of the taskRunnerFactory property. 3612 * 3613 * @return 3614 * possible object is 3615 * {@link DtoTaskRunnerFactory } 3616 * 3617 */ 3618 public DtoTaskRunnerFactory getTaskRunnerFactory() { 3619 return taskRunnerFactory; 3620 } 3621 3622 /** 3623 * Sets the value of the taskRunnerFactory property. 3624 * 3625 * @param value 3626 * allowed object is 3627 * {@link DtoTaskRunnerFactory } 3628 * 3629 */ 3630 public void setTaskRunnerFactory(DtoTaskRunnerFactory value) { 3631 this.taskRunnerFactory = value; 3632 } 3633 3634 /** 3635 * Gets the value of the any property. 3636 * 3637 * @return 3638 * possible object is 3639 * {@link Object } 3640 * 3641 */ 3642 public Object getAny() { 3643 return any; 3644 } 3645 3646 /** 3647 * Sets the value of the any property. 3648 * 3649 * @param value 3650 * allowed object is 3651 * {@link Object } 3652 * 3653 */ 3654 public void setAny(Object value) { 3655 this.any = value; 3656 } 3657 3658 public String toString() { 3659 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 3660 final StringBuilder buffer = new StringBuilder(); 3661 append(null, buffer, strategy); 3662 return buffer.toString(); 3663 } 3664 3665 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3666 strategy.appendStart(locator, this, buffer); 3667 appendFields(locator, buffer, strategy); 3668 strategy.appendEnd(locator, this, buffer); 3669 return buffer; 3670 } 3671 3672 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 3673 { 3674 DtoTaskRunnerFactory theTaskRunnerFactory; 3675 theTaskRunnerFactory = this.getTaskRunnerFactory(); 3676 strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory); 3677 } 3678 { 3679 Object theAny; 3680 theAny = this.getAny(); 3681 strategy.appendField(locator, this, "any", buffer, theAny); 3682 } 3683 return buffer; 3684 } 3685 3686 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 3687 int currentHashCode = 1; 3688 { 3689 DtoTaskRunnerFactory theTaskRunnerFactory; 3690 theTaskRunnerFactory = this.getTaskRunnerFactory(); 3691 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory); 3692 } 3693 { 3694 Object theAny; 3695 theAny = this.getAny(); 3696 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 3697 } 3698 return currentHashCode; 3699 } 3700 3701 public int hashCode() { 3702 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 3703 return this.hashCode(null, strategy); 3704 } 3705 3706 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 3707 if (!(object instanceof DtoJournalPersistenceAdapterFactory.TaskRunnerFactory)) { 3708 return false; 3709 } 3710 if (this == object) { 3711 return true; 3712 } 3713 final DtoJournalPersistenceAdapterFactory.TaskRunnerFactory that = ((DtoJournalPersistenceAdapterFactory.TaskRunnerFactory) object); 3714 { 3715 DtoTaskRunnerFactory lhsTaskRunnerFactory; 3716 lhsTaskRunnerFactory = this.getTaskRunnerFactory(); 3717 DtoTaskRunnerFactory rhsTaskRunnerFactory; 3718 rhsTaskRunnerFactory = that.getTaskRunnerFactory(); 3719 if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) { 3720 return false; 3721 } 3722 } 3723 { 3724 Object lhsAny; 3725 lhsAny = this.getAny(); 3726 Object rhsAny; 3727 rhsAny = that.getAny(); 3728 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 3729 return false; 3730 } 3731 } 3732 return true; 3733 } 3734 3735 public boolean equals(Object object) { 3736 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 3737 return equals(null, null, object, strategy); 3738 } 3739 3740 } 3741 3742}