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.12.02 at 07:37:45 AM EST 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.XmlElementRef; 023import javax.xml.bind.annotation.XmlElementRefs; 024import javax.xml.bind.annotation.XmlID; 025import javax.xml.bind.annotation.XmlRootElement; 026import javax.xml.bind.annotation.XmlSchemaType; 027import javax.xml.bind.annotation.XmlType; 028import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 029import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 030import javax.xml.namespace.QName; 031import org.jvnet.jaxb2_commons.lang.Equals; 032import org.jvnet.jaxb2_commons.lang.EqualsStrategy; 033import org.jvnet.jaxb2_commons.lang.HashCode; 034import org.jvnet.jaxb2_commons.lang.HashCodeStrategy; 035import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy; 036import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy; 037import org.jvnet.jaxb2_commons.lang.ToString; 038import org.jvnet.jaxb2_commons.lang.ToStringStrategy; 039import org.jvnet.jaxb2_commons.locator.ObjectLocator; 040import org.jvnet.jaxb2_commons.locator.util.LocatorUtils; 041 042 043/** 044 * <p>Java class for anonymous complex type. 045 * 046 * <p>The following schema fragment specifies the expected content contained within this class. 047 * 048 * <pre> 049 * <complexType> 050 * <complexContent> 051 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 052 * <choice maxOccurs="unbounded" minOccurs="0"> 053 * <choice> 054 * <element name="executor" minOccurs="0"> 055 * <complexType> 056 * <complexContent> 057 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 058 * <sequence minOccurs="0"> 059 * <any maxOccurs="unbounded" minOccurs="0"/> 060 * </sequence> 061 * </restriction> 062 * </complexContent> 063 * </complexType> 064 * </element> 065 * <element name="limiter" minOccurs="0"> 066 * <complexType> 067 * <complexContent> 068 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 069 * <choice minOccurs="0"> 070 * <element ref="{http://activemq.apache.org/schema/core}defaultUsageCapacity"/> 071 * <element ref="{http://activemq.apache.org/schema/core}usageCapacity"/> 072 * <any namespace='##other'/> 073 * </choice> 074 * </restriction> 075 * </complexContent> 076 * </complexType> 077 * </element> 078 * <element name="parent" minOccurs="0"> 079 * <complexType> 080 * <complexContent> 081 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 082 * <sequence minOccurs="0"> 083 * <any maxOccurs="unbounded" minOccurs="0"/> 084 * </sequence> 085 * </restriction> 086 * </complexContent> 087 * </complexType> 088 * </element> 089 * <element name="store" minOccurs="0"> 090 * <complexType> 091 * <complexContent> 092 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 093 * <choice minOccurs="0"> 094 * <element ref="{http://activemq.apache.org/schema/core}levelDB"/> 095 * <element ref="{http://activemq.apache.org/schema/core}pListStoreImpl"/> 096 * <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> 097 * <any namespace='##other'/> 098 * </choice> 099 * </restriction> 100 * </complexContent> 101 * </complexType> 102 * </element> 103 * <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 104 * </choice> 105 * </choice> 106 * <attribute name="executor" type="{http://www.w3.org/2001/XMLSchema}string" /> 107 * <attribute name="limit" type="{http://www.w3.org/2001/XMLSchema}string" /> 108 * <attribute name="limiter" type="{http://www.w3.org/2001/XMLSchema}string" /> 109 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> 110 * <attribute name="parent" type="{http://www.w3.org/2001/XMLSchema}string" /> 111 * <attribute name="percentLimit" type="{http://www.w3.org/2001/XMLSchema}integer" /> 112 * <attribute name="percentUsage" type="{http://www.w3.org/2001/XMLSchema}integer" /> 113 * <attribute name="percentUsageMinDelta" type="{http://www.w3.org/2001/XMLSchema}string" /> 114 * <attribute name="pollingTime" type="{http://www.w3.org/2001/XMLSchema}integer" /> 115 * <attribute name="store" type="{http://www.w3.org/2001/XMLSchema}string" /> 116 * <attribute name="total" type="{http://www.w3.org/2001/XMLSchema}string" /> 117 * <attribute name="usagePortion" type="{http://www.w3.org/2001/XMLSchema}float" /> 118 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 119 * <anyAttribute processContents='lax' namespace='##other'/> 120 * </restriction> 121 * </complexContent> 122 * </complexType> 123 * </pre> 124 * 125 * 126 */ 127@XmlAccessorType(XmlAccessType.FIELD) 128@XmlType(name = "", propOrder = { 129 "executorOrLimiterOrParent" 130}) 131@XmlRootElement(name = "tempUsage") 132public class DtoTempUsage implements Equals, HashCode, ToString 133{ 134 135 @XmlElementRefs({ 136 @XmlElementRef(name = "store", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 137 @XmlElementRef(name = "parent", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 138 @XmlElementRef(name = "limiter", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false), 139 @XmlElementRef(name = "executor", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false) 140 }) 141 @XmlAnyElement(lax = true) 142 protected List<Object> executorOrLimiterOrParent; 143 @XmlAttribute(name = "executor") 144 protected String executor; 145 @XmlAttribute(name = "limit") 146 protected String limit; 147 @XmlAttribute(name = "limiter") 148 protected String limiter; 149 @XmlAttribute(name = "name") 150 protected String name; 151 @XmlAttribute(name = "parent") 152 protected String parent; 153 @XmlAttribute(name = "percentLimit") 154 protected BigInteger percentLimit; 155 @XmlAttribute(name = "percentUsage") 156 protected BigInteger percentUsage; 157 @XmlAttribute(name = "percentUsageMinDelta") 158 protected String percentUsageMinDelta; 159 @XmlAttribute(name = "pollingTime") 160 protected BigInteger pollingTime; 161 @XmlAttribute(name = "store") 162 protected String store; 163 @XmlAttribute(name = "total") 164 protected String total; 165 @XmlAttribute(name = "usagePortion") 166 protected Float usagePortion; 167 @XmlAttribute(name = "id") 168 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 169 @XmlID 170 @XmlSchemaType(name = "ID") 171 protected String id; 172 @XmlAnyAttribute 173 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 174 175 /** 176 * Gets the value of the executorOrLimiterOrParent property. 177 * 178 * <p> 179 * This accessor method returns a reference to the live list, 180 * not a snapshot. Therefore any modification you make to the 181 * returned list will be present inside the JAXB object. 182 * This is why there is not a <CODE>set</CODE> method for the executorOrLimiterOrParent property. 183 * 184 * <p> 185 * For example, to add a new item, do as follows: 186 * <pre> 187 * getExecutorOrLimiterOrParent().add(newItem); 188 * </pre> 189 * 190 * 191 * <p> 192 * Objects of the following type(s) are allowed in the list 193 * {@link JAXBElement }{@code <}{@link DtoTempUsage.Executor }{@code >} 194 * {@link Object } 195 * {@link JAXBElement }{@code <}{@link DtoTempUsage.Store }{@code >} 196 * {@link JAXBElement }{@code <}{@link DtoTempUsage.Parent }{@code >} 197 * {@link JAXBElement }{@code <}{@link DtoTempUsage.Limiter }{@code >} 198 * 199 * 200 */ 201 public List<Object> getExecutorOrLimiterOrParent() { 202 if (executorOrLimiterOrParent == null) { 203 executorOrLimiterOrParent = new ArrayList<Object>(); 204 } 205 return this.executorOrLimiterOrParent; 206 } 207 208 /** 209 * Gets the value of the executor property. 210 * 211 * @return 212 * possible object is 213 * {@link String } 214 * 215 */ 216 public String getExecutor() { 217 return executor; 218 } 219 220 /** 221 * Sets the value of the executor property. 222 * 223 * @param value 224 * allowed object is 225 * {@link String } 226 * 227 */ 228 public void setExecutor(String value) { 229 this.executor = value; 230 } 231 232 /** 233 * Gets the value of the limit property. 234 * 235 * @return 236 * possible object is 237 * {@link String } 238 * 239 */ 240 public String getLimit() { 241 return limit; 242 } 243 244 /** 245 * Sets the value of the limit property. 246 * 247 * @param value 248 * allowed object is 249 * {@link String } 250 * 251 */ 252 public void setLimit(String value) { 253 this.limit = value; 254 } 255 256 /** 257 * Gets the value of the limiter property. 258 * 259 * @return 260 * possible object is 261 * {@link String } 262 * 263 */ 264 public String getLimiter() { 265 return limiter; 266 } 267 268 /** 269 * Sets the value of the limiter property. 270 * 271 * @param value 272 * allowed object is 273 * {@link String } 274 * 275 */ 276 public void setLimiter(String value) { 277 this.limiter = value; 278 } 279 280 /** 281 * Gets the value of the name property. 282 * 283 * @return 284 * possible object is 285 * {@link String } 286 * 287 */ 288 public String getName() { 289 return name; 290 } 291 292 /** 293 * Sets the value of the name property. 294 * 295 * @param value 296 * allowed object is 297 * {@link String } 298 * 299 */ 300 public void setName(String value) { 301 this.name = value; 302 } 303 304 /** 305 * Gets the value of the parent property. 306 * 307 * @return 308 * possible object is 309 * {@link String } 310 * 311 */ 312 public String getParent() { 313 return parent; 314 } 315 316 /** 317 * Sets the value of the parent property. 318 * 319 * @param value 320 * allowed object is 321 * {@link String } 322 * 323 */ 324 public void setParent(String value) { 325 this.parent = value; 326 } 327 328 /** 329 * Gets the value of the percentLimit property. 330 * 331 * @return 332 * possible object is 333 * {@link BigInteger } 334 * 335 */ 336 public BigInteger getPercentLimit() { 337 return percentLimit; 338 } 339 340 /** 341 * Sets the value of the percentLimit property. 342 * 343 * @param value 344 * allowed object is 345 * {@link BigInteger } 346 * 347 */ 348 public void setPercentLimit(BigInteger value) { 349 this.percentLimit = value; 350 } 351 352 /** 353 * Gets the value of the percentUsage property. 354 * 355 * @return 356 * possible object is 357 * {@link BigInteger } 358 * 359 */ 360 public BigInteger getPercentUsage() { 361 return percentUsage; 362 } 363 364 /** 365 * Sets the value of the percentUsage property. 366 * 367 * @param value 368 * allowed object is 369 * {@link BigInteger } 370 * 371 */ 372 public void setPercentUsage(BigInteger value) { 373 this.percentUsage = value; 374 } 375 376 /** 377 * Gets the value of the percentUsageMinDelta property. 378 * 379 * @return 380 * possible object is 381 * {@link String } 382 * 383 */ 384 public String getPercentUsageMinDelta() { 385 return percentUsageMinDelta; 386 } 387 388 /** 389 * Sets the value of the percentUsageMinDelta property. 390 * 391 * @param value 392 * allowed object is 393 * {@link String } 394 * 395 */ 396 public void setPercentUsageMinDelta(String value) { 397 this.percentUsageMinDelta = value; 398 } 399 400 /** 401 * Gets the value of the pollingTime property. 402 * 403 * @return 404 * possible object is 405 * {@link BigInteger } 406 * 407 */ 408 public BigInteger getPollingTime() { 409 return pollingTime; 410 } 411 412 /** 413 * Sets the value of the pollingTime property. 414 * 415 * @param value 416 * allowed object is 417 * {@link BigInteger } 418 * 419 */ 420 public void setPollingTime(BigInteger value) { 421 this.pollingTime = value; 422 } 423 424 /** 425 * Gets the value of the store property. 426 * 427 * @return 428 * possible object is 429 * {@link String } 430 * 431 */ 432 public String getStore() { 433 return store; 434 } 435 436 /** 437 * Sets the value of the store property. 438 * 439 * @param value 440 * allowed object is 441 * {@link String } 442 * 443 */ 444 public void setStore(String value) { 445 this.store = value; 446 } 447 448 /** 449 * Gets the value of the total property. 450 * 451 * @return 452 * possible object is 453 * {@link String } 454 * 455 */ 456 public String getTotal() { 457 return total; 458 } 459 460 /** 461 * Sets the value of the total property. 462 * 463 * @param value 464 * allowed object is 465 * {@link String } 466 * 467 */ 468 public void setTotal(String value) { 469 this.total = value; 470 } 471 472 /** 473 * Gets the value of the usagePortion property. 474 * 475 * @return 476 * possible object is 477 * {@link Float } 478 * 479 */ 480 public Float getUsagePortion() { 481 return usagePortion; 482 } 483 484 /** 485 * Sets the value of the usagePortion property. 486 * 487 * @param value 488 * allowed object is 489 * {@link Float } 490 * 491 */ 492 public void setUsagePortion(Float value) { 493 this.usagePortion = value; 494 } 495 496 /** 497 * Gets the value of the id property. 498 * 499 * @return 500 * possible object is 501 * {@link String } 502 * 503 */ 504 public String getId() { 505 return id; 506 } 507 508 /** 509 * Sets the value of the id property. 510 * 511 * @param value 512 * allowed object is 513 * {@link String } 514 * 515 */ 516 public void setId(String value) { 517 this.id = value; 518 } 519 520 /** 521 * Gets a map that contains attributes that aren't bound to any typed property on this class. 522 * 523 * <p> 524 * the map is keyed by the name of the attribute and 525 * the value is the string value of the attribute. 526 * 527 * the map returned by this method is live, and you can add new attribute 528 * by updating the map directly. Because of this design, there's no setter. 529 * 530 * 531 * @return 532 * always non-null 533 */ 534 public Map<QName, String> getOtherAttributes() { 535 return otherAttributes; 536 } 537 538 public String toString() { 539 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 540 final StringBuilder buffer = new StringBuilder(); 541 append(null, buffer, strategy); 542 return buffer.toString(); 543 } 544 545 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 546 strategy.appendStart(locator, this, buffer); 547 appendFields(locator, buffer, strategy); 548 strategy.appendEnd(locator, this, buffer); 549 return buffer; 550 } 551 552 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 553 { 554 List<Object> theExecutorOrLimiterOrParent; 555 theExecutorOrLimiterOrParent = (((this.executorOrLimiterOrParent!= null)&&(!this.executorOrLimiterOrParent.isEmpty()))?this.getExecutorOrLimiterOrParent():null); 556 strategy.appendField(locator, this, "executorOrLimiterOrParent", buffer, theExecutorOrLimiterOrParent); 557 } 558 { 559 String theExecutor; 560 theExecutor = this.getExecutor(); 561 strategy.appendField(locator, this, "executor", buffer, theExecutor); 562 } 563 { 564 String theLimit; 565 theLimit = this.getLimit(); 566 strategy.appendField(locator, this, "limit", buffer, theLimit); 567 } 568 { 569 String theLimiter; 570 theLimiter = this.getLimiter(); 571 strategy.appendField(locator, this, "limiter", buffer, theLimiter); 572 } 573 { 574 String theName; 575 theName = this.getName(); 576 strategy.appendField(locator, this, "name", buffer, theName); 577 } 578 { 579 String theParent; 580 theParent = this.getParent(); 581 strategy.appendField(locator, this, "parent", buffer, theParent); 582 } 583 { 584 BigInteger thePercentLimit; 585 thePercentLimit = this.getPercentLimit(); 586 strategy.appendField(locator, this, "percentLimit", buffer, thePercentLimit); 587 } 588 { 589 BigInteger thePercentUsage; 590 thePercentUsage = this.getPercentUsage(); 591 strategy.appendField(locator, this, "percentUsage", buffer, thePercentUsage); 592 } 593 { 594 String thePercentUsageMinDelta; 595 thePercentUsageMinDelta = this.getPercentUsageMinDelta(); 596 strategy.appendField(locator, this, "percentUsageMinDelta", buffer, thePercentUsageMinDelta); 597 } 598 { 599 BigInteger thePollingTime; 600 thePollingTime = this.getPollingTime(); 601 strategy.appendField(locator, this, "pollingTime", buffer, thePollingTime); 602 } 603 { 604 String theStore; 605 theStore = this.getStore(); 606 strategy.appendField(locator, this, "store", buffer, theStore); 607 } 608 { 609 String theTotal; 610 theTotal = this.getTotal(); 611 strategy.appendField(locator, this, "total", buffer, theTotal); 612 } 613 { 614 Float theUsagePortion; 615 theUsagePortion = this.getUsagePortion(); 616 strategy.appendField(locator, this, "usagePortion", buffer, theUsagePortion); 617 } 618 { 619 String theId; 620 theId = this.getId(); 621 strategy.appendField(locator, this, "id", buffer, theId); 622 } 623 return buffer; 624 } 625 626 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 627 int currentHashCode = 1; 628 { 629 List<Object> theExecutorOrLimiterOrParent; 630 theExecutorOrLimiterOrParent = (((this.executorOrLimiterOrParent!= null)&&(!this.executorOrLimiterOrParent.isEmpty()))?this.getExecutorOrLimiterOrParent():null); 631 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "executorOrLimiterOrParent", theExecutorOrLimiterOrParent), currentHashCode, theExecutorOrLimiterOrParent); 632 } 633 { 634 String theExecutor; 635 theExecutor = this.getExecutor(); 636 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "executor", theExecutor), currentHashCode, theExecutor); 637 } 638 { 639 String theLimit; 640 theLimit = this.getLimit(); 641 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "limit", theLimit), currentHashCode, theLimit); 642 } 643 { 644 String theLimiter; 645 theLimiter = this.getLimiter(); 646 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "limiter", theLimiter), currentHashCode, theLimiter); 647 } 648 { 649 String theName; 650 theName = this.getName(); 651 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); 652 } 653 { 654 String theParent; 655 theParent = this.getParent(); 656 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "parent", theParent), currentHashCode, theParent); 657 } 658 { 659 BigInteger thePercentLimit; 660 thePercentLimit = this.getPercentLimit(); 661 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentLimit", thePercentLimit), currentHashCode, thePercentLimit); 662 } 663 { 664 BigInteger thePercentUsage; 665 thePercentUsage = this.getPercentUsage(); 666 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentUsage", thePercentUsage), currentHashCode, thePercentUsage); 667 } 668 { 669 String thePercentUsageMinDelta; 670 thePercentUsageMinDelta = this.getPercentUsageMinDelta(); 671 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "percentUsageMinDelta", thePercentUsageMinDelta), currentHashCode, thePercentUsageMinDelta); 672 } 673 { 674 BigInteger thePollingTime; 675 thePollingTime = this.getPollingTime(); 676 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pollingTime", thePollingTime), currentHashCode, thePollingTime); 677 } 678 { 679 String theStore; 680 theStore = this.getStore(); 681 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "store", theStore), currentHashCode, theStore); 682 } 683 { 684 String theTotal; 685 theTotal = this.getTotal(); 686 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "total", theTotal), currentHashCode, theTotal); 687 } 688 { 689 Float theUsagePortion; 690 theUsagePortion = this.getUsagePortion(); 691 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usagePortion", theUsagePortion), currentHashCode, theUsagePortion); 692 } 693 { 694 String theId; 695 theId = this.getId(); 696 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); 697 } 698 return currentHashCode; 699 } 700 701 public int hashCode() { 702 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 703 return this.hashCode(null, strategy); 704 } 705 706 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 707 if (!(object instanceof DtoTempUsage)) { 708 return false; 709 } 710 if (this == object) { 711 return true; 712 } 713 final DtoTempUsage that = ((DtoTempUsage) object); 714 { 715 List<Object> lhsExecutorOrLimiterOrParent; 716 lhsExecutorOrLimiterOrParent = (((this.executorOrLimiterOrParent!= null)&&(!this.executorOrLimiterOrParent.isEmpty()))?this.getExecutorOrLimiterOrParent():null); 717 List<Object> rhsExecutorOrLimiterOrParent; 718 rhsExecutorOrLimiterOrParent = (((that.executorOrLimiterOrParent!= null)&&(!that.executorOrLimiterOrParent.isEmpty()))?that.getExecutorOrLimiterOrParent():null); 719 if (!strategy.equals(LocatorUtils.property(thisLocator, "executorOrLimiterOrParent", lhsExecutorOrLimiterOrParent), LocatorUtils.property(thatLocator, "executorOrLimiterOrParent", rhsExecutorOrLimiterOrParent), lhsExecutorOrLimiterOrParent, rhsExecutorOrLimiterOrParent)) { 720 return false; 721 } 722 } 723 { 724 String lhsExecutor; 725 lhsExecutor = this.getExecutor(); 726 String rhsExecutor; 727 rhsExecutor = that.getExecutor(); 728 if (!strategy.equals(LocatorUtils.property(thisLocator, "executor", lhsExecutor), LocatorUtils.property(thatLocator, "executor", rhsExecutor), lhsExecutor, rhsExecutor)) { 729 return false; 730 } 731 } 732 { 733 String lhsLimit; 734 lhsLimit = this.getLimit(); 735 String rhsLimit; 736 rhsLimit = that.getLimit(); 737 if (!strategy.equals(LocatorUtils.property(thisLocator, "limit", lhsLimit), LocatorUtils.property(thatLocator, "limit", rhsLimit), lhsLimit, rhsLimit)) { 738 return false; 739 } 740 } 741 { 742 String lhsLimiter; 743 lhsLimiter = this.getLimiter(); 744 String rhsLimiter; 745 rhsLimiter = that.getLimiter(); 746 if (!strategy.equals(LocatorUtils.property(thisLocator, "limiter", lhsLimiter), LocatorUtils.property(thatLocator, "limiter", rhsLimiter), lhsLimiter, rhsLimiter)) { 747 return false; 748 } 749 } 750 { 751 String lhsName; 752 lhsName = this.getName(); 753 String rhsName; 754 rhsName = that.getName(); 755 if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) { 756 return false; 757 } 758 } 759 { 760 String lhsParent; 761 lhsParent = this.getParent(); 762 String rhsParent; 763 rhsParent = that.getParent(); 764 if (!strategy.equals(LocatorUtils.property(thisLocator, "parent", lhsParent), LocatorUtils.property(thatLocator, "parent", rhsParent), lhsParent, rhsParent)) { 765 return false; 766 } 767 } 768 { 769 BigInteger lhsPercentLimit; 770 lhsPercentLimit = this.getPercentLimit(); 771 BigInteger rhsPercentLimit; 772 rhsPercentLimit = that.getPercentLimit(); 773 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentLimit", lhsPercentLimit), LocatorUtils.property(thatLocator, "percentLimit", rhsPercentLimit), lhsPercentLimit, rhsPercentLimit)) { 774 return false; 775 } 776 } 777 { 778 BigInteger lhsPercentUsage; 779 lhsPercentUsage = this.getPercentUsage(); 780 BigInteger rhsPercentUsage; 781 rhsPercentUsage = that.getPercentUsage(); 782 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentUsage", lhsPercentUsage), LocatorUtils.property(thatLocator, "percentUsage", rhsPercentUsage), lhsPercentUsage, rhsPercentUsage)) { 783 return false; 784 } 785 } 786 { 787 String lhsPercentUsageMinDelta; 788 lhsPercentUsageMinDelta = this.getPercentUsageMinDelta(); 789 String rhsPercentUsageMinDelta; 790 rhsPercentUsageMinDelta = that.getPercentUsageMinDelta(); 791 if (!strategy.equals(LocatorUtils.property(thisLocator, "percentUsageMinDelta", lhsPercentUsageMinDelta), LocatorUtils.property(thatLocator, "percentUsageMinDelta", rhsPercentUsageMinDelta), lhsPercentUsageMinDelta, rhsPercentUsageMinDelta)) { 792 return false; 793 } 794 } 795 { 796 BigInteger lhsPollingTime; 797 lhsPollingTime = this.getPollingTime(); 798 BigInteger rhsPollingTime; 799 rhsPollingTime = that.getPollingTime(); 800 if (!strategy.equals(LocatorUtils.property(thisLocator, "pollingTime", lhsPollingTime), LocatorUtils.property(thatLocator, "pollingTime", rhsPollingTime), lhsPollingTime, rhsPollingTime)) { 801 return false; 802 } 803 } 804 { 805 String lhsStore; 806 lhsStore = this.getStore(); 807 String rhsStore; 808 rhsStore = that.getStore(); 809 if (!strategy.equals(LocatorUtils.property(thisLocator, "store", lhsStore), LocatorUtils.property(thatLocator, "store", rhsStore), lhsStore, rhsStore)) { 810 return false; 811 } 812 } 813 { 814 String lhsTotal; 815 lhsTotal = this.getTotal(); 816 String rhsTotal; 817 rhsTotal = that.getTotal(); 818 if (!strategy.equals(LocatorUtils.property(thisLocator, "total", lhsTotal), LocatorUtils.property(thatLocator, "total", rhsTotal), lhsTotal, rhsTotal)) { 819 return false; 820 } 821 } 822 { 823 Float lhsUsagePortion; 824 lhsUsagePortion = this.getUsagePortion(); 825 Float rhsUsagePortion; 826 rhsUsagePortion = that.getUsagePortion(); 827 if (!strategy.equals(LocatorUtils.property(thisLocator, "usagePortion", lhsUsagePortion), LocatorUtils.property(thatLocator, "usagePortion", rhsUsagePortion), lhsUsagePortion, rhsUsagePortion)) { 828 return false; 829 } 830 } 831 { 832 String lhsId; 833 lhsId = this.getId(); 834 String rhsId; 835 rhsId = that.getId(); 836 if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { 837 return false; 838 } 839 } 840 return true; 841 } 842 843 public boolean equals(Object object) { 844 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 845 return equals(null, null, object, strategy); 846 } 847 848 849 /** 850 * <p>Java class for anonymous complex type. 851 * 852 * <p>The following schema fragment specifies the expected content contained within this class. 853 * 854 * <pre> 855 * <complexType> 856 * <complexContent> 857 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 858 * <sequence minOccurs="0"> 859 * <any maxOccurs="unbounded" minOccurs="0"/> 860 * </sequence> 861 * </restriction> 862 * </complexContent> 863 * </complexType> 864 * </pre> 865 * 866 * 867 */ 868 @XmlAccessorType(XmlAccessType.FIELD) 869 @XmlType(name = "", propOrder = { 870 "any" 871 }) 872 public static class Executor 873 implements Equals, HashCode, ToString 874 { 875 876 @XmlAnyElement(lax = true) 877 protected List<Object> any; 878 879 /** 880 * Gets the value of the any property. 881 * 882 * <p> 883 * This accessor method returns a reference to the live list, 884 * not a snapshot. Therefore any modification you make to the 885 * returned list will be present inside the JAXB object. 886 * This is why there is not a <CODE>set</CODE> method for the any property. 887 * 888 * <p> 889 * For example, to add a new item, do as follows: 890 * <pre> 891 * getAny().add(newItem); 892 * </pre> 893 * 894 * 895 * <p> 896 * Objects of the following type(s) are allowed in the list 897 * {@link Object } 898 * 899 * 900 */ 901 public List<Object> getAny() { 902 if (any == null) { 903 any = new ArrayList<Object>(); 904 } 905 return this.any; 906 } 907 908 public String toString() { 909 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 910 final StringBuilder buffer = new StringBuilder(); 911 append(null, buffer, strategy); 912 return buffer.toString(); 913 } 914 915 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 916 strategy.appendStart(locator, this, buffer); 917 appendFields(locator, buffer, strategy); 918 strategy.appendEnd(locator, this, buffer); 919 return buffer; 920 } 921 922 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 923 { 924 List<Object> theAny; 925 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 926 strategy.appendField(locator, this, "any", buffer, theAny); 927 } 928 return buffer; 929 } 930 931 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 932 int currentHashCode = 1; 933 { 934 List<Object> theAny; 935 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 936 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 937 } 938 return currentHashCode; 939 } 940 941 public int hashCode() { 942 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 943 return this.hashCode(null, strategy); 944 } 945 946 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 947 if (!(object instanceof DtoTempUsage.Executor)) { 948 return false; 949 } 950 if (this == object) { 951 return true; 952 } 953 final DtoTempUsage.Executor that = ((DtoTempUsage.Executor) object); 954 { 955 List<Object> lhsAny; 956 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 957 List<Object> rhsAny; 958 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 959 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 960 return false; 961 } 962 } 963 return true; 964 } 965 966 public boolean equals(Object object) { 967 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 968 return equals(null, null, object, strategy); 969 } 970 971 } 972 973 974 /** 975 * <p>Java class for anonymous complex type. 976 * 977 * <p>The following schema fragment specifies the expected content contained within this class. 978 * 979 * <pre> 980 * <complexType> 981 * <complexContent> 982 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 983 * <choice minOccurs="0"> 984 * <element ref="{http://activemq.apache.org/schema/core}defaultUsageCapacity"/> 985 * <element ref="{http://activemq.apache.org/schema/core}usageCapacity"/> 986 * <any namespace='##other'/> 987 * </choice> 988 * </restriction> 989 * </complexContent> 990 * </complexType> 991 * </pre> 992 * 993 * 994 */ 995 @XmlAccessorType(XmlAccessType.FIELD) 996 @XmlType(name = "", propOrder = { 997 "defaultUsageCapacity", 998 "usageCapacity", 999 "any" 1000 }) 1001 public static class Limiter 1002 implements Equals, HashCode, ToString 1003 { 1004 1005 protected DtoDefaultUsageCapacity defaultUsageCapacity; 1006 protected DtoUsageCapacity usageCapacity; 1007 @XmlAnyElement(lax = true) 1008 protected Object any; 1009 1010 /** 1011 * Gets the value of the defaultUsageCapacity property. 1012 * 1013 * @return 1014 * possible object is 1015 * {@link DtoDefaultUsageCapacity } 1016 * 1017 */ 1018 public DtoDefaultUsageCapacity getDefaultUsageCapacity() { 1019 return defaultUsageCapacity; 1020 } 1021 1022 /** 1023 * Sets the value of the defaultUsageCapacity property. 1024 * 1025 * @param value 1026 * allowed object is 1027 * {@link DtoDefaultUsageCapacity } 1028 * 1029 */ 1030 public void setDefaultUsageCapacity(DtoDefaultUsageCapacity value) { 1031 this.defaultUsageCapacity = value; 1032 } 1033 1034 /** 1035 * Gets the value of the usageCapacity property. 1036 * 1037 * @return 1038 * possible object is 1039 * {@link DtoUsageCapacity } 1040 * 1041 */ 1042 public DtoUsageCapacity getUsageCapacity() { 1043 return usageCapacity; 1044 } 1045 1046 /** 1047 * Sets the value of the usageCapacity property. 1048 * 1049 * @param value 1050 * allowed object is 1051 * {@link DtoUsageCapacity } 1052 * 1053 */ 1054 public void setUsageCapacity(DtoUsageCapacity value) { 1055 this.usageCapacity = value; 1056 } 1057 1058 /** 1059 * Gets the value of the any property. 1060 * 1061 * @return 1062 * possible object is 1063 * {@link Object } 1064 * 1065 */ 1066 public Object getAny() { 1067 return any; 1068 } 1069 1070 /** 1071 * Sets the value of the any property. 1072 * 1073 * @param value 1074 * allowed object is 1075 * {@link Object } 1076 * 1077 */ 1078 public void setAny(Object value) { 1079 this.any = value; 1080 } 1081 1082 public String toString() { 1083 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1084 final StringBuilder buffer = new StringBuilder(); 1085 append(null, buffer, strategy); 1086 return buffer.toString(); 1087 } 1088 1089 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1090 strategy.appendStart(locator, this, buffer); 1091 appendFields(locator, buffer, strategy); 1092 strategy.appendEnd(locator, this, buffer); 1093 return buffer; 1094 } 1095 1096 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1097 { 1098 DtoDefaultUsageCapacity theDefaultUsageCapacity; 1099 theDefaultUsageCapacity = this.getDefaultUsageCapacity(); 1100 strategy.appendField(locator, this, "defaultUsageCapacity", buffer, theDefaultUsageCapacity); 1101 } 1102 { 1103 DtoUsageCapacity theUsageCapacity; 1104 theUsageCapacity = this.getUsageCapacity(); 1105 strategy.appendField(locator, this, "usageCapacity", buffer, theUsageCapacity); 1106 } 1107 { 1108 Object theAny; 1109 theAny = this.getAny(); 1110 strategy.appendField(locator, this, "any", buffer, theAny); 1111 } 1112 return buffer; 1113 } 1114 1115 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1116 int currentHashCode = 1; 1117 { 1118 DtoDefaultUsageCapacity theDefaultUsageCapacity; 1119 theDefaultUsageCapacity = this.getDefaultUsageCapacity(); 1120 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "defaultUsageCapacity", theDefaultUsageCapacity), currentHashCode, theDefaultUsageCapacity); 1121 } 1122 { 1123 DtoUsageCapacity theUsageCapacity; 1124 theUsageCapacity = this.getUsageCapacity(); 1125 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usageCapacity", theUsageCapacity), currentHashCode, theUsageCapacity); 1126 } 1127 { 1128 Object theAny; 1129 theAny = this.getAny(); 1130 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1131 } 1132 return currentHashCode; 1133 } 1134 1135 public int hashCode() { 1136 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1137 return this.hashCode(null, strategy); 1138 } 1139 1140 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1141 if (!(object instanceof DtoTempUsage.Limiter)) { 1142 return false; 1143 } 1144 if (this == object) { 1145 return true; 1146 } 1147 final DtoTempUsage.Limiter that = ((DtoTempUsage.Limiter) object); 1148 { 1149 DtoDefaultUsageCapacity lhsDefaultUsageCapacity; 1150 lhsDefaultUsageCapacity = this.getDefaultUsageCapacity(); 1151 DtoDefaultUsageCapacity rhsDefaultUsageCapacity; 1152 rhsDefaultUsageCapacity = that.getDefaultUsageCapacity(); 1153 if (!strategy.equals(LocatorUtils.property(thisLocator, "defaultUsageCapacity", lhsDefaultUsageCapacity), LocatorUtils.property(thatLocator, "defaultUsageCapacity", rhsDefaultUsageCapacity), lhsDefaultUsageCapacity, rhsDefaultUsageCapacity)) { 1154 return false; 1155 } 1156 } 1157 { 1158 DtoUsageCapacity lhsUsageCapacity; 1159 lhsUsageCapacity = this.getUsageCapacity(); 1160 DtoUsageCapacity rhsUsageCapacity; 1161 rhsUsageCapacity = that.getUsageCapacity(); 1162 if (!strategy.equals(LocatorUtils.property(thisLocator, "usageCapacity", lhsUsageCapacity), LocatorUtils.property(thatLocator, "usageCapacity", rhsUsageCapacity), lhsUsageCapacity, rhsUsageCapacity)) { 1163 return false; 1164 } 1165 } 1166 { 1167 Object lhsAny; 1168 lhsAny = this.getAny(); 1169 Object rhsAny; 1170 rhsAny = that.getAny(); 1171 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1172 return false; 1173 } 1174 } 1175 return true; 1176 } 1177 1178 public boolean equals(Object object) { 1179 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1180 return equals(null, null, object, strategy); 1181 } 1182 1183 } 1184 1185 1186 /** 1187 * <p>Java class for anonymous complex type. 1188 * 1189 * <p>The following schema fragment specifies the expected content contained within this class. 1190 * 1191 * <pre> 1192 * <complexType> 1193 * <complexContent> 1194 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1195 * <sequence minOccurs="0"> 1196 * <any maxOccurs="unbounded" minOccurs="0"/> 1197 * </sequence> 1198 * </restriction> 1199 * </complexContent> 1200 * </complexType> 1201 * </pre> 1202 * 1203 * 1204 */ 1205 @XmlAccessorType(XmlAccessType.FIELD) 1206 @XmlType(name = "", propOrder = { 1207 "any" 1208 }) 1209 public static class Parent 1210 implements Equals, HashCode, ToString 1211 { 1212 1213 @XmlAnyElement(lax = true) 1214 protected List<Object> any; 1215 1216 /** 1217 * Gets the value of the any property. 1218 * 1219 * <p> 1220 * This accessor method returns a reference to the live list, 1221 * not a snapshot. Therefore any modification you make to the 1222 * returned list will be present inside the JAXB object. 1223 * This is why there is not a <CODE>set</CODE> method for the any property. 1224 * 1225 * <p> 1226 * For example, to add a new item, do as follows: 1227 * <pre> 1228 * getAny().add(newItem); 1229 * </pre> 1230 * 1231 * 1232 * <p> 1233 * Objects of the following type(s) are allowed in the list 1234 * {@link Object } 1235 * 1236 * 1237 */ 1238 public List<Object> getAny() { 1239 if (any == null) { 1240 any = new ArrayList<Object>(); 1241 } 1242 return this.any; 1243 } 1244 1245 public String toString() { 1246 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1247 final StringBuilder buffer = new StringBuilder(); 1248 append(null, buffer, strategy); 1249 return buffer.toString(); 1250 } 1251 1252 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1253 strategy.appendStart(locator, this, buffer); 1254 appendFields(locator, buffer, strategy); 1255 strategy.appendEnd(locator, this, buffer); 1256 return buffer; 1257 } 1258 1259 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1260 { 1261 List<Object> theAny; 1262 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1263 strategy.appendField(locator, this, "any", buffer, theAny); 1264 } 1265 return buffer; 1266 } 1267 1268 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1269 int currentHashCode = 1; 1270 { 1271 List<Object> theAny; 1272 theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1273 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1274 } 1275 return currentHashCode; 1276 } 1277 1278 public int hashCode() { 1279 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1280 return this.hashCode(null, strategy); 1281 } 1282 1283 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1284 if (!(object instanceof DtoTempUsage.Parent)) { 1285 return false; 1286 } 1287 if (this == object) { 1288 return true; 1289 } 1290 final DtoTempUsage.Parent that = ((DtoTempUsage.Parent) object); 1291 { 1292 List<Object> lhsAny; 1293 lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null); 1294 List<Object> rhsAny; 1295 rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null); 1296 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1297 return false; 1298 } 1299 } 1300 return true; 1301 } 1302 1303 public boolean equals(Object object) { 1304 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1305 return equals(null, null, object, strategy); 1306 } 1307 1308 } 1309 1310 1311 /** 1312 * <p>Java class for anonymous complex type. 1313 * 1314 * <p>The following schema fragment specifies the expected content contained within this class. 1315 * 1316 * <pre> 1317 * <complexType> 1318 * <complexContent> 1319 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 1320 * <choice minOccurs="0"> 1321 * <element ref="{http://activemq.apache.org/schema/core}levelDB"/> 1322 * <element ref="{http://activemq.apache.org/schema/core}pListStoreImpl"/> 1323 * <element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/> 1324 * <any namespace='##other'/> 1325 * </choice> 1326 * </restriction> 1327 * </complexContent> 1328 * </complexType> 1329 * </pre> 1330 * 1331 * 1332 */ 1333 @XmlAccessorType(XmlAccessType.FIELD) 1334 @XmlType(name = "", propOrder = { 1335 "levelDB", 1336 "pListStoreImpl", 1337 "replicatedLevelDB", 1338 "any" 1339 }) 1340 public static class Store 1341 implements Equals, HashCode, ToString 1342 { 1343 1344 protected DtoLevelDB levelDB; 1345 protected DtoPListStoreImpl pListStoreImpl; 1346 protected DtoReplicatedLevelDB replicatedLevelDB; 1347 @XmlAnyElement(lax = true) 1348 protected Object any; 1349 1350 /** 1351 * Gets the value of the levelDB property. 1352 * 1353 * @return 1354 * possible object is 1355 * {@link DtoLevelDB } 1356 * 1357 */ 1358 public DtoLevelDB getLevelDB() { 1359 return levelDB; 1360 } 1361 1362 /** 1363 * Sets the value of the levelDB property. 1364 * 1365 * @param value 1366 * allowed object is 1367 * {@link DtoLevelDB } 1368 * 1369 */ 1370 public void setLevelDB(DtoLevelDB value) { 1371 this.levelDB = value; 1372 } 1373 1374 /** 1375 * Gets the value of the pListStoreImpl property. 1376 * 1377 * @return 1378 * possible object is 1379 * {@link DtoPListStoreImpl } 1380 * 1381 */ 1382 public DtoPListStoreImpl getPListStoreImpl() { 1383 return pListStoreImpl; 1384 } 1385 1386 /** 1387 * Sets the value of the pListStoreImpl property. 1388 * 1389 * @param value 1390 * allowed object is 1391 * {@link DtoPListStoreImpl } 1392 * 1393 */ 1394 public void setPListStoreImpl(DtoPListStoreImpl value) { 1395 this.pListStoreImpl = value; 1396 } 1397 1398 /** 1399 * Gets the value of the replicatedLevelDB property. 1400 * 1401 * @return 1402 * possible object is 1403 * {@link DtoReplicatedLevelDB } 1404 * 1405 */ 1406 public DtoReplicatedLevelDB getReplicatedLevelDB() { 1407 return replicatedLevelDB; 1408 } 1409 1410 /** 1411 * Sets the value of the replicatedLevelDB property. 1412 * 1413 * @param value 1414 * allowed object is 1415 * {@link DtoReplicatedLevelDB } 1416 * 1417 */ 1418 public void setReplicatedLevelDB(DtoReplicatedLevelDB value) { 1419 this.replicatedLevelDB = value; 1420 } 1421 1422 /** 1423 * Gets the value of the any property. 1424 * 1425 * @return 1426 * possible object is 1427 * {@link Object } 1428 * 1429 */ 1430 public Object getAny() { 1431 return any; 1432 } 1433 1434 /** 1435 * Sets the value of the any property. 1436 * 1437 * @param value 1438 * allowed object is 1439 * {@link Object } 1440 * 1441 */ 1442 public void setAny(Object value) { 1443 this.any = value; 1444 } 1445 1446 public String toString() { 1447 final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; 1448 final StringBuilder buffer = new StringBuilder(); 1449 append(null, buffer, strategy); 1450 return buffer.toString(); 1451 } 1452 1453 public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1454 strategy.appendStart(locator, this, buffer); 1455 appendFields(locator, buffer, strategy); 1456 strategy.appendEnd(locator, this, buffer); 1457 return buffer; 1458 } 1459 1460 public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { 1461 { 1462 DtoLevelDB theLevelDB; 1463 theLevelDB = this.getLevelDB(); 1464 strategy.appendField(locator, this, "levelDB", buffer, theLevelDB); 1465 } 1466 { 1467 DtoPListStoreImpl thePListStoreImpl; 1468 thePListStoreImpl = this.getPListStoreImpl(); 1469 strategy.appendField(locator, this, "pListStoreImpl", buffer, thePListStoreImpl); 1470 } 1471 { 1472 DtoReplicatedLevelDB theReplicatedLevelDB; 1473 theReplicatedLevelDB = this.getReplicatedLevelDB(); 1474 strategy.appendField(locator, this, "replicatedLevelDB", buffer, theReplicatedLevelDB); 1475 } 1476 { 1477 Object theAny; 1478 theAny = this.getAny(); 1479 strategy.appendField(locator, this, "any", buffer, theAny); 1480 } 1481 return buffer; 1482 } 1483 1484 public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { 1485 int currentHashCode = 1; 1486 { 1487 DtoLevelDB theLevelDB; 1488 theLevelDB = this.getLevelDB(); 1489 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "levelDB", theLevelDB), currentHashCode, theLevelDB); 1490 } 1491 { 1492 DtoPListStoreImpl thePListStoreImpl; 1493 thePListStoreImpl = this.getPListStoreImpl(); 1494 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pListStoreImpl", thePListStoreImpl), currentHashCode, thePListStoreImpl); 1495 } 1496 { 1497 DtoReplicatedLevelDB theReplicatedLevelDB; 1498 theReplicatedLevelDB = this.getReplicatedLevelDB(); 1499 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "replicatedLevelDB", theReplicatedLevelDB), currentHashCode, theReplicatedLevelDB); 1500 } 1501 { 1502 Object theAny; 1503 theAny = this.getAny(); 1504 currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny); 1505 } 1506 return currentHashCode; 1507 } 1508 1509 public int hashCode() { 1510 final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; 1511 return this.hashCode(null, strategy); 1512 } 1513 1514 public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { 1515 if (!(object instanceof DtoTempUsage.Store)) { 1516 return false; 1517 } 1518 if (this == object) { 1519 return true; 1520 } 1521 final DtoTempUsage.Store that = ((DtoTempUsage.Store) object); 1522 { 1523 DtoLevelDB lhsLevelDB; 1524 lhsLevelDB = this.getLevelDB(); 1525 DtoLevelDB rhsLevelDB; 1526 rhsLevelDB = that.getLevelDB(); 1527 if (!strategy.equals(LocatorUtils.property(thisLocator, "levelDB", lhsLevelDB), LocatorUtils.property(thatLocator, "levelDB", rhsLevelDB), lhsLevelDB, rhsLevelDB)) { 1528 return false; 1529 } 1530 } 1531 { 1532 DtoPListStoreImpl lhsPListStoreImpl; 1533 lhsPListStoreImpl = this.getPListStoreImpl(); 1534 DtoPListStoreImpl rhsPListStoreImpl; 1535 rhsPListStoreImpl = that.getPListStoreImpl(); 1536 if (!strategy.equals(LocatorUtils.property(thisLocator, "pListStoreImpl", lhsPListStoreImpl), LocatorUtils.property(thatLocator, "pListStoreImpl", rhsPListStoreImpl), lhsPListStoreImpl, rhsPListStoreImpl)) { 1537 return false; 1538 } 1539 } 1540 { 1541 DtoReplicatedLevelDB lhsReplicatedLevelDB; 1542 lhsReplicatedLevelDB = this.getReplicatedLevelDB(); 1543 DtoReplicatedLevelDB rhsReplicatedLevelDB; 1544 rhsReplicatedLevelDB = that.getReplicatedLevelDB(); 1545 if (!strategy.equals(LocatorUtils.property(thisLocator, "replicatedLevelDB", lhsReplicatedLevelDB), LocatorUtils.property(thatLocator, "replicatedLevelDB", rhsReplicatedLevelDB), lhsReplicatedLevelDB, rhsReplicatedLevelDB)) { 1546 return false; 1547 } 1548 } 1549 { 1550 Object lhsAny; 1551 lhsAny = this.getAny(); 1552 Object rhsAny; 1553 rhsAny = that.getAny(); 1554 if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) { 1555 return false; 1556 } 1557 } 1558 return true; 1559 } 1560 1561 public boolean equals(Object object) { 1562 final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy(); 1563 return equals(null, null, object, strategy); 1564 } 1565 1566 } 1567 1568}