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