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="next" type="{http://www.w3.org/2001/XMLSchema}string" />
088     *       &lt;attribute name="persistenceFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" />
089     *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
090     *       &lt;anyAttribute processContents='lax' namespace='##other'/>
091     *     &lt;/restriction>
092     *   &lt;/complexContent>
093     * &lt;/complexType>
094     * </pre>
095     * 
096     * 
097     */
098    @XmlAccessorType(XmlAccessType.FIELD)
099    @XmlType(name = "", propOrder = {
100        "adminConnectionContextOrNextOrAny"
101    })
102    @XmlRootElement(name = "forcePersistencyModeBroker")
103    public class DtoForcePersistencyModeBroker
104        implements Equals, HashCode, ToString
105    {
106    
107        @XmlElementRefs({
108            @XmlElementRef(name = "next", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
109            @XmlElementRef(name = "adminConnectionContext", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class)
110        })
111        @XmlAnyElement(lax = true)
112        protected List<Object> adminConnectionContextOrNextOrAny;
113        @XmlAttribute(name = "adminConnectionContext")
114        protected String adminConnectionContext;
115        @XmlAttribute(name = "next")
116        protected String next;
117        @XmlAttribute(name = "persistenceFlag")
118        protected Boolean persistenceFlag;
119        @XmlAttribute(name = "id")
120        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
121        @XmlID
122        @XmlSchemaType(name = "ID")
123        protected String id;
124        @XmlAnyAttribute
125        private Map<QName, String> otherAttributes = new HashMap<QName, String>();
126    
127        /**
128         * Gets the value of the adminConnectionContextOrNextOrAny property.
129         * 
130         * <p>
131         * This accessor method returns a reference to the live list,
132         * not a snapshot. Therefore any modification you make to the
133         * returned list will be present inside the JAXB object.
134         * This is why there is not a <CODE>set</CODE> method for the adminConnectionContextOrNextOrAny property.
135         * 
136         * <p>
137         * For example, to add a new item, do as follows:
138         * <pre>
139         *    getAdminConnectionContextOrNextOrAny().add(newItem);
140         * </pre>
141         * 
142         * 
143         * <p>
144         * Objects of the following type(s) are allowed in the list
145         * {@link JAXBElement }{@code <}{@link DtoForcePersistencyModeBroker.Next }{@code >}
146         * {@link Object }
147         * {@link JAXBElement }{@code <}{@link DtoForcePersistencyModeBroker.AdminConnectionContext }{@code >}
148         * 
149         * 
150         */
151        public List<Object> getAdminConnectionContextOrNextOrAny() {
152            if (adminConnectionContextOrNextOrAny == null) {
153                adminConnectionContextOrNextOrAny = new ArrayList<Object>();
154            }
155            return this.adminConnectionContextOrNextOrAny;
156        }
157    
158        /**
159         * Gets the value of the adminConnectionContext property.
160         * 
161         * @return
162         *     possible object is
163         *     {@link String }
164         *     
165         */
166        public String getAdminConnectionContext() {
167            return adminConnectionContext;
168        }
169    
170        /**
171         * Sets the value of the adminConnectionContext property.
172         * 
173         * @param value
174         *     allowed object is
175         *     {@link String }
176         *     
177         */
178        public void setAdminConnectionContext(String value) {
179            this.adminConnectionContext = value;
180        }
181    
182        /**
183         * Gets the value of the next property.
184         * 
185         * @return
186         *     possible object is
187         *     {@link String }
188         *     
189         */
190        public String getNext() {
191            return next;
192        }
193    
194        /**
195         * Sets the value of the next property.
196         * 
197         * @param value
198         *     allowed object is
199         *     {@link String }
200         *     
201         */
202        public void setNext(String value) {
203            this.next = value;
204        }
205    
206        /**
207         * Gets the value of the persistenceFlag property.
208         * 
209         * @return
210         *     possible object is
211         *     {@link Boolean }
212         *     
213         */
214        public Boolean isPersistenceFlag() {
215            return persistenceFlag;
216        }
217    
218        /**
219         * Sets the value of the persistenceFlag property.
220         * 
221         * @param value
222         *     allowed object is
223         *     {@link Boolean }
224         *     
225         */
226        public void setPersistenceFlag(Boolean value) {
227            this.persistenceFlag = value;
228        }
229    
230        /**
231         * Gets the value of the id property.
232         * 
233         * @return
234         *     possible object is
235         *     {@link String }
236         *     
237         */
238        public String getId() {
239            return id;
240        }
241    
242        /**
243         * Sets the value of the id property.
244         * 
245         * @param value
246         *     allowed object is
247         *     {@link String }
248         *     
249         */
250        public void setId(String value) {
251            this.id = value;
252        }
253    
254        /**
255         * Gets a map that contains attributes that aren't bound to any typed property on this class.
256         * 
257         * <p>
258         * the map is keyed by the name of the attribute and 
259         * the value is the string value of the attribute.
260         * 
261         * the map returned by this method is live, and you can add new attribute
262         * by updating the map directly. Because of this design, there's no setter.
263         * 
264         * 
265         * @return
266         *     always non-null
267         */
268        public Map<QName, String> getOtherAttributes() {
269            return otherAttributes;
270        }
271    
272        public String toString() {
273            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
274            final StringBuilder buffer = new StringBuilder();
275            append(null, buffer, strategy);
276            return buffer.toString();
277        }
278    
279        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
280            strategy.appendStart(locator, this, buffer);
281            appendFields(locator, buffer, strategy);
282            strategy.appendEnd(locator, this, buffer);
283            return buffer;
284        }
285    
286        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
287            {
288                List<Object> theAdminConnectionContextOrNextOrAny;
289                theAdminConnectionContextOrNextOrAny = (((this.adminConnectionContextOrNextOrAny!= null)&&(!this.adminConnectionContextOrNextOrAny.isEmpty()))?this.getAdminConnectionContextOrNextOrAny():null);
290                strategy.appendField(locator, this, "adminConnectionContextOrNextOrAny", buffer, theAdminConnectionContextOrNextOrAny);
291            }
292            {
293                String theAdminConnectionContext;
294                theAdminConnectionContext = this.getAdminConnectionContext();
295                strategy.appendField(locator, this, "adminConnectionContext", buffer, theAdminConnectionContext);
296            }
297            {
298                String theNext;
299                theNext = this.getNext();
300                strategy.appendField(locator, this, "next", buffer, theNext);
301            }
302            {
303                Boolean thePersistenceFlag;
304                thePersistenceFlag = this.isPersistenceFlag();
305                strategy.appendField(locator, this, "persistenceFlag", buffer, thePersistenceFlag);
306            }
307            {
308                String theId;
309                theId = this.getId();
310                strategy.appendField(locator, this, "id", buffer, theId);
311            }
312            return buffer;
313        }
314    
315        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
316            int currentHashCode = 1;
317            {
318                List<Object> theAdminConnectionContextOrNextOrAny;
319                theAdminConnectionContextOrNextOrAny = (((this.adminConnectionContextOrNextOrAny!= null)&&(!this.adminConnectionContextOrNextOrAny.isEmpty()))?this.getAdminConnectionContextOrNextOrAny():null);
320                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adminConnectionContextOrNextOrAny", theAdminConnectionContextOrNextOrAny), currentHashCode, theAdminConnectionContextOrNextOrAny);
321            }
322            {
323                String theAdminConnectionContext;
324                theAdminConnectionContext = this.getAdminConnectionContext();
325                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adminConnectionContext", theAdminConnectionContext), currentHashCode, theAdminConnectionContext);
326            }
327            {
328                String theNext;
329                theNext = this.getNext();
330                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "next", theNext), currentHashCode, theNext);
331            }
332            {
333                Boolean thePersistenceFlag;
334                thePersistenceFlag = this.isPersistenceFlag();
335                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "persistenceFlag", thePersistenceFlag), currentHashCode, thePersistenceFlag);
336            }
337            {
338                String theId;
339                theId = this.getId();
340                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
341            }
342            return currentHashCode;
343        }
344    
345        public int hashCode() {
346            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
347            return this.hashCode(null, strategy);
348        }
349    
350        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
351            if (!(object instanceof DtoForcePersistencyModeBroker)) {
352                return false;
353            }
354            if (this == object) {
355                return true;
356            }
357            final DtoForcePersistencyModeBroker that = ((DtoForcePersistencyModeBroker) object);
358            {
359                List<Object> lhsAdminConnectionContextOrNextOrAny;
360                lhsAdminConnectionContextOrNextOrAny = (((this.adminConnectionContextOrNextOrAny!= null)&&(!this.adminConnectionContextOrNextOrAny.isEmpty()))?this.getAdminConnectionContextOrNextOrAny():null);
361                List<Object> rhsAdminConnectionContextOrNextOrAny;
362                rhsAdminConnectionContextOrNextOrAny = (((that.adminConnectionContextOrNextOrAny!= null)&&(!that.adminConnectionContextOrNextOrAny.isEmpty()))?that.getAdminConnectionContextOrNextOrAny():null);
363                if (!strategy.equals(LocatorUtils.property(thisLocator, "adminConnectionContextOrNextOrAny", lhsAdminConnectionContextOrNextOrAny), LocatorUtils.property(thatLocator, "adminConnectionContextOrNextOrAny", rhsAdminConnectionContextOrNextOrAny), lhsAdminConnectionContextOrNextOrAny, rhsAdminConnectionContextOrNextOrAny)) {
364                    return false;
365                }
366            }
367            {
368                String lhsAdminConnectionContext;
369                lhsAdminConnectionContext = this.getAdminConnectionContext();
370                String rhsAdminConnectionContext;
371                rhsAdminConnectionContext = that.getAdminConnectionContext();
372                if (!strategy.equals(LocatorUtils.property(thisLocator, "adminConnectionContext", lhsAdminConnectionContext), LocatorUtils.property(thatLocator, "adminConnectionContext", rhsAdminConnectionContext), lhsAdminConnectionContext, rhsAdminConnectionContext)) {
373                    return false;
374                }
375            }
376            {
377                String lhsNext;
378                lhsNext = this.getNext();
379                String rhsNext;
380                rhsNext = that.getNext();
381                if (!strategy.equals(LocatorUtils.property(thisLocator, "next", lhsNext), LocatorUtils.property(thatLocator, "next", rhsNext), lhsNext, rhsNext)) {
382                    return false;
383                }
384            }
385            {
386                Boolean lhsPersistenceFlag;
387                lhsPersistenceFlag = this.isPersistenceFlag();
388                Boolean rhsPersistenceFlag;
389                rhsPersistenceFlag = that.isPersistenceFlag();
390                if (!strategy.equals(LocatorUtils.property(thisLocator, "persistenceFlag", lhsPersistenceFlag), LocatorUtils.property(thatLocator, "persistenceFlag", rhsPersistenceFlag), lhsPersistenceFlag, rhsPersistenceFlag)) {
391                    return false;
392                }
393            }
394            {
395                String lhsId;
396                lhsId = this.getId();
397                String rhsId;
398                rhsId = that.getId();
399                if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
400                    return false;
401                }
402            }
403            return true;
404        }
405    
406        public boolean equals(Object object) {
407            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
408            return equals(null, null, object, strategy);
409        }
410    
411    
412        /**
413         * <p>Java class for anonymous complex type.
414         * 
415         * <p>The following schema fragment specifies the expected content contained within this class.
416         * 
417         * <pre>
418         * &lt;complexType>
419         *   &lt;complexContent>
420         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
421         *       &lt;sequence minOccurs="0">
422         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
423         *       &lt;/sequence>
424         *     &lt;/restriction>
425         *   &lt;/complexContent>
426         * &lt;/complexType>
427         * </pre>
428         * 
429         * 
430         */
431        @XmlAccessorType(XmlAccessType.FIELD)
432        @XmlType(name = "", propOrder = {
433            "any"
434        })
435        public static class AdminConnectionContext
436            implements Equals, HashCode, ToString
437        {
438    
439            @XmlAnyElement(lax = true)
440            protected List<Object> any;
441    
442            /**
443             * Gets the value of the any property.
444             * 
445             * <p>
446             * This accessor method returns a reference to the live list,
447             * not a snapshot. Therefore any modification you make to the
448             * returned list will be present inside the JAXB object.
449             * This is why there is not a <CODE>set</CODE> method for the any property.
450             * 
451             * <p>
452             * For example, to add a new item, do as follows:
453             * <pre>
454             *    getAny().add(newItem);
455             * </pre>
456             * 
457             * 
458             * <p>
459             * Objects of the following type(s) are allowed in the list
460             * {@link Object }
461             * 
462             * 
463             */
464            public List<Object> getAny() {
465                if (any == null) {
466                    any = new ArrayList<Object>();
467                }
468                return this.any;
469            }
470    
471            public String toString() {
472                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
473                final StringBuilder buffer = new StringBuilder();
474                append(null, buffer, strategy);
475                return buffer.toString();
476            }
477    
478            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
479                strategy.appendStart(locator, this, buffer);
480                appendFields(locator, buffer, strategy);
481                strategy.appendEnd(locator, this, buffer);
482                return buffer;
483            }
484    
485            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
486                {
487                    List<Object> theAny;
488                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
489                    strategy.appendField(locator, this, "any", buffer, theAny);
490                }
491                return buffer;
492            }
493    
494            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
495                int currentHashCode = 1;
496                {
497                    List<Object> theAny;
498                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
499                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
500                }
501                return currentHashCode;
502            }
503    
504            public int hashCode() {
505                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
506                return this.hashCode(null, strategy);
507            }
508    
509            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
510                if (!(object instanceof DtoForcePersistencyModeBroker.AdminConnectionContext)) {
511                    return false;
512                }
513                if (this == object) {
514                    return true;
515                }
516                final DtoForcePersistencyModeBroker.AdminConnectionContext that = ((DtoForcePersistencyModeBroker.AdminConnectionContext) object);
517                {
518                    List<Object> lhsAny;
519                    lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
520                    List<Object> rhsAny;
521                    rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
522                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
523                        return false;
524                    }
525                }
526                return true;
527            }
528    
529            public boolean equals(Object object) {
530                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
531                return equals(null, null, object, strategy);
532            }
533    
534        }
535    
536    
537        /**
538         * <p>Java class for anonymous complex type.
539         * 
540         * <p>The following schema fragment specifies the expected content contained within this class.
541         * 
542         * <pre>
543         * &lt;complexType>
544         *   &lt;complexContent>
545         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
546         *       &lt;choice minOccurs="0">
547         *         &lt;element ref="{http://activemq.apache.org/schema/core}destinationPathSeparatorPlugin"/>
548         *         &lt;element ref="{http://activemq.apache.org/schema/core}forcePersistencyModeBroker"/>
549         *         &lt;element ref="{http://activemq.apache.org/schema/core}loggingBrokerPlugin"/>
550         *         &lt;element ref="{http://activemq.apache.org/schema/core}multicastTraceBrokerPlugin"/>
551         *         &lt;element ref="{http://activemq.apache.org/schema/core}redeliveryPlugin"/>
552         *         &lt;element ref="{http://activemq.apache.org/schema/core}timeStampingBrokerPlugin"/>
553         *         &lt;element ref="{http://activemq.apache.org/schema/core}traceBrokerPathPlugin"/>
554         *         &lt;element ref="{http://activemq.apache.org/schema/core}udpTraceBrokerPlugin"/>
555         *         &lt;any namespace='##other'/>
556         *       &lt;/choice>
557         *     &lt;/restriction>
558         *   &lt;/complexContent>
559         * &lt;/complexType>
560         * </pre>
561         * 
562         * 
563         */
564        @XmlAccessorType(XmlAccessType.FIELD)
565        @XmlType(name = "", propOrder = {
566            "destinationPathSeparatorPlugin",
567            "forcePersistencyModeBroker",
568            "loggingBrokerPlugin",
569            "multicastTraceBrokerPlugin",
570            "redeliveryPlugin",
571            "timeStampingBrokerPlugin",
572            "traceBrokerPathPlugin",
573            "udpTraceBrokerPlugin",
574            "any"
575        })
576        public static class Next
577            implements Equals, HashCode, ToString
578        {
579    
580            protected DtoDestinationPathSeparatorPlugin destinationPathSeparatorPlugin;
581            protected DtoForcePersistencyModeBroker forcePersistencyModeBroker;
582            protected DtoLoggingBrokerPlugin loggingBrokerPlugin;
583            protected DtoMulticastTraceBrokerPlugin multicastTraceBrokerPlugin;
584            protected DtoRedeliveryPlugin redeliveryPlugin;
585            protected DtoTimeStampingBrokerPlugin timeStampingBrokerPlugin;
586            protected DtoTraceBrokerPathPlugin traceBrokerPathPlugin;
587            protected DtoUdpTraceBrokerPlugin udpTraceBrokerPlugin;
588            @XmlAnyElement(lax = true)
589            protected Object any;
590    
591            /**
592             * Gets the value of the destinationPathSeparatorPlugin property.
593             * 
594             * @return
595             *     possible object is
596             *     {@link DtoDestinationPathSeparatorPlugin }
597             *     
598             */
599            public DtoDestinationPathSeparatorPlugin getDestinationPathSeparatorPlugin() {
600                return destinationPathSeparatorPlugin;
601            }
602    
603            /**
604             * Sets the value of the destinationPathSeparatorPlugin property.
605             * 
606             * @param value
607             *     allowed object is
608             *     {@link DtoDestinationPathSeparatorPlugin }
609             *     
610             */
611            public void setDestinationPathSeparatorPlugin(DtoDestinationPathSeparatorPlugin value) {
612                this.destinationPathSeparatorPlugin = value;
613            }
614    
615            /**
616             * Gets the value of the forcePersistencyModeBroker property.
617             * 
618             * @return
619             *     possible object is
620             *     {@link DtoForcePersistencyModeBroker }
621             *     
622             */
623            public DtoForcePersistencyModeBroker getForcePersistencyModeBroker() {
624                return forcePersistencyModeBroker;
625            }
626    
627            /**
628             * Sets the value of the forcePersistencyModeBroker property.
629             * 
630             * @param value
631             *     allowed object is
632             *     {@link DtoForcePersistencyModeBroker }
633             *     
634             */
635            public void setForcePersistencyModeBroker(DtoForcePersistencyModeBroker value) {
636                this.forcePersistencyModeBroker = value;
637            }
638    
639            /**
640             * Gets the value of the loggingBrokerPlugin property.
641             * 
642             * @return
643             *     possible object is
644             *     {@link DtoLoggingBrokerPlugin }
645             *     
646             */
647            public DtoLoggingBrokerPlugin getLoggingBrokerPlugin() {
648                return loggingBrokerPlugin;
649            }
650    
651            /**
652             * Sets the value of the loggingBrokerPlugin property.
653             * 
654             * @param value
655             *     allowed object is
656             *     {@link DtoLoggingBrokerPlugin }
657             *     
658             */
659            public void setLoggingBrokerPlugin(DtoLoggingBrokerPlugin value) {
660                this.loggingBrokerPlugin = value;
661            }
662    
663            /**
664             * Gets the value of the multicastTraceBrokerPlugin property.
665             * 
666             * @return
667             *     possible object is
668             *     {@link DtoMulticastTraceBrokerPlugin }
669             *     
670             */
671            public DtoMulticastTraceBrokerPlugin getMulticastTraceBrokerPlugin() {
672                return multicastTraceBrokerPlugin;
673            }
674    
675            /**
676             * Sets the value of the multicastTraceBrokerPlugin property.
677             * 
678             * @param value
679             *     allowed object is
680             *     {@link DtoMulticastTraceBrokerPlugin }
681             *     
682             */
683            public void setMulticastTraceBrokerPlugin(DtoMulticastTraceBrokerPlugin value) {
684                this.multicastTraceBrokerPlugin = value;
685            }
686    
687            /**
688             * Gets the value of the redeliveryPlugin property.
689             * 
690             * @return
691             *     possible object is
692             *     {@link DtoRedeliveryPlugin }
693             *     
694             */
695            public DtoRedeliveryPlugin getRedeliveryPlugin() {
696                return redeliveryPlugin;
697            }
698    
699            /**
700             * Sets the value of the redeliveryPlugin property.
701             * 
702             * @param value
703             *     allowed object is
704             *     {@link DtoRedeliveryPlugin }
705             *     
706             */
707            public void setRedeliveryPlugin(DtoRedeliveryPlugin value) {
708                this.redeliveryPlugin = value;
709            }
710    
711            /**
712             * Gets the value of the timeStampingBrokerPlugin property.
713             * 
714             * @return
715             *     possible object is
716             *     {@link DtoTimeStampingBrokerPlugin }
717             *     
718             */
719            public DtoTimeStampingBrokerPlugin getTimeStampingBrokerPlugin() {
720                return timeStampingBrokerPlugin;
721            }
722    
723            /**
724             * Sets the value of the timeStampingBrokerPlugin property.
725             * 
726             * @param value
727             *     allowed object is
728             *     {@link DtoTimeStampingBrokerPlugin }
729             *     
730             */
731            public void setTimeStampingBrokerPlugin(DtoTimeStampingBrokerPlugin value) {
732                this.timeStampingBrokerPlugin = value;
733            }
734    
735            /**
736             * Gets the value of the traceBrokerPathPlugin property.
737             * 
738             * @return
739             *     possible object is
740             *     {@link DtoTraceBrokerPathPlugin }
741             *     
742             */
743            public DtoTraceBrokerPathPlugin getTraceBrokerPathPlugin() {
744                return traceBrokerPathPlugin;
745            }
746    
747            /**
748             * Sets the value of the traceBrokerPathPlugin property.
749             * 
750             * @param value
751             *     allowed object is
752             *     {@link DtoTraceBrokerPathPlugin }
753             *     
754             */
755            public void setTraceBrokerPathPlugin(DtoTraceBrokerPathPlugin value) {
756                this.traceBrokerPathPlugin = value;
757            }
758    
759            /**
760             * Gets the value of the udpTraceBrokerPlugin property.
761             * 
762             * @return
763             *     possible object is
764             *     {@link DtoUdpTraceBrokerPlugin }
765             *     
766             */
767            public DtoUdpTraceBrokerPlugin getUdpTraceBrokerPlugin() {
768                return udpTraceBrokerPlugin;
769            }
770    
771            /**
772             * Sets the value of the udpTraceBrokerPlugin property.
773             * 
774             * @param value
775             *     allowed object is
776             *     {@link DtoUdpTraceBrokerPlugin }
777             *     
778             */
779            public void setUdpTraceBrokerPlugin(DtoUdpTraceBrokerPlugin value) {
780                this.udpTraceBrokerPlugin = value;
781            }
782    
783            /**
784             * Gets the value of the any property.
785             * 
786             * @return
787             *     possible object is
788             *     {@link Object }
789             *     
790             */
791            public Object getAny() {
792                return any;
793            }
794    
795            /**
796             * Sets the value of the any property.
797             * 
798             * @param value
799             *     allowed object is
800             *     {@link Object }
801             *     
802             */
803            public void setAny(Object value) {
804                this.any = value;
805            }
806    
807            public String toString() {
808                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
809                final StringBuilder buffer = new StringBuilder();
810                append(null, buffer, strategy);
811                return buffer.toString();
812            }
813    
814            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
815                strategy.appendStart(locator, this, buffer);
816                appendFields(locator, buffer, strategy);
817                strategy.appendEnd(locator, this, buffer);
818                return buffer;
819            }
820    
821            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
822                {
823                    DtoDestinationPathSeparatorPlugin theDestinationPathSeparatorPlugin;
824                    theDestinationPathSeparatorPlugin = this.getDestinationPathSeparatorPlugin();
825                    strategy.appendField(locator, this, "destinationPathSeparatorPlugin", buffer, theDestinationPathSeparatorPlugin);
826                }
827                {
828                    DtoForcePersistencyModeBroker theForcePersistencyModeBroker;
829                    theForcePersistencyModeBroker = this.getForcePersistencyModeBroker();
830                    strategy.appendField(locator, this, "forcePersistencyModeBroker", buffer, theForcePersistencyModeBroker);
831                }
832                {
833                    DtoLoggingBrokerPlugin theLoggingBrokerPlugin;
834                    theLoggingBrokerPlugin = this.getLoggingBrokerPlugin();
835                    strategy.appendField(locator, this, "loggingBrokerPlugin", buffer, theLoggingBrokerPlugin);
836                }
837                {
838                    DtoMulticastTraceBrokerPlugin theMulticastTraceBrokerPlugin;
839                    theMulticastTraceBrokerPlugin = this.getMulticastTraceBrokerPlugin();
840                    strategy.appendField(locator, this, "multicastTraceBrokerPlugin", buffer, theMulticastTraceBrokerPlugin);
841                }
842                {
843                    DtoRedeliveryPlugin theRedeliveryPlugin;
844                    theRedeliveryPlugin = this.getRedeliveryPlugin();
845                    strategy.appendField(locator, this, "redeliveryPlugin", buffer, theRedeliveryPlugin);
846                }
847                {
848                    DtoTimeStampingBrokerPlugin theTimeStampingBrokerPlugin;
849                    theTimeStampingBrokerPlugin = this.getTimeStampingBrokerPlugin();
850                    strategy.appendField(locator, this, "timeStampingBrokerPlugin", buffer, theTimeStampingBrokerPlugin);
851                }
852                {
853                    DtoTraceBrokerPathPlugin theTraceBrokerPathPlugin;
854                    theTraceBrokerPathPlugin = this.getTraceBrokerPathPlugin();
855                    strategy.appendField(locator, this, "traceBrokerPathPlugin", buffer, theTraceBrokerPathPlugin);
856                }
857                {
858                    DtoUdpTraceBrokerPlugin theUdpTraceBrokerPlugin;
859                    theUdpTraceBrokerPlugin = this.getUdpTraceBrokerPlugin();
860                    strategy.appendField(locator, this, "udpTraceBrokerPlugin", buffer, theUdpTraceBrokerPlugin);
861                }
862                {
863                    Object theAny;
864                    theAny = this.getAny();
865                    strategy.appendField(locator, this, "any", buffer, theAny);
866                }
867                return buffer;
868            }
869    
870            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
871                int currentHashCode = 1;
872                {
873                    DtoDestinationPathSeparatorPlugin theDestinationPathSeparatorPlugin;
874                    theDestinationPathSeparatorPlugin = this.getDestinationPathSeparatorPlugin();
875                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "destinationPathSeparatorPlugin", theDestinationPathSeparatorPlugin), currentHashCode, theDestinationPathSeparatorPlugin);
876                }
877                {
878                    DtoForcePersistencyModeBroker theForcePersistencyModeBroker;
879                    theForcePersistencyModeBroker = this.getForcePersistencyModeBroker();
880                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "forcePersistencyModeBroker", theForcePersistencyModeBroker), currentHashCode, theForcePersistencyModeBroker);
881                }
882                {
883                    DtoLoggingBrokerPlugin theLoggingBrokerPlugin;
884                    theLoggingBrokerPlugin = this.getLoggingBrokerPlugin();
885                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "loggingBrokerPlugin", theLoggingBrokerPlugin), currentHashCode, theLoggingBrokerPlugin);
886                }
887                {
888                    DtoMulticastTraceBrokerPlugin theMulticastTraceBrokerPlugin;
889                    theMulticastTraceBrokerPlugin = this.getMulticastTraceBrokerPlugin();
890                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "multicastTraceBrokerPlugin", theMulticastTraceBrokerPlugin), currentHashCode, theMulticastTraceBrokerPlugin);
891                }
892                {
893                    DtoRedeliveryPlugin theRedeliveryPlugin;
894                    theRedeliveryPlugin = this.getRedeliveryPlugin();
895                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "redeliveryPlugin", theRedeliveryPlugin), currentHashCode, theRedeliveryPlugin);
896                }
897                {
898                    DtoTimeStampingBrokerPlugin theTimeStampingBrokerPlugin;
899                    theTimeStampingBrokerPlugin = this.getTimeStampingBrokerPlugin();
900                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "timeStampingBrokerPlugin", theTimeStampingBrokerPlugin), currentHashCode, theTimeStampingBrokerPlugin);
901                }
902                {
903                    DtoTraceBrokerPathPlugin theTraceBrokerPathPlugin;
904                    theTraceBrokerPathPlugin = this.getTraceBrokerPathPlugin();
905                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "traceBrokerPathPlugin", theTraceBrokerPathPlugin), currentHashCode, theTraceBrokerPathPlugin);
906                }
907                {
908                    DtoUdpTraceBrokerPlugin theUdpTraceBrokerPlugin;
909                    theUdpTraceBrokerPlugin = this.getUdpTraceBrokerPlugin();
910                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "udpTraceBrokerPlugin", theUdpTraceBrokerPlugin), currentHashCode, theUdpTraceBrokerPlugin);
911                }
912                {
913                    Object theAny;
914                    theAny = this.getAny();
915                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
916                }
917                return currentHashCode;
918            }
919    
920            public int hashCode() {
921                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
922                return this.hashCode(null, strategy);
923            }
924    
925            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
926                if (!(object instanceof DtoForcePersistencyModeBroker.Next)) {
927                    return false;
928                }
929                if (this == object) {
930                    return true;
931                }
932                final DtoForcePersistencyModeBroker.Next that = ((DtoForcePersistencyModeBroker.Next) object);
933                {
934                    DtoDestinationPathSeparatorPlugin lhsDestinationPathSeparatorPlugin;
935                    lhsDestinationPathSeparatorPlugin = this.getDestinationPathSeparatorPlugin();
936                    DtoDestinationPathSeparatorPlugin rhsDestinationPathSeparatorPlugin;
937                    rhsDestinationPathSeparatorPlugin = that.getDestinationPathSeparatorPlugin();
938                    if (!strategy.equals(LocatorUtils.property(thisLocator, "destinationPathSeparatorPlugin", lhsDestinationPathSeparatorPlugin), LocatorUtils.property(thatLocator, "destinationPathSeparatorPlugin", rhsDestinationPathSeparatorPlugin), lhsDestinationPathSeparatorPlugin, rhsDestinationPathSeparatorPlugin)) {
939                        return false;
940                    }
941                }
942                {
943                    DtoForcePersistencyModeBroker lhsForcePersistencyModeBroker;
944                    lhsForcePersistencyModeBroker = this.getForcePersistencyModeBroker();
945                    DtoForcePersistencyModeBroker rhsForcePersistencyModeBroker;
946                    rhsForcePersistencyModeBroker = that.getForcePersistencyModeBroker();
947                    if (!strategy.equals(LocatorUtils.property(thisLocator, "forcePersistencyModeBroker", lhsForcePersistencyModeBroker), LocatorUtils.property(thatLocator, "forcePersistencyModeBroker", rhsForcePersistencyModeBroker), lhsForcePersistencyModeBroker, rhsForcePersistencyModeBroker)) {
948                        return false;
949                    }
950                }
951                {
952                    DtoLoggingBrokerPlugin lhsLoggingBrokerPlugin;
953                    lhsLoggingBrokerPlugin = this.getLoggingBrokerPlugin();
954                    DtoLoggingBrokerPlugin rhsLoggingBrokerPlugin;
955                    rhsLoggingBrokerPlugin = that.getLoggingBrokerPlugin();
956                    if (!strategy.equals(LocatorUtils.property(thisLocator, "loggingBrokerPlugin", lhsLoggingBrokerPlugin), LocatorUtils.property(thatLocator, "loggingBrokerPlugin", rhsLoggingBrokerPlugin), lhsLoggingBrokerPlugin, rhsLoggingBrokerPlugin)) {
957                        return false;
958                    }
959                }
960                {
961                    DtoMulticastTraceBrokerPlugin lhsMulticastTraceBrokerPlugin;
962                    lhsMulticastTraceBrokerPlugin = this.getMulticastTraceBrokerPlugin();
963                    DtoMulticastTraceBrokerPlugin rhsMulticastTraceBrokerPlugin;
964                    rhsMulticastTraceBrokerPlugin = that.getMulticastTraceBrokerPlugin();
965                    if (!strategy.equals(LocatorUtils.property(thisLocator, "multicastTraceBrokerPlugin", lhsMulticastTraceBrokerPlugin), LocatorUtils.property(thatLocator, "multicastTraceBrokerPlugin", rhsMulticastTraceBrokerPlugin), lhsMulticastTraceBrokerPlugin, rhsMulticastTraceBrokerPlugin)) {
966                        return false;
967                    }
968                }
969                {
970                    DtoRedeliveryPlugin lhsRedeliveryPlugin;
971                    lhsRedeliveryPlugin = this.getRedeliveryPlugin();
972                    DtoRedeliveryPlugin rhsRedeliveryPlugin;
973                    rhsRedeliveryPlugin = that.getRedeliveryPlugin();
974                    if (!strategy.equals(LocatorUtils.property(thisLocator, "redeliveryPlugin", lhsRedeliveryPlugin), LocatorUtils.property(thatLocator, "redeliveryPlugin", rhsRedeliveryPlugin), lhsRedeliveryPlugin, rhsRedeliveryPlugin)) {
975                        return false;
976                    }
977                }
978                {
979                    DtoTimeStampingBrokerPlugin lhsTimeStampingBrokerPlugin;
980                    lhsTimeStampingBrokerPlugin = this.getTimeStampingBrokerPlugin();
981                    DtoTimeStampingBrokerPlugin rhsTimeStampingBrokerPlugin;
982                    rhsTimeStampingBrokerPlugin = that.getTimeStampingBrokerPlugin();
983                    if (!strategy.equals(LocatorUtils.property(thisLocator, "timeStampingBrokerPlugin", lhsTimeStampingBrokerPlugin), LocatorUtils.property(thatLocator, "timeStampingBrokerPlugin", rhsTimeStampingBrokerPlugin), lhsTimeStampingBrokerPlugin, rhsTimeStampingBrokerPlugin)) {
984                        return false;
985                    }
986                }
987                {
988                    DtoTraceBrokerPathPlugin lhsTraceBrokerPathPlugin;
989                    lhsTraceBrokerPathPlugin = this.getTraceBrokerPathPlugin();
990                    DtoTraceBrokerPathPlugin rhsTraceBrokerPathPlugin;
991                    rhsTraceBrokerPathPlugin = that.getTraceBrokerPathPlugin();
992                    if (!strategy.equals(LocatorUtils.property(thisLocator, "traceBrokerPathPlugin", lhsTraceBrokerPathPlugin), LocatorUtils.property(thatLocator, "traceBrokerPathPlugin", rhsTraceBrokerPathPlugin), lhsTraceBrokerPathPlugin, rhsTraceBrokerPathPlugin)) {
993                        return false;
994                    }
995                }
996                {
997                    DtoUdpTraceBrokerPlugin lhsUdpTraceBrokerPlugin;
998                    lhsUdpTraceBrokerPlugin = this.getUdpTraceBrokerPlugin();
999                    DtoUdpTraceBrokerPlugin rhsUdpTraceBrokerPlugin;
1000                    rhsUdpTraceBrokerPlugin = that.getUdpTraceBrokerPlugin();
1001                    if (!strategy.equals(LocatorUtils.property(thisLocator, "udpTraceBrokerPlugin", lhsUdpTraceBrokerPlugin), LocatorUtils.property(thatLocator, "udpTraceBrokerPlugin", rhsUdpTraceBrokerPlugin), lhsUdpTraceBrokerPlugin, rhsUdpTraceBrokerPlugin)) {
1002                        return false;
1003                    }
1004                }
1005                {
1006                    Object lhsAny;
1007                    lhsAny = this.getAny();
1008                    Object rhsAny;
1009                    rhsAny = that.getAny();
1010                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1011                        return false;
1012                    }
1013                }
1014                return true;
1015            }
1016    
1017            public boolean equals(Object object) {
1018                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1019                return equals(null, null, object, strategy);
1020            }
1021    
1022        }
1023    
1024    }