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