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