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