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