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