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