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