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