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