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="brokerService" minOccurs="0">
054 *             &lt;complexType>
055 *               &lt;complexContent>
056 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
057 *                   &lt;choice minOccurs="0">
058 *                     &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
059 *                     &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
060 *                     &lt;any namespace='##other'/>
061 *                   &lt;/choice>
062 *                 &lt;/restriction>
063 *               &lt;/complexContent>
064 *             &lt;/complexType>
065 *           &lt;/element>
066 *           &lt;element name="configuration" minOccurs="0">
067 *             &lt;complexType>
068 *               &lt;complexContent>
069 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
070 *                   &lt;choice minOccurs="0">
071 *                     &lt;element ref="{http://activemq.apache.org/schema/core}ldapNetworkConnector"/>
072 *                     &lt;element ref="{http://activemq.apache.org/schema/core}multicastNetworkConnector"/>
073 *                     &lt;element ref="{http://activemq.apache.org/schema/core}networkConnector"/>
074 *                     &lt;any namespace='##other'/>
075 *                   &lt;/choice>
076 *                 &lt;/restriction>
077 *               &lt;/complexContent>
078 *             &lt;/complexType>
079 *           &lt;/element>
080 *           &lt;element name="durableDestinations" maxOccurs="unbounded" minOccurs="0">
081 *             &lt;complexType>
082 *               &lt;complexContent>
083 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
084 *                   &lt;choice maxOccurs="unbounded" minOccurs="0">
085 *                     &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
086 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
087 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
088 *                     &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
089 *                     &lt;any namespace='##other'/>
090 *                   &lt;/choice>
091 *                 &lt;/restriction>
092 *               &lt;/complexContent>
093 *             &lt;/complexType>
094 *           &lt;/element>
095 *           &lt;element name="dynamicallyIncludedDestinations" maxOccurs="unbounded" minOccurs="0">
096 *             &lt;complexType>
097 *               &lt;complexContent>
098 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
099 *                   &lt;choice maxOccurs="unbounded" minOccurs="0">
100 *                     &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
101 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
102 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
103 *                     &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
104 *                     &lt;any namespace='##other'/>
105 *                   &lt;/choice>
106 *                 &lt;/restriction>
107 *               &lt;/complexContent>
108 *             &lt;/complexType>
109 *           &lt;/element>
110 *           &lt;element name="excludedDestinations" maxOccurs="unbounded" minOccurs="0">
111 *             &lt;complexType>
112 *               &lt;complexContent>
113 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
114 *                   &lt;choice maxOccurs="unbounded" minOccurs="0">
115 *                     &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
116 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
117 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
118 *                     &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
119 *                     &lt;any namespace='##other'/>
120 *                   &lt;/choice>
121 *                 &lt;/restriction>
122 *               &lt;/complexContent>
123 *             &lt;/complexType>
124 *           &lt;/element>
125 *           &lt;element name="localBroker" minOccurs="0">
126 *             &lt;complexType>
127 *               &lt;complexContent>
128 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
129 *                   &lt;sequence minOccurs="0">
130 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
131 *                   &lt;/sequence>
132 *                 &lt;/restriction>
133 *               &lt;/complexContent>
134 *             &lt;/complexType>
135 *           &lt;/element>
136 *           &lt;element name="networkBridgeListener" minOccurs="0">
137 *             &lt;complexType>
138 *               &lt;complexContent>
139 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
140 *                   &lt;sequence minOccurs="0">
141 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
142 *                   &lt;/sequence>
143 *                 &lt;/restriction>
144 *               &lt;/complexContent>
145 *             &lt;/complexType>
146 *           &lt;/element>
147 *           &lt;element name="remoteBroker" minOccurs="0">
148 *             &lt;complexType>
149 *               &lt;complexContent>
150 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
151 *                   &lt;sequence minOccurs="0">
152 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
153 *                   &lt;/sequence>
154 *                 &lt;/restriction>
155 *               &lt;/complexContent>
156 *             &lt;/complexType>
157 *           &lt;/element>
158 *           &lt;element name="staticallyIncludedDestinations" maxOccurs="unbounded" minOccurs="0">
159 *             &lt;complexType>
160 *               &lt;complexContent>
161 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
162 *                   &lt;choice maxOccurs="unbounded" minOccurs="0">
163 *                     &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
164 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
165 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
166 *                     &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
167 *                     &lt;any namespace='##other'/>
168 *                   &lt;/choice>
169 *                 &lt;/restriction>
170 *               &lt;/complexContent>
171 *             &lt;/complexType>
172 *           &lt;/element>
173 *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
174 *         &lt;/choice>
175 *       &lt;/choice>
176 *       &lt;attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" />
177 *       &lt;attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" />
178 *       &lt;attribute name="createdByDuplex" type="{http://www.w3.org/2001/XMLSchema}boolean" />
179 *       &lt;attribute name="localBroker" type="{http://www.w3.org/2001/XMLSchema}string" />
180 *       &lt;attribute name="mbeanObjectName" type="{http://www.w3.org/2001/XMLSchema}string" />
181 *       &lt;attribute name="networkBridgeListener" type="{http://www.w3.org/2001/XMLSchema}string" />
182 *       &lt;attribute name="remoteBroker" type="{http://www.w3.org/2001/XMLSchema}string" />
183 *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
184 *       &lt;anyAttribute processContents='lax' namespace='##other'/>
185 *     &lt;/restriction>
186 *   &lt;/complexContent>
187 * &lt;/complexType>
188 * </pre>
189 * 
190 * 
191 */
192@XmlAccessorType(XmlAccessType.FIELD)
193@XmlType(name = "", propOrder = {
194    "brokerServiceOrConfigurationOrDurableDestinations"
195})
196@XmlRootElement(name = "compositeDemandForwardingBridge")
197public class DtoCompositeDemandForwardingBridge
198    implements Equals, HashCode, ToString
199{
200
201    @XmlElementRefs({
202        @XmlElementRef(name = "remoteBroker", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
203        @XmlElementRef(name = "networkBridgeListener", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
204        @XmlElementRef(name = "durableDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
205        @XmlElementRef(name = "configuration", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
206        @XmlElementRef(name = "localBroker", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
207        @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
208        @XmlElementRef(name = "staticallyIncludedDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
209        @XmlElementRef(name = "dynamicallyIncludedDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
210        @XmlElementRef(name = "excludedDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false)
211    })
212    @XmlAnyElement(lax = true)
213    protected List<Object> brokerServiceOrConfigurationOrDurableDestinations;
214    @XmlAttribute(name = "brokerService")
215    protected String brokerService;
216    @XmlAttribute(name = "configuration")
217    protected String configuration;
218    @XmlAttribute(name = "createdByDuplex")
219    protected Boolean createdByDuplex;
220    @XmlAttribute(name = "localBroker")
221    protected String localBroker;
222    @XmlAttribute(name = "mbeanObjectName")
223    protected String mbeanObjectName;
224    @XmlAttribute(name = "networkBridgeListener")
225    protected String networkBridgeListener;
226    @XmlAttribute(name = "remoteBroker")
227    protected String remoteBroker;
228    @XmlAttribute(name = "id")
229    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
230    @XmlID
231    @XmlSchemaType(name = "ID")
232    protected String id;
233    @XmlAnyAttribute
234    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
235
236    /**
237     * Gets the value of the brokerServiceOrConfigurationOrDurableDestinations property.
238     * 
239     * <p>
240     * This accessor method returns a reference to the live list,
241     * not a snapshot. Therefore any modification you make to the
242     * returned list will be present inside the JAXB object.
243     * This is why there is not a <CODE>set</CODE> method for the brokerServiceOrConfigurationOrDurableDestinations property.
244     * 
245     * <p>
246     * For example, to add a new item, do as follows:
247     * <pre>
248     *    getBrokerServiceOrConfigurationOrDurableDestinations().add(newItem);
249     * </pre>
250     * 
251     * 
252     * <p>
253     * Objects of the following type(s) are allowed in the list
254     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.RemoteBroker }{@code >}
255     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.NetworkBridgeListener }{@code >}
256     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.DurableDestinations }{@code >}
257     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.Configuration }{@code >}
258     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.LocalBroker }{@code >}
259     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.BrokerService }{@code >}
260     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.StaticallyIncludedDestinations }{@code >}
261     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.DynamicallyIncludedDestinations }{@code >}
262     * {@link Object }
263     * {@link JAXBElement }{@code <}{@link DtoCompositeDemandForwardingBridge.ExcludedDestinations }{@code >}
264     * 
265     * 
266     */
267    public List<Object> getBrokerServiceOrConfigurationOrDurableDestinations() {
268        if (brokerServiceOrConfigurationOrDurableDestinations == null) {
269            brokerServiceOrConfigurationOrDurableDestinations = new ArrayList<Object>();
270        }
271        return this.brokerServiceOrConfigurationOrDurableDestinations;
272    }
273
274    /**
275     * Gets the value of the brokerService property.
276     * 
277     * @return
278     *     possible object is
279     *     {@link String }
280     *     
281     */
282    public String getBrokerService() {
283        return brokerService;
284    }
285
286    /**
287     * Sets the value of the brokerService property.
288     * 
289     * @param value
290     *     allowed object is
291     *     {@link String }
292     *     
293     */
294    public void setBrokerService(String value) {
295        this.brokerService = value;
296    }
297
298    /**
299     * Gets the value of the configuration property.
300     * 
301     * @return
302     *     possible object is
303     *     {@link String }
304     *     
305     */
306    public String getConfiguration() {
307        return configuration;
308    }
309
310    /**
311     * Sets the value of the configuration property.
312     * 
313     * @param value
314     *     allowed object is
315     *     {@link String }
316     *     
317     */
318    public void setConfiguration(String value) {
319        this.configuration = value;
320    }
321
322    /**
323     * Gets the value of the createdByDuplex property.
324     * 
325     * @return
326     *     possible object is
327     *     {@link Boolean }
328     *     
329     */
330    public Boolean isCreatedByDuplex() {
331        return createdByDuplex;
332    }
333
334    /**
335     * Sets the value of the createdByDuplex property.
336     * 
337     * @param value
338     *     allowed object is
339     *     {@link Boolean }
340     *     
341     */
342    public void setCreatedByDuplex(Boolean value) {
343        this.createdByDuplex = value;
344    }
345
346    /**
347     * Gets the value of the localBroker property.
348     * 
349     * @return
350     *     possible object is
351     *     {@link String }
352     *     
353     */
354    public String getLocalBroker() {
355        return localBroker;
356    }
357
358    /**
359     * Sets the value of the localBroker property.
360     * 
361     * @param value
362     *     allowed object is
363     *     {@link String }
364     *     
365     */
366    public void setLocalBroker(String value) {
367        this.localBroker = value;
368    }
369
370    /**
371     * Gets the value of the mbeanObjectName property.
372     * 
373     * @return
374     *     possible object is
375     *     {@link String }
376     *     
377     */
378    public String getMbeanObjectName() {
379        return mbeanObjectName;
380    }
381
382    /**
383     * Sets the value of the mbeanObjectName property.
384     * 
385     * @param value
386     *     allowed object is
387     *     {@link String }
388     *     
389     */
390    public void setMbeanObjectName(String value) {
391        this.mbeanObjectName = value;
392    }
393
394    /**
395     * Gets the value of the networkBridgeListener property.
396     * 
397     * @return
398     *     possible object is
399     *     {@link String }
400     *     
401     */
402    public String getNetworkBridgeListener() {
403        return networkBridgeListener;
404    }
405
406    /**
407     * Sets the value of the networkBridgeListener property.
408     * 
409     * @param value
410     *     allowed object is
411     *     {@link String }
412     *     
413     */
414    public void setNetworkBridgeListener(String value) {
415        this.networkBridgeListener = value;
416    }
417
418    /**
419     * Gets the value of the remoteBroker property.
420     * 
421     * @return
422     *     possible object is
423     *     {@link String }
424     *     
425     */
426    public String getRemoteBroker() {
427        return remoteBroker;
428    }
429
430    /**
431     * Sets the value of the remoteBroker property.
432     * 
433     * @param value
434     *     allowed object is
435     *     {@link String }
436     *     
437     */
438    public void setRemoteBroker(String value) {
439        this.remoteBroker = value;
440    }
441
442    /**
443     * Gets the value of the id property.
444     * 
445     * @return
446     *     possible object is
447     *     {@link String }
448     *     
449     */
450    public String getId() {
451        return id;
452    }
453
454    /**
455     * Sets the value of the id property.
456     * 
457     * @param value
458     *     allowed object is
459     *     {@link String }
460     *     
461     */
462    public void setId(String value) {
463        this.id = value;
464    }
465
466    /**
467     * Gets a map that contains attributes that aren't bound to any typed property on this class.
468     * 
469     * <p>
470     * the map is keyed by the name of the attribute and 
471     * the value is the string value of the attribute.
472     * 
473     * the map returned by this method is live, and you can add new attribute
474     * by updating the map directly. Because of this design, there's no setter.
475     * 
476     * 
477     * @return
478     *     always non-null
479     */
480    public Map<QName, String> getOtherAttributes() {
481        return otherAttributes;
482    }
483
484    public String toString() {
485        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
486        final StringBuilder buffer = new StringBuilder();
487        append(null, buffer, strategy);
488        return buffer.toString();
489    }
490
491    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
492        strategy.appendStart(locator, this, buffer);
493        appendFields(locator, buffer, strategy);
494        strategy.appendEnd(locator, this, buffer);
495        return buffer;
496    }
497
498    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
499        {
500            List<Object> theBrokerServiceOrConfigurationOrDurableDestinations;
501            theBrokerServiceOrConfigurationOrDurableDestinations = (((this.brokerServiceOrConfigurationOrDurableDestinations!= null)&&(!this.brokerServiceOrConfigurationOrDurableDestinations.isEmpty()))?this.getBrokerServiceOrConfigurationOrDurableDestinations():null);
502            strategy.appendField(locator, this, "brokerServiceOrConfigurationOrDurableDestinations", buffer, theBrokerServiceOrConfigurationOrDurableDestinations);
503        }
504        {
505            String theBrokerService;
506            theBrokerService = this.getBrokerService();
507            strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
508        }
509        {
510            String theConfiguration;
511            theConfiguration = this.getConfiguration();
512            strategy.appendField(locator, this, "configuration", buffer, theConfiguration);
513        }
514        {
515            Boolean theCreatedByDuplex;
516            theCreatedByDuplex = this.isCreatedByDuplex();
517            strategy.appendField(locator, this, "createdByDuplex", buffer, theCreatedByDuplex);
518        }
519        {
520            String theLocalBroker;
521            theLocalBroker = this.getLocalBroker();
522            strategy.appendField(locator, this, "localBroker", buffer, theLocalBroker);
523        }
524        {
525            String theMbeanObjectName;
526            theMbeanObjectName = this.getMbeanObjectName();
527            strategy.appendField(locator, this, "mbeanObjectName", buffer, theMbeanObjectName);
528        }
529        {
530            String theNetworkBridgeListener;
531            theNetworkBridgeListener = this.getNetworkBridgeListener();
532            strategy.appendField(locator, this, "networkBridgeListener", buffer, theNetworkBridgeListener);
533        }
534        {
535            String theRemoteBroker;
536            theRemoteBroker = this.getRemoteBroker();
537            strategy.appendField(locator, this, "remoteBroker", buffer, theRemoteBroker);
538        }
539        {
540            String theId;
541            theId = this.getId();
542            strategy.appendField(locator, this, "id", buffer, theId);
543        }
544        return buffer;
545    }
546
547    public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
548        int currentHashCode = 1;
549        {
550            List<Object> theBrokerServiceOrConfigurationOrDurableDestinations;
551            theBrokerServiceOrConfigurationOrDurableDestinations = (((this.brokerServiceOrConfigurationOrDurableDestinations!= null)&&(!this.brokerServiceOrConfigurationOrDurableDestinations.isEmpty()))?this.getBrokerServiceOrConfigurationOrDurableDestinations():null);
552            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerServiceOrConfigurationOrDurableDestinations", theBrokerServiceOrConfigurationOrDurableDestinations), currentHashCode, theBrokerServiceOrConfigurationOrDurableDestinations);
553        }
554        {
555            String theBrokerService;
556            theBrokerService = this.getBrokerService();
557            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
558        }
559        {
560            String theConfiguration;
561            theConfiguration = this.getConfiguration();
562            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "configuration", theConfiguration), currentHashCode, theConfiguration);
563        }
564        {
565            Boolean theCreatedByDuplex;
566            theCreatedByDuplex = this.isCreatedByDuplex();
567            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createdByDuplex", theCreatedByDuplex), currentHashCode, theCreatedByDuplex);
568        }
569        {
570            String theLocalBroker;
571            theLocalBroker = this.getLocalBroker();
572            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localBroker", theLocalBroker), currentHashCode, theLocalBroker);
573        }
574        {
575            String theMbeanObjectName;
576            theMbeanObjectName = this.getMbeanObjectName();
577            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mbeanObjectName", theMbeanObjectName), currentHashCode, theMbeanObjectName);
578        }
579        {
580            String theNetworkBridgeListener;
581            theNetworkBridgeListener = this.getNetworkBridgeListener();
582            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "networkBridgeListener", theNetworkBridgeListener), currentHashCode, theNetworkBridgeListener);
583        }
584        {
585            String theRemoteBroker;
586            theRemoteBroker = this.getRemoteBroker();
587            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "remoteBroker", theRemoteBroker), currentHashCode, theRemoteBroker);
588        }
589        {
590            String theId;
591            theId = this.getId();
592            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
593        }
594        return currentHashCode;
595    }
596
597    public int hashCode() {
598        final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
599        return this.hashCode(null, strategy);
600    }
601
602    public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
603        if (!(object instanceof DtoCompositeDemandForwardingBridge)) {
604            return false;
605        }
606        if (this == object) {
607            return true;
608        }
609        final DtoCompositeDemandForwardingBridge that = ((DtoCompositeDemandForwardingBridge) object);
610        {
611            List<Object> lhsBrokerServiceOrConfigurationOrDurableDestinations;
612            lhsBrokerServiceOrConfigurationOrDurableDestinations = (((this.brokerServiceOrConfigurationOrDurableDestinations!= null)&&(!this.brokerServiceOrConfigurationOrDurableDestinations.isEmpty()))?this.getBrokerServiceOrConfigurationOrDurableDestinations():null);
613            List<Object> rhsBrokerServiceOrConfigurationOrDurableDestinations;
614            rhsBrokerServiceOrConfigurationOrDurableDestinations = (((that.brokerServiceOrConfigurationOrDurableDestinations!= null)&&(!that.brokerServiceOrConfigurationOrDurableDestinations.isEmpty()))?that.getBrokerServiceOrConfigurationOrDurableDestinations():null);
615            if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerServiceOrConfigurationOrDurableDestinations", lhsBrokerServiceOrConfigurationOrDurableDestinations), LocatorUtils.property(thatLocator, "brokerServiceOrConfigurationOrDurableDestinations", rhsBrokerServiceOrConfigurationOrDurableDestinations), lhsBrokerServiceOrConfigurationOrDurableDestinations, rhsBrokerServiceOrConfigurationOrDurableDestinations)) {
616                return false;
617            }
618        }
619        {
620            String lhsBrokerService;
621            lhsBrokerService = this.getBrokerService();
622            String rhsBrokerService;
623            rhsBrokerService = that.getBrokerService();
624            if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
625                return false;
626            }
627        }
628        {
629            String lhsConfiguration;
630            lhsConfiguration = this.getConfiguration();
631            String rhsConfiguration;
632            rhsConfiguration = that.getConfiguration();
633            if (!strategy.equals(LocatorUtils.property(thisLocator, "configuration", lhsConfiguration), LocatorUtils.property(thatLocator, "configuration", rhsConfiguration), lhsConfiguration, rhsConfiguration)) {
634                return false;
635            }
636        }
637        {
638            Boolean lhsCreatedByDuplex;
639            lhsCreatedByDuplex = this.isCreatedByDuplex();
640            Boolean rhsCreatedByDuplex;
641            rhsCreatedByDuplex = that.isCreatedByDuplex();
642            if (!strategy.equals(LocatorUtils.property(thisLocator, "createdByDuplex", lhsCreatedByDuplex), LocatorUtils.property(thatLocator, "createdByDuplex", rhsCreatedByDuplex), lhsCreatedByDuplex, rhsCreatedByDuplex)) {
643                return false;
644            }
645        }
646        {
647            String lhsLocalBroker;
648            lhsLocalBroker = this.getLocalBroker();
649            String rhsLocalBroker;
650            rhsLocalBroker = that.getLocalBroker();
651            if (!strategy.equals(LocatorUtils.property(thisLocator, "localBroker", lhsLocalBroker), LocatorUtils.property(thatLocator, "localBroker", rhsLocalBroker), lhsLocalBroker, rhsLocalBroker)) {
652                return false;
653            }
654        }
655        {
656            String lhsMbeanObjectName;
657            lhsMbeanObjectName = this.getMbeanObjectName();
658            String rhsMbeanObjectName;
659            rhsMbeanObjectName = that.getMbeanObjectName();
660            if (!strategy.equals(LocatorUtils.property(thisLocator, "mbeanObjectName", lhsMbeanObjectName), LocatorUtils.property(thatLocator, "mbeanObjectName", rhsMbeanObjectName), lhsMbeanObjectName, rhsMbeanObjectName)) {
661                return false;
662            }
663        }
664        {
665            String lhsNetworkBridgeListener;
666            lhsNetworkBridgeListener = this.getNetworkBridgeListener();
667            String rhsNetworkBridgeListener;
668            rhsNetworkBridgeListener = that.getNetworkBridgeListener();
669            if (!strategy.equals(LocatorUtils.property(thisLocator, "networkBridgeListener", lhsNetworkBridgeListener), LocatorUtils.property(thatLocator, "networkBridgeListener", rhsNetworkBridgeListener), lhsNetworkBridgeListener, rhsNetworkBridgeListener)) {
670                return false;
671            }
672        }
673        {
674            String lhsRemoteBroker;
675            lhsRemoteBroker = this.getRemoteBroker();
676            String rhsRemoteBroker;
677            rhsRemoteBroker = that.getRemoteBroker();
678            if (!strategy.equals(LocatorUtils.property(thisLocator, "remoteBroker", lhsRemoteBroker), LocatorUtils.property(thatLocator, "remoteBroker", rhsRemoteBroker), lhsRemoteBroker, rhsRemoteBroker)) {
679                return false;
680            }
681        }
682        {
683            String lhsId;
684            lhsId = this.getId();
685            String rhsId;
686            rhsId = that.getId();
687            if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
688                return false;
689            }
690        }
691        return true;
692    }
693
694    public boolean equals(Object object) {
695        final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
696        return equals(null, null, object, strategy);
697    }
698
699
700    /**
701     * <p>Java class for anonymous complex type.
702     * 
703     * <p>The following schema fragment specifies the expected content contained within this class.
704     * 
705     * <pre>
706     * &lt;complexType>
707     *   &lt;complexContent>
708     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
709     *       &lt;choice minOccurs="0">
710     *         &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
711     *         &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
712     *         &lt;any namespace='##other'/>
713     *       &lt;/choice>
714     *     &lt;/restriction>
715     *   &lt;/complexContent>
716     * &lt;/complexType>
717     * </pre>
718     * 
719     * 
720     */
721    @XmlAccessorType(XmlAccessType.FIELD)
722    @XmlType(name = "", propOrder = {
723        "broker",
724        "brokerService",
725        "any"
726    })
727    public static class BrokerService
728        implements Equals, HashCode, ToString
729    {
730
731        protected DtoBroker broker;
732        protected DtoBrokerService brokerService;
733        @XmlAnyElement(lax = true)
734        protected Object any;
735
736        /**
737         * Gets the value of the broker property.
738         * 
739         * @return
740         *     possible object is
741         *     {@link DtoBroker }
742         *     
743         */
744        public DtoBroker getBroker() {
745            return broker;
746        }
747
748        /**
749         * Sets the value of the broker property.
750         * 
751         * @param value
752         *     allowed object is
753         *     {@link DtoBroker }
754         *     
755         */
756        public void setBroker(DtoBroker value) {
757            this.broker = value;
758        }
759
760        /**
761         * Gets the value of the brokerService property.
762         * 
763         * @return
764         *     possible object is
765         *     {@link DtoBrokerService }
766         *     
767         */
768        public DtoBrokerService getBrokerService() {
769            return brokerService;
770        }
771
772        /**
773         * Sets the value of the brokerService property.
774         * 
775         * @param value
776         *     allowed object is
777         *     {@link DtoBrokerService }
778         *     
779         */
780        public void setBrokerService(DtoBrokerService value) {
781            this.brokerService = value;
782        }
783
784        /**
785         * Gets the value of the any property.
786         * 
787         * @return
788         *     possible object is
789         *     {@link Object }
790         *     
791         */
792        public Object getAny() {
793            return any;
794        }
795
796        /**
797         * Sets the value of the any property.
798         * 
799         * @param value
800         *     allowed object is
801         *     {@link Object }
802         *     
803         */
804        public void setAny(Object value) {
805            this.any = value;
806        }
807
808        public String toString() {
809            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
810            final StringBuilder buffer = new StringBuilder();
811            append(null, buffer, strategy);
812            return buffer.toString();
813        }
814
815        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
816            strategy.appendStart(locator, this, buffer);
817            appendFields(locator, buffer, strategy);
818            strategy.appendEnd(locator, this, buffer);
819            return buffer;
820        }
821
822        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
823            {
824                DtoBroker theBroker;
825                theBroker = this.getBroker();
826                strategy.appendField(locator, this, "broker", buffer, theBroker);
827            }
828            {
829                DtoBrokerService theBrokerService;
830                theBrokerService = this.getBrokerService();
831                strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
832            }
833            {
834                Object theAny;
835                theAny = this.getAny();
836                strategy.appendField(locator, this, "any", buffer, theAny);
837            }
838            return buffer;
839        }
840
841        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
842            int currentHashCode = 1;
843            {
844                DtoBroker theBroker;
845                theBroker = this.getBroker();
846                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker);
847            }
848            {
849                DtoBrokerService theBrokerService;
850                theBrokerService = this.getBrokerService();
851                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
852            }
853            {
854                Object theAny;
855                theAny = this.getAny();
856                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
857            }
858            return currentHashCode;
859        }
860
861        public int hashCode() {
862            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
863            return this.hashCode(null, strategy);
864        }
865
866        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
867            if (!(object instanceof DtoCompositeDemandForwardingBridge.BrokerService)) {
868                return false;
869            }
870            if (this == object) {
871                return true;
872            }
873            final DtoCompositeDemandForwardingBridge.BrokerService that = ((DtoCompositeDemandForwardingBridge.BrokerService) object);
874            {
875                DtoBroker lhsBroker;
876                lhsBroker = this.getBroker();
877                DtoBroker rhsBroker;
878                rhsBroker = that.getBroker();
879                if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) {
880                    return false;
881                }
882            }
883            {
884                DtoBrokerService lhsBrokerService;
885                lhsBrokerService = this.getBrokerService();
886                DtoBrokerService rhsBrokerService;
887                rhsBrokerService = that.getBrokerService();
888                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
889                    return false;
890                }
891            }
892            {
893                Object lhsAny;
894                lhsAny = this.getAny();
895                Object rhsAny;
896                rhsAny = that.getAny();
897                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
898                    return false;
899                }
900            }
901            return true;
902        }
903
904        public boolean equals(Object object) {
905            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
906            return equals(null, null, object, strategy);
907        }
908
909    }
910
911
912    /**
913     * <p>Java class for anonymous complex type.
914     * 
915     * <p>The following schema fragment specifies the expected content contained within this class.
916     * 
917     * <pre>
918     * &lt;complexType>
919     *   &lt;complexContent>
920     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
921     *       &lt;choice minOccurs="0">
922     *         &lt;element ref="{http://activemq.apache.org/schema/core}ldapNetworkConnector"/>
923     *         &lt;element ref="{http://activemq.apache.org/schema/core}multicastNetworkConnector"/>
924     *         &lt;element ref="{http://activemq.apache.org/schema/core}networkConnector"/>
925     *         &lt;any namespace='##other'/>
926     *       &lt;/choice>
927     *     &lt;/restriction>
928     *   &lt;/complexContent>
929     * &lt;/complexType>
930     * </pre>
931     * 
932     * 
933     */
934    @XmlAccessorType(XmlAccessType.FIELD)
935    @XmlType(name = "", propOrder = {
936        "ldapNetworkConnector",
937        "multicastNetworkConnector",
938        "networkConnector",
939        "any"
940    })
941    public static class Configuration
942        implements Equals, HashCode, ToString
943    {
944
945        protected DtoLdapNetworkConnector ldapNetworkConnector;
946        protected DtoMulticastNetworkConnector multicastNetworkConnector;
947        protected DtoNetworkConnector networkConnector;
948        @XmlAnyElement(lax = true)
949        protected Object any;
950
951        /**
952         * Gets the value of the ldapNetworkConnector property.
953         * 
954         * @return
955         *     possible object is
956         *     {@link DtoLdapNetworkConnector }
957         *     
958         */
959        public DtoLdapNetworkConnector getLdapNetworkConnector() {
960            return ldapNetworkConnector;
961        }
962
963        /**
964         * Sets the value of the ldapNetworkConnector property.
965         * 
966         * @param value
967         *     allowed object is
968         *     {@link DtoLdapNetworkConnector }
969         *     
970         */
971        public void setLdapNetworkConnector(DtoLdapNetworkConnector value) {
972            this.ldapNetworkConnector = value;
973        }
974
975        /**
976         * Gets the value of the multicastNetworkConnector property.
977         * 
978         * @return
979         *     possible object is
980         *     {@link DtoMulticastNetworkConnector }
981         *     
982         */
983        public DtoMulticastNetworkConnector getMulticastNetworkConnector() {
984            return multicastNetworkConnector;
985        }
986
987        /**
988         * Sets the value of the multicastNetworkConnector property.
989         * 
990         * @param value
991         *     allowed object is
992         *     {@link DtoMulticastNetworkConnector }
993         *     
994         */
995        public void setMulticastNetworkConnector(DtoMulticastNetworkConnector value) {
996            this.multicastNetworkConnector = value;
997        }
998
999        /**
1000         * Gets the value of the networkConnector property.
1001         * 
1002         * @return
1003         *     possible object is
1004         *     {@link DtoNetworkConnector }
1005         *     
1006         */
1007        public DtoNetworkConnector getNetworkConnector() {
1008            return networkConnector;
1009        }
1010
1011        /**
1012         * Sets the value of the networkConnector property.
1013         * 
1014         * @param value
1015         *     allowed object is
1016         *     {@link DtoNetworkConnector }
1017         *     
1018         */
1019        public void setNetworkConnector(DtoNetworkConnector value) {
1020            this.networkConnector = value;
1021        }
1022
1023        /**
1024         * Gets the value of the any property.
1025         * 
1026         * @return
1027         *     possible object is
1028         *     {@link Object }
1029         *     
1030         */
1031        public Object getAny() {
1032            return any;
1033        }
1034
1035        /**
1036         * Sets the value of the any property.
1037         * 
1038         * @param value
1039         *     allowed object is
1040         *     {@link Object }
1041         *     
1042         */
1043        public void setAny(Object value) {
1044            this.any = value;
1045        }
1046
1047        public String toString() {
1048            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1049            final StringBuilder buffer = new StringBuilder();
1050            append(null, buffer, strategy);
1051            return buffer.toString();
1052        }
1053
1054        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1055            strategy.appendStart(locator, this, buffer);
1056            appendFields(locator, buffer, strategy);
1057            strategy.appendEnd(locator, this, buffer);
1058            return buffer;
1059        }
1060
1061        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1062            {
1063                DtoLdapNetworkConnector theLdapNetworkConnector;
1064                theLdapNetworkConnector = this.getLdapNetworkConnector();
1065                strategy.appendField(locator, this, "ldapNetworkConnector", buffer, theLdapNetworkConnector);
1066            }
1067            {
1068                DtoMulticastNetworkConnector theMulticastNetworkConnector;
1069                theMulticastNetworkConnector = this.getMulticastNetworkConnector();
1070                strategy.appendField(locator, this, "multicastNetworkConnector", buffer, theMulticastNetworkConnector);
1071            }
1072            {
1073                DtoNetworkConnector theNetworkConnector;
1074                theNetworkConnector = this.getNetworkConnector();
1075                strategy.appendField(locator, this, "networkConnector", buffer, theNetworkConnector);
1076            }
1077            {
1078                Object theAny;
1079                theAny = this.getAny();
1080                strategy.appendField(locator, this, "any", buffer, theAny);
1081            }
1082            return buffer;
1083        }
1084
1085        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1086            int currentHashCode = 1;
1087            {
1088                DtoLdapNetworkConnector theLdapNetworkConnector;
1089                theLdapNetworkConnector = this.getLdapNetworkConnector();
1090                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ldapNetworkConnector", theLdapNetworkConnector), currentHashCode, theLdapNetworkConnector);
1091            }
1092            {
1093                DtoMulticastNetworkConnector theMulticastNetworkConnector;
1094                theMulticastNetworkConnector = this.getMulticastNetworkConnector();
1095                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "multicastNetworkConnector", theMulticastNetworkConnector), currentHashCode, theMulticastNetworkConnector);
1096            }
1097            {
1098                DtoNetworkConnector theNetworkConnector;
1099                theNetworkConnector = this.getNetworkConnector();
1100                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "networkConnector", theNetworkConnector), currentHashCode, theNetworkConnector);
1101            }
1102            {
1103                Object theAny;
1104                theAny = this.getAny();
1105                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1106            }
1107            return currentHashCode;
1108        }
1109
1110        public int hashCode() {
1111            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1112            return this.hashCode(null, strategy);
1113        }
1114
1115        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1116            if (!(object instanceof DtoCompositeDemandForwardingBridge.Configuration)) {
1117                return false;
1118            }
1119            if (this == object) {
1120                return true;
1121            }
1122            final DtoCompositeDemandForwardingBridge.Configuration that = ((DtoCompositeDemandForwardingBridge.Configuration) object);
1123            {
1124                DtoLdapNetworkConnector lhsLdapNetworkConnector;
1125                lhsLdapNetworkConnector = this.getLdapNetworkConnector();
1126                DtoLdapNetworkConnector rhsLdapNetworkConnector;
1127                rhsLdapNetworkConnector = that.getLdapNetworkConnector();
1128                if (!strategy.equals(LocatorUtils.property(thisLocator, "ldapNetworkConnector", lhsLdapNetworkConnector), LocatorUtils.property(thatLocator, "ldapNetworkConnector", rhsLdapNetworkConnector), lhsLdapNetworkConnector, rhsLdapNetworkConnector)) {
1129                    return false;
1130                }
1131            }
1132            {
1133                DtoMulticastNetworkConnector lhsMulticastNetworkConnector;
1134                lhsMulticastNetworkConnector = this.getMulticastNetworkConnector();
1135                DtoMulticastNetworkConnector rhsMulticastNetworkConnector;
1136                rhsMulticastNetworkConnector = that.getMulticastNetworkConnector();
1137                if (!strategy.equals(LocatorUtils.property(thisLocator, "multicastNetworkConnector", lhsMulticastNetworkConnector), LocatorUtils.property(thatLocator, "multicastNetworkConnector", rhsMulticastNetworkConnector), lhsMulticastNetworkConnector, rhsMulticastNetworkConnector)) {
1138                    return false;
1139                }
1140            }
1141            {
1142                DtoNetworkConnector lhsNetworkConnector;
1143                lhsNetworkConnector = this.getNetworkConnector();
1144                DtoNetworkConnector rhsNetworkConnector;
1145                rhsNetworkConnector = that.getNetworkConnector();
1146                if (!strategy.equals(LocatorUtils.property(thisLocator, "networkConnector", lhsNetworkConnector), LocatorUtils.property(thatLocator, "networkConnector", rhsNetworkConnector), lhsNetworkConnector, rhsNetworkConnector)) {
1147                    return false;
1148                }
1149            }
1150            {
1151                Object lhsAny;
1152                lhsAny = this.getAny();
1153                Object rhsAny;
1154                rhsAny = that.getAny();
1155                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1156                    return false;
1157                }
1158            }
1159            return true;
1160        }
1161
1162        public boolean equals(Object object) {
1163            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1164            return equals(null, null, object, strategy);
1165        }
1166
1167    }
1168
1169
1170    /**
1171     * <p>Java class for anonymous complex type.
1172     * 
1173     * <p>The following schema fragment specifies the expected content contained within this class.
1174     * 
1175     * <pre>
1176     * &lt;complexType>
1177     *   &lt;complexContent>
1178     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1179     *       &lt;choice maxOccurs="unbounded" minOccurs="0">
1180     *         &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
1181     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
1182     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
1183     *         &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
1184     *         &lt;any namespace='##other'/>
1185     *       &lt;/choice>
1186     *     &lt;/restriction>
1187     *   &lt;/complexContent>
1188     * &lt;/complexType>
1189     * </pre>
1190     * 
1191     * 
1192     */
1193    @XmlAccessorType(XmlAccessType.FIELD)
1194    @XmlType(name = "", propOrder = {
1195        "queueOrTempQueueOrTempTopic"
1196    })
1197    public static class DurableDestinations
1198        implements Equals, HashCode, ToString
1199    {
1200
1201        @XmlElementRefs({
1202            @XmlElementRef(name = "topic", namespace = "http://activemq.apache.org/schema/core", type = DtoTopic.class, required = false),
1203            @XmlElementRef(name = "tempTopic", namespace = "http://activemq.apache.org/schema/core", type = DtoTempTopic.class, required = false),
1204            @XmlElementRef(name = "queue", namespace = "http://activemq.apache.org/schema/core", type = DtoQueue.class, required = false),
1205            @XmlElementRef(name = "tempQueue", namespace = "http://activemq.apache.org/schema/core", type = DtoTempQueue.class, required = false)
1206        })
1207        @XmlAnyElement(lax = true)
1208        protected List<Object> queueOrTempQueueOrTempTopic;
1209
1210        /**
1211         * Gets the value of the queueOrTempQueueOrTempTopic property.
1212         * 
1213         * <p>
1214         * This accessor method returns a reference to the live list,
1215         * not a snapshot. Therefore any modification you make to the
1216         * returned list will be present inside the JAXB object.
1217         * This is why there is not a <CODE>set</CODE> method for the queueOrTempQueueOrTempTopic property.
1218         * 
1219         * <p>
1220         * For example, to add a new item, do as follows:
1221         * <pre>
1222         *    getQueueOrTempQueueOrTempTopic().add(newItem);
1223         * </pre>
1224         * 
1225         * 
1226         * <p>
1227         * Objects of the following type(s) are allowed in the list
1228         * {@link DtoTopic }
1229         * {@link DtoTempTopic }
1230         * {@link Object }
1231         * {@link DtoQueue }
1232         * {@link DtoTempQueue }
1233         * 
1234         * 
1235         */
1236        public List<Object> getQueueOrTempQueueOrTempTopic() {
1237            if (queueOrTempQueueOrTempTopic == null) {
1238                queueOrTempQueueOrTempTopic = new ArrayList<Object>();
1239            }
1240            return this.queueOrTempQueueOrTempTopic;
1241        }
1242
1243        public String toString() {
1244            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1245            final StringBuilder buffer = new StringBuilder();
1246            append(null, buffer, strategy);
1247            return buffer.toString();
1248        }
1249
1250        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1251            strategy.appendStart(locator, this, buffer);
1252            appendFields(locator, buffer, strategy);
1253            strategy.appendEnd(locator, this, buffer);
1254            return buffer;
1255        }
1256
1257        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1258            {
1259                List<Object> theQueueOrTempQueueOrTempTopic;
1260                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1261                strategy.appendField(locator, this, "queueOrTempQueueOrTempTopic", buffer, theQueueOrTempQueueOrTempTopic);
1262            }
1263            return buffer;
1264        }
1265
1266        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1267            int currentHashCode = 1;
1268            {
1269                List<Object> theQueueOrTempQueueOrTempTopic;
1270                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1271                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queueOrTempQueueOrTempTopic", theQueueOrTempQueueOrTempTopic), currentHashCode, theQueueOrTempQueueOrTempTopic);
1272            }
1273            return currentHashCode;
1274        }
1275
1276        public int hashCode() {
1277            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1278            return this.hashCode(null, strategy);
1279        }
1280
1281        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1282            if (!(object instanceof DtoCompositeDemandForwardingBridge.DurableDestinations)) {
1283                return false;
1284            }
1285            if (this == object) {
1286                return true;
1287            }
1288            final DtoCompositeDemandForwardingBridge.DurableDestinations that = ((DtoCompositeDemandForwardingBridge.DurableDestinations) object);
1289            {
1290                List<Object> lhsQueueOrTempQueueOrTempTopic;
1291                lhsQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1292                List<Object> rhsQueueOrTempQueueOrTempTopic;
1293                rhsQueueOrTempQueueOrTempTopic = (((that.queueOrTempQueueOrTempTopic!= null)&&(!that.queueOrTempQueueOrTempTopic.isEmpty()))?that.getQueueOrTempQueueOrTempTopic():null);
1294                if (!strategy.equals(LocatorUtils.property(thisLocator, "queueOrTempQueueOrTempTopic", lhsQueueOrTempQueueOrTempTopic), LocatorUtils.property(thatLocator, "queueOrTempQueueOrTempTopic", rhsQueueOrTempQueueOrTempTopic), lhsQueueOrTempQueueOrTempTopic, rhsQueueOrTempQueueOrTempTopic)) {
1295                    return false;
1296                }
1297            }
1298            return true;
1299        }
1300
1301        public boolean equals(Object object) {
1302            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1303            return equals(null, null, object, strategy);
1304        }
1305
1306    }
1307
1308
1309    /**
1310     * <p>Java class for anonymous complex type.
1311     * 
1312     * <p>The following schema fragment specifies the expected content contained within this class.
1313     * 
1314     * <pre>
1315     * &lt;complexType>
1316     *   &lt;complexContent>
1317     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1318     *       &lt;choice maxOccurs="unbounded" minOccurs="0">
1319     *         &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
1320     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
1321     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
1322     *         &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
1323     *         &lt;any namespace='##other'/>
1324     *       &lt;/choice>
1325     *     &lt;/restriction>
1326     *   &lt;/complexContent>
1327     * &lt;/complexType>
1328     * </pre>
1329     * 
1330     * 
1331     */
1332    @XmlAccessorType(XmlAccessType.FIELD)
1333    @XmlType(name = "", propOrder = {
1334        "queueOrTempQueueOrTempTopic"
1335    })
1336    public static class DynamicallyIncludedDestinations
1337        implements Equals, HashCode, ToString
1338    {
1339
1340        @XmlElementRefs({
1341            @XmlElementRef(name = "topic", namespace = "http://activemq.apache.org/schema/core", type = DtoTopic.class, required = false),
1342            @XmlElementRef(name = "tempTopic", namespace = "http://activemq.apache.org/schema/core", type = DtoTempTopic.class, required = false),
1343            @XmlElementRef(name = "queue", namespace = "http://activemq.apache.org/schema/core", type = DtoQueue.class, required = false),
1344            @XmlElementRef(name = "tempQueue", namespace = "http://activemq.apache.org/schema/core", type = DtoTempQueue.class, required = false)
1345        })
1346        @XmlAnyElement(lax = true)
1347        protected List<Object> queueOrTempQueueOrTempTopic;
1348
1349        /**
1350         * Gets the value of the queueOrTempQueueOrTempTopic property.
1351         * 
1352         * <p>
1353         * This accessor method returns a reference to the live list,
1354         * not a snapshot. Therefore any modification you make to the
1355         * returned list will be present inside the JAXB object.
1356         * This is why there is not a <CODE>set</CODE> method for the queueOrTempQueueOrTempTopic property.
1357         * 
1358         * <p>
1359         * For example, to add a new item, do as follows:
1360         * <pre>
1361         *    getQueueOrTempQueueOrTempTopic().add(newItem);
1362         * </pre>
1363         * 
1364         * 
1365         * <p>
1366         * Objects of the following type(s) are allowed in the list
1367         * {@link DtoTopic }
1368         * {@link DtoTempTopic }
1369         * {@link Object }
1370         * {@link DtoQueue }
1371         * {@link DtoTempQueue }
1372         * 
1373         * 
1374         */
1375        public List<Object> getQueueOrTempQueueOrTempTopic() {
1376            if (queueOrTempQueueOrTempTopic == null) {
1377                queueOrTempQueueOrTempTopic = new ArrayList<Object>();
1378            }
1379            return this.queueOrTempQueueOrTempTopic;
1380        }
1381
1382        public String toString() {
1383            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1384            final StringBuilder buffer = new StringBuilder();
1385            append(null, buffer, strategy);
1386            return buffer.toString();
1387        }
1388
1389        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1390            strategy.appendStart(locator, this, buffer);
1391            appendFields(locator, buffer, strategy);
1392            strategy.appendEnd(locator, this, buffer);
1393            return buffer;
1394        }
1395
1396        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1397            {
1398                List<Object> theQueueOrTempQueueOrTempTopic;
1399                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1400                strategy.appendField(locator, this, "queueOrTempQueueOrTempTopic", buffer, theQueueOrTempQueueOrTempTopic);
1401            }
1402            return buffer;
1403        }
1404
1405        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1406            int currentHashCode = 1;
1407            {
1408                List<Object> theQueueOrTempQueueOrTempTopic;
1409                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1410                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queueOrTempQueueOrTempTopic", theQueueOrTempQueueOrTempTopic), currentHashCode, theQueueOrTempQueueOrTempTopic);
1411            }
1412            return currentHashCode;
1413        }
1414
1415        public int hashCode() {
1416            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1417            return this.hashCode(null, strategy);
1418        }
1419
1420        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1421            if (!(object instanceof DtoCompositeDemandForwardingBridge.DynamicallyIncludedDestinations)) {
1422                return false;
1423            }
1424            if (this == object) {
1425                return true;
1426            }
1427            final DtoCompositeDemandForwardingBridge.DynamicallyIncludedDestinations that = ((DtoCompositeDemandForwardingBridge.DynamicallyIncludedDestinations) object);
1428            {
1429                List<Object> lhsQueueOrTempQueueOrTempTopic;
1430                lhsQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1431                List<Object> rhsQueueOrTempQueueOrTempTopic;
1432                rhsQueueOrTempQueueOrTempTopic = (((that.queueOrTempQueueOrTempTopic!= null)&&(!that.queueOrTempQueueOrTempTopic.isEmpty()))?that.getQueueOrTempQueueOrTempTopic():null);
1433                if (!strategy.equals(LocatorUtils.property(thisLocator, "queueOrTempQueueOrTempTopic", lhsQueueOrTempQueueOrTempTopic), LocatorUtils.property(thatLocator, "queueOrTempQueueOrTempTopic", rhsQueueOrTempQueueOrTempTopic), lhsQueueOrTempQueueOrTempTopic, rhsQueueOrTempQueueOrTempTopic)) {
1434                    return false;
1435                }
1436            }
1437            return true;
1438        }
1439
1440        public boolean equals(Object object) {
1441            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1442            return equals(null, null, object, strategy);
1443        }
1444
1445    }
1446
1447
1448    /**
1449     * <p>Java class for anonymous complex type.
1450     * 
1451     * <p>The following schema fragment specifies the expected content contained within this class.
1452     * 
1453     * <pre>
1454     * &lt;complexType>
1455     *   &lt;complexContent>
1456     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1457     *       &lt;choice maxOccurs="unbounded" minOccurs="0">
1458     *         &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
1459     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
1460     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
1461     *         &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
1462     *         &lt;any namespace='##other'/>
1463     *       &lt;/choice>
1464     *     &lt;/restriction>
1465     *   &lt;/complexContent>
1466     * &lt;/complexType>
1467     * </pre>
1468     * 
1469     * 
1470     */
1471    @XmlAccessorType(XmlAccessType.FIELD)
1472    @XmlType(name = "", propOrder = {
1473        "queueOrTempQueueOrTempTopic"
1474    })
1475    public static class ExcludedDestinations
1476        implements Equals, HashCode, ToString
1477    {
1478
1479        @XmlElementRefs({
1480            @XmlElementRef(name = "topic", namespace = "http://activemq.apache.org/schema/core", type = DtoTopic.class, required = false),
1481            @XmlElementRef(name = "tempTopic", namespace = "http://activemq.apache.org/schema/core", type = DtoTempTopic.class, required = false),
1482            @XmlElementRef(name = "queue", namespace = "http://activemq.apache.org/schema/core", type = DtoQueue.class, required = false),
1483            @XmlElementRef(name = "tempQueue", namespace = "http://activemq.apache.org/schema/core", type = DtoTempQueue.class, required = false)
1484        })
1485        @XmlAnyElement(lax = true)
1486        protected List<Object> queueOrTempQueueOrTempTopic;
1487
1488        /**
1489         * Gets the value of the queueOrTempQueueOrTempTopic property.
1490         * 
1491         * <p>
1492         * This accessor method returns a reference to the live list,
1493         * not a snapshot. Therefore any modification you make to the
1494         * returned list will be present inside the JAXB object.
1495         * This is why there is not a <CODE>set</CODE> method for the queueOrTempQueueOrTempTopic property.
1496         * 
1497         * <p>
1498         * For example, to add a new item, do as follows:
1499         * <pre>
1500         *    getQueueOrTempQueueOrTempTopic().add(newItem);
1501         * </pre>
1502         * 
1503         * 
1504         * <p>
1505         * Objects of the following type(s) are allowed in the list
1506         * {@link DtoTopic }
1507         * {@link DtoTempTopic }
1508         * {@link Object }
1509         * {@link DtoQueue }
1510         * {@link DtoTempQueue }
1511         * 
1512         * 
1513         */
1514        public List<Object> getQueueOrTempQueueOrTempTopic() {
1515            if (queueOrTempQueueOrTempTopic == null) {
1516                queueOrTempQueueOrTempTopic = new ArrayList<Object>();
1517            }
1518            return this.queueOrTempQueueOrTempTopic;
1519        }
1520
1521        public String toString() {
1522            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1523            final StringBuilder buffer = new StringBuilder();
1524            append(null, buffer, strategy);
1525            return buffer.toString();
1526        }
1527
1528        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1529            strategy.appendStart(locator, this, buffer);
1530            appendFields(locator, buffer, strategy);
1531            strategy.appendEnd(locator, this, buffer);
1532            return buffer;
1533        }
1534
1535        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1536            {
1537                List<Object> theQueueOrTempQueueOrTempTopic;
1538                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1539                strategy.appendField(locator, this, "queueOrTempQueueOrTempTopic", buffer, theQueueOrTempQueueOrTempTopic);
1540            }
1541            return buffer;
1542        }
1543
1544        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1545            int currentHashCode = 1;
1546            {
1547                List<Object> theQueueOrTempQueueOrTempTopic;
1548                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1549                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queueOrTempQueueOrTempTopic", theQueueOrTempQueueOrTempTopic), currentHashCode, theQueueOrTempQueueOrTempTopic);
1550            }
1551            return currentHashCode;
1552        }
1553
1554        public int hashCode() {
1555            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1556            return this.hashCode(null, strategy);
1557        }
1558
1559        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1560            if (!(object instanceof DtoCompositeDemandForwardingBridge.ExcludedDestinations)) {
1561                return false;
1562            }
1563            if (this == object) {
1564                return true;
1565            }
1566            final DtoCompositeDemandForwardingBridge.ExcludedDestinations that = ((DtoCompositeDemandForwardingBridge.ExcludedDestinations) object);
1567            {
1568                List<Object> lhsQueueOrTempQueueOrTempTopic;
1569                lhsQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
1570                List<Object> rhsQueueOrTempQueueOrTempTopic;
1571                rhsQueueOrTempQueueOrTempTopic = (((that.queueOrTempQueueOrTempTopic!= null)&&(!that.queueOrTempQueueOrTempTopic.isEmpty()))?that.getQueueOrTempQueueOrTempTopic():null);
1572                if (!strategy.equals(LocatorUtils.property(thisLocator, "queueOrTempQueueOrTempTopic", lhsQueueOrTempQueueOrTempTopic), LocatorUtils.property(thatLocator, "queueOrTempQueueOrTempTopic", rhsQueueOrTempQueueOrTempTopic), lhsQueueOrTempQueueOrTempTopic, rhsQueueOrTempQueueOrTempTopic)) {
1573                    return false;
1574                }
1575            }
1576            return true;
1577        }
1578
1579        public boolean equals(Object object) {
1580            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1581            return equals(null, null, object, strategy);
1582        }
1583
1584    }
1585
1586
1587    /**
1588     * <p>Java class for anonymous complex type.
1589     * 
1590     * <p>The following schema fragment specifies the expected content contained within this class.
1591     * 
1592     * <pre>
1593     * &lt;complexType>
1594     *   &lt;complexContent>
1595     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1596     *       &lt;sequence minOccurs="0">
1597     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1598     *       &lt;/sequence>
1599     *     &lt;/restriction>
1600     *   &lt;/complexContent>
1601     * &lt;/complexType>
1602     * </pre>
1603     * 
1604     * 
1605     */
1606    @XmlAccessorType(XmlAccessType.FIELD)
1607    @XmlType(name = "", propOrder = {
1608        "any"
1609    })
1610    public static class LocalBroker
1611        implements Equals, HashCode, ToString
1612    {
1613
1614        @XmlAnyElement(lax = true)
1615        protected List<Object> any;
1616
1617        /**
1618         * Gets the value of the any property.
1619         * 
1620         * <p>
1621         * This accessor method returns a reference to the live list,
1622         * not a snapshot. Therefore any modification you make to the
1623         * returned list will be present inside the JAXB object.
1624         * This is why there is not a <CODE>set</CODE> method for the any property.
1625         * 
1626         * <p>
1627         * For example, to add a new item, do as follows:
1628         * <pre>
1629         *    getAny().add(newItem);
1630         * </pre>
1631         * 
1632         * 
1633         * <p>
1634         * Objects of the following type(s) are allowed in the list
1635         * {@link Object }
1636         * 
1637         * 
1638         */
1639        public List<Object> getAny() {
1640            if (any == null) {
1641                any = new ArrayList<Object>();
1642            }
1643            return this.any;
1644        }
1645
1646        public String toString() {
1647            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1648            final StringBuilder buffer = new StringBuilder();
1649            append(null, buffer, strategy);
1650            return buffer.toString();
1651        }
1652
1653        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1654            strategy.appendStart(locator, this, buffer);
1655            appendFields(locator, buffer, strategy);
1656            strategy.appendEnd(locator, this, buffer);
1657            return buffer;
1658        }
1659
1660        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1661            {
1662                List<Object> theAny;
1663                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1664                strategy.appendField(locator, this, "any", buffer, theAny);
1665            }
1666            return buffer;
1667        }
1668
1669        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1670            int currentHashCode = 1;
1671            {
1672                List<Object> theAny;
1673                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1674                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1675            }
1676            return currentHashCode;
1677        }
1678
1679        public int hashCode() {
1680            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1681            return this.hashCode(null, strategy);
1682        }
1683
1684        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1685            if (!(object instanceof DtoCompositeDemandForwardingBridge.LocalBroker)) {
1686                return false;
1687            }
1688            if (this == object) {
1689                return true;
1690            }
1691            final DtoCompositeDemandForwardingBridge.LocalBroker that = ((DtoCompositeDemandForwardingBridge.LocalBroker) object);
1692            {
1693                List<Object> lhsAny;
1694                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1695                List<Object> rhsAny;
1696                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1697                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1698                    return false;
1699                }
1700            }
1701            return true;
1702        }
1703
1704        public boolean equals(Object object) {
1705            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1706            return equals(null, null, object, strategy);
1707        }
1708
1709    }
1710
1711
1712    /**
1713     * <p>Java class for anonymous complex type.
1714     * 
1715     * <p>The following schema fragment specifies the expected content contained within this class.
1716     * 
1717     * <pre>
1718     * &lt;complexType>
1719     *   &lt;complexContent>
1720     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1721     *       &lt;sequence minOccurs="0">
1722     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1723     *       &lt;/sequence>
1724     *     &lt;/restriction>
1725     *   &lt;/complexContent>
1726     * &lt;/complexType>
1727     * </pre>
1728     * 
1729     * 
1730     */
1731    @XmlAccessorType(XmlAccessType.FIELD)
1732    @XmlType(name = "", propOrder = {
1733        "any"
1734    })
1735    public static class NetworkBridgeListener
1736        implements Equals, HashCode, ToString
1737    {
1738
1739        @XmlAnyElement(lax = true)
1740        protected List<Object> any;
1741
1742        /**
1743         * Gets the value of the any property.
1744         * 
1745         * <p>
1746         * This accessor method returns a reference to the live list,
1747         * not a snapshot. Therefore any modification you make to the
1748         * returned list will be present inside the JAXB object.
1749         * This is why there is not a <CODE>set</CODE> method for the any property.
1750         * 
1751         * <p>
1752         * For example, to add a new item, do as follows:
1753         * <pre>
1754         *    getAny().add(newItem);
1755         * </pre>
1756         * 
1757         * 
1758         * <p>
1759         * Objects of the following type(s) are allowed in the list
1760         * {@link Object }
1761         * 
1762         * 
1763         */
1764        public List<Object> getAny() {
1765            if (any == null) {
1766                any = new ArrayList<Object>();
1767            }
1768            return this.any;
1769        }
1770
1771        public String toString() {
1772            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1773            final StringBuilder buffer = new StringBuilder();
1774            append(null, buffer, strategy);
1775            return buffer.toString();
1776        }
1777
1778        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1779            strategy.appendStart(locator, this, buffer);
1780            appendFields(locator, buffer, strategy);
1781            strategy.appendEnd(locator, this, buffer);
1782            return buffer;
1783        }
1784
1785        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1786            {
1787                List<Object> theAny;
1788                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1789                strategy.appendField(locator, this, "any", buffer, theAny);
1790            }
1791            return buffer;
1792        }
1793
1794        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1795            int currentHashCode = 1;
1796            {
1797                List<Object> theAny;
1798                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1799                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1800            }
1801            return currentHashCode;
1802        }
1803
1804        public int hashCode() {
1805            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1806            return this.hashCode(null, strategy);
1807        }
1808
1809        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1810            if (!(object instanceof DtoCompositeDemandForwardingBridge.NetworkBridgeListener)) {
1811                return false;
1812            }
1813            if (this == object) {
1814                return true;
1815            }
1816            final DtoCompositeDemandForwardingBridge.NetworkBridgeListener that = ((DtoCompositeDemandForwardingBridge.NetworkBridgeListener) object);
1817            {
1818                List<Object> lhsAny;
1819                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1820                List<Object> rhsAny;
1821                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1822                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1823                    return false;
1824                }
1825            }
1826            return true;
1827        }
1828
1829        public boolean equals(Object object) {
1830            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1831            return equals(null, null, object, strategy);
1832        }
1833
1834    }
1835
1836
1837    /**
1838     * <p>Java class for anonymous complex type.
1839     * 
1840     * <p>The following schema fragment specifies the expected content contained within this class.
1841     * 
1842     * <pre>
1843     * &lt;complexType>
1844     *   &lt;complexContent>
1845     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1846     *       &lt;sequence minOccurs="0">
1847     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1848     *       &lt;/sequence>
1849     *     &lt;/restriction>
1850     *   &lt;/complexContent>
1851     * &lt;/complexType>
1852     * </pre>
1853     * 
1854     * 
1855     */
1856    @XmlAccessorType(XmlAccessType.FIELD)
1857    @XmlType(name = "", propOrder = {
1858        "any"
1859    })
1860    public static class RemoteBroker
1861        implements Equals, HashCode, ToString
1862    {
1863
1864        @XmlAnyElement(lax = true)
1865        protected List<Object> any;
1866
1867        /**
1868         * Gets the value of the any property.
1869         * 
1870         * <p>
1871         * This accessor method returns a reference to the live list,
1872         * not a snapshot. Therefore any modification you make to the
1873         * returned list will be present inside the JAXB object.
1874         * This is why there is not a <CODE>set</CODE> method for the any property.
1875         * 
1876         * <p>
1877         * For example, to add a new item, do as follows:
1878         * <pre>
1879         *    getAny().add(newItem);
1880         * </pre>
1881         * 
1882         * 
1883         * <p>
1884         * Objects of the following type(s) are allowed in the list
1885         * {@link Object }
1886         * 
1887         * 
1888         */
1889        public List<Object> getAny() {
1890            if (any == null) {
1891                any = new ArrayList<Object>();
1892            }
1893            return this.any;
1894        }
1895
1896        public String toString() {
1897            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1898            final StringBuilder buffer = new StringBuilder();
1899            append(null, buffer, strategy);
1900            return buffer.toString();
1901        }
1902
1903        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1904            strategy.appendStart(locator, this, buffer);
1905            appendFields(locator, buffer, strategy);
1906            strategy.appendEnd(locator, this, buffer);
1907            return buffer;
1908        }
1909
1910        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1911            {
1912                List<Object> theAny;
1913                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1914                strategy.appendField(locator, this, "any", buffer, theAny);
1915            }
1916            return buffer;
1917        }
1918
1919        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1920            int currentHashCode = 1;
1921            {
1922                List<Object> theAny;
1923                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1924                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1925            }
1926            return currentHashCode;
1927        }
1928
1929        public int hashCode() {
1930            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1931            return this.hashCode(null, strategy);
1932        }
1933
1934        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1935            if (!(object instanceof DtoCompositeDemandForwardingBridge.RemoteBroker)) {
1936                return false;
1937            }
1938            if (this == object) {
1939                return true;
1940            }
1941            final DtoCompositeDemandForwardingBridge.RemoteBroker that = ((DtoCompositeDemandForwardingBridge.RemoteBroker) object);
1942            {
1943                List<Object> lhsAny;
1944                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1945                List<Object> rhsAny;
1946                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1947                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1948                    return false;
1949                }
1950            }
1951            return true;
1952        }
1953
1954        public boolean equals(Object object) {
1955            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1956            return equals(null, null, object, strategy);
1957        }
1958
1959    }
1960
1961
1962    /**
1963     * <p>Java class for anonymous complex type.
1964     * 
1965     * <p>The following schema fragment specifies the expected content contained within this class.
1966     * 
1967     * <pre>
1968     * &lt;complexType>
1969     *   &lt;complexContent>
1970     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1971     *       &lt;choice maxOccurs="unbounded" minOccurs="0">
1972     *         &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
1973     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
1974     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
1975     *         &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
1976     *         &lt;any namespace='##other'/>
1977     *       &lt;/choice>
1978     *     &lt;/restriction>
1979     *   &lt;/complexContent>
1980     * &lt;/complexType>
1981     * </pre>
1982     * 
1983     * 
1984     */
1985    @XmlAccessorType(XmlAccessType.FIELD)
1986    @XmlType(name = "", propOrder = {
1987        "queueOrTempQueueOrTempTopic"
1988    })
1989    public static class StaticallyIncludedDestinations
1990        implements Equals, HashCode, ToString
1991    {
1992
1993        @XmlElementRefs({
1994            @XmlElementRef(name = "topic", namespace = "http://activemq.apache.org/schema/core", type = DtoTopic.class, required = false),
1995            @XmlElementRef(name = "tempTopic", namespace = "http://activemq.apache.org/schema/core", type = DtoTempTopic.class, required = false),
1996            @XmlElementRef(name = "queue", namespace = "http://activemq.apache.org/schema/core", type = DtoQueue.class, required = false),
1997            @XmlElementRef(name = "tempQueue", namespace = "http://activemq.apache.org/schema/core", type = DtoTempQueue.class, required = false)
1998        })
1999        @XmlAnyElement(lax = true)
2000        protected List<Object> queueOrTempQueueOrTempTopic;
2001
2002        /**
2003         * Gets the value of the queueOrTempQueueOrTempTopic property.
2004         * 
2005         * <p>
2006         * This accessor method returns a reference to the live list,
2007         * not a snapshot. Therefore any modification you make to the
2008         * returned list will be present inside the JAXB object.
2009         * This is why there is not a <CODE>set</CODE> method for the queueOrTempQueueOrTempTopic property.
2010         * 
2011         * <p>
2012         * For example, to add a new item, do as follows:
2013         * <pre>
2014         *    getQueueOrTempQueueOrTempTopic().add(newItem);
2015         * </pre>
2016         * 
2017         * 
2018         * <p>
2019         * Objects of the following type(s) are allowed in the list
2020         * {@link DtoTopic }
2021         * {@link DtoTempTopic }
2022         * {@link Object }
2023         * {@link DtoQueue }
2024         * {@link DtoTempQueue }
2025         * 
2026         * 
2027         */
2028        public List<Object> getQueueOrTempQueueOrTempTopic() {
2029            if (queueOrTempQueueOrTempTopic == null) {
2030                queueOrTempQueueOrTempTopic = new ArrayList<Object>();
2031            }
2032            return this.queueOrTempQueueOrTempTopic;
2033        }
2034
2035        public String toString() {
2036            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2037            final StringBuilder buffer = new StringBuilder();
2038            append(null, buffer, strategy);
2039            return buffer.toString();
2040        }
2041
2042        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2043            strategy.appendStart(locator, this, buffer);
2044            appendFields(locator, buffer, strategy);
2045            strategy.appendEnd(locator, this, buffer);
2046            return buffer;
2047        }
2048
2049        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2050            {
2051                List<Object> theQueueOrTempQueueOrTempTopic;
2052                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
2053                strategy.appendField(locator, this, "queueOrTempQueueOrTempTopic", buffer, theQueueOrTempQueueOrTempTopic);
2054            }
2055            return buffer;
2056        }
2057
2058        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2059            int currentHashCode = 1;
2060            {
2061                List<Object> theQueueOrTempQueueOrTempTopic;
2062                theQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
2063                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queueOrTempQueueOrTempTopic", theQueueOrTempQueueOrTempTopic), currentHashCode, theQueueOrTempQueueOrTempTopic);
2064            }
2065            return currentHashCode;
2066        }
2067
2068        public int hashCode() {
2069            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2070            return this.hashCode(null, strategy);
2071        }
2072
2073        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2074            if (!(object instanceof DtoCompositeDemandForwardingBridge.StaticallyIncludedDestinations)) {
2075                return false;
2076            }
2077            if (this == object) {
2078                return true;
2079            }
2080            final DtoCompositeDemandForwardingBridge.StaticallyIncludedDestinations that = ((DtoCompositeDemandForwardingBridge.StaticallyIncludedDestinations) object);
2081            {
2082                List<Object> lhsQueueOrTempQueueOrTempTopic;
2083                lhsQueueOrTempQueueOrTempTopic = (((this.queueOrTempQueueOrTempTopic!= null)&&(!this.queueOrTempQueueOrTempTopic.isEmpty()))?this.getQueueOrTempQueueOrTempTopic():null);
2084                List<Object> rhsQueueOrTempQueueOrTempTopic;
2085                rhsQueueOrTempQueueOrTempTopic = (((that.queueOrTempQueueOrTempTopic!= null)&&(!that.queueOrTempQueueOrTempTopic.isEmpty()))?that.getQueueOrTempQueueOrTempTopic():null);
2086                if (!strategy.equals(LocatorUtils.property(thisLocator, "queueOrTempQueueOrTempTopic", lhsQueueOrTempQueueOrTempTopic), LocatorUtils.property(thatLocator, "queueOrTempQueueOrTempTopic", rhsQueueOrTempQueueOrTempTopic), lhsQueueOrTempQueueOrTempTopic, rhsQueueOrTempQueueOrTempTopic)) {
2087                    return false;
2088                }
2089            }
2090            return true;
2091        }
2092
2093        public boolean equals(Object object) {
2094            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2095            return equals(null, null, object, strategy);
2096        }
2097
2098    }
2099
2100}