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