001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2013.10.14 at 11:56:49 PM IST 
006    //
007    
008    
009    package org.apache.activemq.schema.core;
010    
011    import java.math.BigInteger;
012    import java.util.ArrayList;
013    import java.util.HashMap;
014    import java.util.List;
015    import java.util.Map;
016    import javax.xml.bind.JAXBElement;
017    import javax.xml.bind.annotation.XmlAccessType;
018    import javax.xml.bind.annotation.XmlAccessorType;
019    import javax.xml.bind.annotation.XmlAnyAttribute;
020    import javax.xml.bind.annotation.XmlAnyElement;
021    import javax.xml.bind.annotation.XmlAttribute;
022    import javax.xml.bind.annotation.XmlElementRef;
023    import javax.xml.bind.annotation.XmlElementRefs;
024    import javax.xml.bind.annotation.XmlID;
025    import javax.xml.bind.annotation.XmlRootElement;
026    import javax.xml.bind.annotation.XmlSchemaType;
027    import javax.xml.bind.annotation.XmlType;
028    import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
029    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
030    import javax.xml.namespace.QName;
031    import org.jvnet.jaxb2_commons.lang.Equals;
032    import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
033    import org.jvnet.jaxb2_commons.lang.HashCode;
034    import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
035    import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
036    import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
037    import org.jvnet.jaxb2_commons.lang.ToString;
038    import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
039    import org.jvnet.jaxb2_commons.locator.ObjectLocator;
040    import 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="brokerService" minOccurs="0">
055     *             &lt;complexType>
056     *               &lt;complexContent>
057     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
058     *                   &lt;choice minOccurs="0">
059     *                     &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
060     *                     &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
061     *                     &lt;any namespace='##other'/>
062     *                   &lt;/choice>
063     *                 &lt;/restriction>
064     *               &lt;/complexContent>
065     *             &lt;/complexType>
066     *           &lt;/element>
067     *           &lt;element name="connectionFilter" minOccurs="0">
068     *             &lt;complexType>
069     *               &lt;complexContent>
070     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
071     *                   &lt;sequence minOccurs="0">
072     *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
073     *                   &lt;/sequence>
074     *                 &lt;/restriction>
075     *               &lt;/complexContent>
076     *             &lt;/complexType>
077     *           &lt;/element>
078     *           &lt;element name="discoveryAgent" minOccurs="0">
079     *             &lt;complexType>
080     *               &lt;complexContent>
081     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
082     *                   &lt;sequence minOccurs="0">
083     *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
084     *                   &lt;/sequence>
085     *                 &lt;/restriction>
086     *               &lt;/complexContent>
087     *             &lt;/complexType>
088     *           &lt;/element>
089     *           &lt;element name="durableDestinations" maxOccurs="unbounded" minOccurs="0">
090     *             &lt;complexType>
091     *               &lt;complexContent>
092     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
093     *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
094     *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
095     *                   &lt;/sequence>
096     *                 &lt;/restriction>
097     *               &lt;/complexContent>
098     *             &lt;/complexType>
099     *           &lt;/element>
100     *           &lt;element name="dynamicallyIncludedDestinations" maxOccurs="unbounded" minOccurs="0">
101     *             &lt;complexType>
102     *               &lt;complexContent>
103     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
104     *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
105     *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
106     *                   &lt;/sequence>
107     *                 &lt;/restriction>
108     *               &lt;/complexContent>
109     *             &lt;/complexType>
110     *           &lt;/element>
111     *           &lt;element name="excludedDestinations" maxOccurs="unbounded" minOccurs="0">
112     *             &lt;complexType>
113     *               &lt;complexContent>
114     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
115     *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
116     *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
117     *                   &lt;/sequence>
118     *                 &lt;/restriction>
119     *               &lt;/complexContent>
120     *             &lt;/complexType>
121     *           &lt;/element>
122     *           &lt;element name="staticallyIncludedDestinations" maxOccurs="unbounded" minOccurs="0">
123     *             &lt;complexType>
124     *               &lt;complexContent>
125     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
126     *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
127     *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
128     *                   &lt;/sequence>
129     *                 &lt;/restriction>
130     *               &lt;/complexContent>
131     *             &lt;/complexType>
132     *           &lt;/element>
133     *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
134     *         &lt;/choice>
135     *       &lt;/choice>
136     *       &lt;attribute name="advisoryForFailedForward" type="{http://www.w3.org/2001/XMLSchema}boolean" />
137     *       &lt;attribute name="alwaysSyncSend" type="{http://www.w3.org/2001/XMLSchema}boolean" />
138     *       &lt;attribute name="bridgeTempDestinations" type="{http://www.w3.org/2001/XMLSchema}boolean" />
139     *       &lt;attribute name="brokerName" type="{http://www.w3.org/2001/XMLSchema}string" />
140     *       &lt;attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" />
141     *       &lt;attribute name="brokerURL" type="{http://www.w3.org/2001/XMLSchema}string" />
142     *       &lt;attribute name="conduitSubscriptions" type="{http://www.w3.org/2001/XMLSchema}boolean" />
143     *       &lt;attribute name="connectionFilter" type="{http://www.w3.org/2001/XMLSchema}string" />
144     *       &lt;attribute name="consumerPriorityBase" type="{http://www.w3.org/2001/XMLSchema}integer" />
145     *       &lt;attribute name="consumerTTL" type="{http://www.w3.org/2001/XMLSchema}integer" />
146     *       &lt;attribute name="decreaseNetworkConsumerPriority" type="{http://www.w3.org/2001/XMLSchema}boolean" />
147     *       &lt;attribute name="destinationFilter" type="{http://www.w3.org/2001/XMLSchema}string" />
148     *       &lt;attribute name="discoveryAgent" type="{http://www.w3.org/2001/XMLSchema}string" />
149     *       &lt;attribute name="discoveryURI" type="{http://www.w3.org/2001/XMLSchema}string" />
150     *       &lt;attribute name="dispatchAsync" type="{http://www.w3.org/2001/XMLSchema}boolean" />
151     *       &lt;attribute name="duplex" type="{http://www.w3.org/2001/XMLSchema}boolean" />
152     *       &lt;attribute name="dynamicOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" />
153     *       &lt;attribute name="localUri" type="{http://www.w3.org/2001/XMLSchema}string" />
154     *       &lt;attribute name="messageTTL" type="{http://www.w3.org/2001/XMLSchema}integer" />
155     *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
156     *       &lt;attribute name="networkTTL" type="{http://www.w3.org/2001/XMLSchema}integer" />
157     *       &lt;attribute name="objectName" type="{http://www.w3.org/2001/XMLSchema}string" />
158     *       &lt;attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
159     *       &lt;attribute name="prefetchSize" type="{http://www.w3.org/2001/XMLSchema}string" />
160     *       &lt;attribute name="staticBridge" type="{http://www.w3.org/2001/XMLSchema}boolean" />
161     *       &lt;attribute name="suppressDuplicateQueueSubscriptions" type="{http://www.w3.org/2001/XMLSchema}boolean" />
162     *       &lt;attribute name="suppressDuplicateTopicSubscriptions" type="{http://www.w3.org/2001/XMLSchema}boolean" />
163     *       &lt;attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}string" />
164     *       &lt;attribute name="useBrokerNameAsIdSees" type="{http://www.w3.org/2001/XMLSchema}boolean" />
165     *       &lt;attribute name="useCompression" type="{http://www.w3.org/2001/XMLSchema}boolean" />
166     *       &lt;attribute name="userName" type="{http://www.w3.org/2001/XMLSchema}string" />
167     *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
168     *       &lt;anyAttribute processContents='lax' namespace='##other'/>
169     *     &lt;/restriction>
170     *   &lt;/complexContent>
171     * &lt;/complexType>
172     * </pre>
173     * 
174     * 
175     */
176    @XmlAccessorType(XmlAccessType.FIELD)
177    @XmlType(name = "", propOrder = {
178        "contents"
179    })
180    @XmlRootElement(name = "networkConnector")
181    public class DtoNetworkConnector implements Equals, HashCode, ToString
182    {
183    
184        @XmlElementRefs({
185            @XmlElementRef(name = "connectionFilter", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
186            @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
187            @XmlElementRef(name = "durableDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
188            @XmlElementRef(name = "dynamicallyIncludedDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
189            @XmlElementRef(name = "staticallyIncludedDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
190            @XmlElementRef(name = "excludedDestinations", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
191            @XmlElementRef(name = "discoveryAgent", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class)
192        })
193        @XmlAnyElement(lax = true)
194        protected List<Object> contents;
195        @XmlAttribute(name = "advisoryForFailedForward")
196        protected Boolean advisoryForFailedForward;
197        @XmlAttribute(name = "alwaysSyncSend")
198        protected Boolean alwaysSyncSend;
199        @XmlAttribute(name = "bridgeTempDestinations")
200        protected Boolean bridgeTempDestinations;
201        @XmlAttribute(name = "brokerName")
202        protected String brokerName;
203        @XmlAttribute(name = "brokerService")
204        protected String brokerService;
205        @XmlAttribute(name = "brokerURL")
206        protected String brokerURL;
207        @XmlAttribute(name = "conduitSubscriptions")
208        protected Boolean conduitSubscriptions;
209        @XmlAttribute(name = "connectionFilter")
210        protected String connectionFilter;
211        @XmlAttribute(name = "consumerPriorityBase")
212        protected BigInteger consumerPriorityBase;
213        @XmlAttribute(name = "consumerTTL")
214        protected BigInteger consumerTTL;
215        @XmlAttribute(name = "decreaseNetworkConsumerPriority")
216        protected Boolean decreaseNetworkConsumerPriority;
217        @XmlAttribute(name = "destinationFilter")
218        protected String destinationFilter;
219        @XmlAttribute(name = "discoveryAgent")
220        protected String discoveryAgent;
221        @XmlAttribute(name = "discoveryURI")
222        protected String discoveryURI;
223        @XmlAttribute(name = "dispatchAsync")
224        protected Boolean dispatchAsync;
225        @XmlAttribute(name = "duplex")
226        protected Boolean duplex;
227        @XmlAttribute(name = "dynamicOnly")
228        protected Boolean dynamicOnly;
229        @XmlAttribute(name = "localUri")
230        protected String localUri;
231        @XmlAttribute(name = "messageTTL")
232        protected BigInteger messageTTL;
233        @XmlAttribute(name = "name")
234        protected String name;
235        @XmlAttribute(name = "networkTTL")
236        protected BigInteger networkTTL;
237        @XmlAttribute(name = "objectName")
238        protected String objectName;
239        @XmlAttribute(name = "password")
240        protected String password;
241        @XmlAttribute(name = "prefetchSize")
242        protected String prefetchSize;
243        @XmlAttribute(name = "staticBridge")
244        protected Boolean staticBridge;
245        @XmlAttribute(name = "suppressDuplicateQueueSubscriptions")
246        protected Boolean suppressDuplicateQueueSubscriptions;
247        @XmlAttribute(name = "suppressDuplicateTopicSubscriptions")
248        protected Boolean suppressDuplicateTopicSubscriptions;
249        @XmlAttribute(name = "uri")
250        protected String uri;
251        @XmlAttribute(name = "useBrokerNameAsIdSees")
252        protected Boolean useBrokerNameAsIdSees;
253        @XmlAttribute(name = "useCompression")
254        protected Boolean useCompression;
255        @XmlAttribute(name = "userName")
256        protected String userName;
257        @XmlAttribute(name = "id")
258        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
259        @XmlID
260        @XmlSchemaType(name = "ID")
261        protected String id;
262        @XmlAnyAttribute
263        private Map<QName, String> otherAttributes = new HashMap<QName, String>();
264    
265        /**
266         * Gets the value of the contents property.
267         * 
268         * <p>
269         * This accessor method returns a reference to the live list,
270         * not a snapshot. Therefore any modification you make to the
271         * returned list will be present inside the JAXB object.
272         * This is why there is not a <CODE>set</CODE> method for the contents property.
273         * 
274         * <p>
275         * For example, to add a new item, do as follows:
276         * <pre>
277         *    getContents().add(newItem);
278         * </pre>
279         * 
280         * 
281         * <p>
282         * Objects of the following type(s) are allowed in the list
283         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.ConnectionFilter }{@code >}
284         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.BrokerService }{@code >}
285         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.DurableDestinations }{@code >}
286         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.DynamicallyIncludedDestinations }{@code >}
287         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.StaticallyIncludedDestinations }{@code >}
288         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.ExcludedDestinations }{@code >}
289         * {@link JAXBElement }{@code <}{@link DtoNetworkConnector.DiscoveryAgent }{@code >}
290         * {@link Object }
291         * 
292         * 
293         */
294        public List<Object> getContents() {
295            if (contents == null) {
296                contents = new ArrayList<Object>();
297            }
298            return this.contents;
299        }
300    
301        /**
302         * Gets the value of the advisoryForFailedForward property.
303         * 
304         * @return
305         *     possible object is
306         *     {@link Boolean }
307         *     
308         */
309        public Boolean isAdvisoryForFailedForward() {
310            return advisoryForFailedForward;
311        }
312    
313        /**
314         * Sets the value of the advisoryForFailedForward property.
315         * 
316         * @param value
317         *     allowed object is
318         *     {@link Boolean }
319         *     
320         */
321        public void setAdvisoryForFailedForward(Boolean value) {
322            this.advisoryForFailedForward = value;
323        }
324    
325        /**
326         * Gets the value of the alwaysSyncSend property.
327         * 
328         * @return
329         *     possible object is
330         *     {@link Boolean }
331         *     
332         */
333        public Boolean isAlwaysSyncSend() {
334            return alwaysSyncSend;
335        }
336    
337        /**
338         * Sets the value of the alwaysSyncSend property.
339         * 
340         * @param value
341         *     allowed object is
342         *     {@link Boolean }
343         *     
344         */
345        public void setAlwaysSyncSend(Boolean value) {
346            this.alwaysSyncSend = value;
347        }
348    
349        /**
350         * Gets the value of the bridgeTempDestinations property.
351         * 
352         * @return
353         *     possible object is
354         *     {@link Boolean }
355         *     
356         */
357        public Boolean isBridgeTempDestinations() {
358            return bridgeTempDestinations;
359        }
360    
361        /**
362         * Sets the value of the bridgeTempDestinations property.
363         * 
364         * @param value
365         *     allowed object is
366         *     {@link Boolean }
367         *     
368         */
369        public void setBridgeTempDestinations(Boolean value) {
370            this.bridgeTempDestinations = value;
371        }
372    
373        /**
374         * Gets the value of the brokerName property.
375         * 
376         * @return
377         *     possible object is
378         *     {@link String }
379         *     
380         */
381        public String getBrokerName() {
382            return brokerName;
383        }
384    
385        /**
386         * Sets the value of the brokerName property.
387         * 
388         * @param value
389         *     allowed object is
390         *     {@link String }
391         *     
392         */
393        public void setBrokerName(String value) {
394            this.brokerName = value;
395        }
396    
397        /**
398         * Gets the value of the brokerService property.
399         * 
400         * @return
401         *     possible object is
402         *     {@link String }
403         *     
404         */
405        public String getBrokerService() {
406            return brokerService;
407        }
408    
409        /**
410         * Sets the value of the brokerService property.
411         * 
412         * @param value
413         *     allowed object is
414         *     {@link String }
415         *     
416         */
417        public void setBrokerService(String value) {
418            this.brokerService = value;
419        }
420    
421        /**
422         * Gets the value of the brokerURL property.
423         * 
424         * @return
425         *     possible object is
426         *     {@link String }
427         *     
428         */
429        public String getBrokerURL() {
430            return brokerURL;
431        }
432    
433        /**
434         * Sets the value of the brokerURL property.
435         * 
436         * @param value
437         *     allowed object is
438         *     {@link String }
439         *     
440         */
441        public void setBrokerURL(String value) {
442            this.brokerURL = value;
443        }
444    
445        /**
446         * Gets the value of the conduitSubscriptions property.
447         * 
448         * @return
449         *     possible object is
450         *     {@link Boolean }
451         *     
452         */
453        public Boolean isConduitSubscriptions() {
454            return conduitSubscriptions;
455        }
456    
457        /**
458         * Sets the value of the conduitSubscriptions property.
459         * 
460         * @param value
461         *     allowed object is
462         *     {@link Boolean }
463         *     
464         */
465        public void setConduitSubscriptions(Boolean value) {
466            this.conduitSubscriptions = value;
467        }
468    
469        /**
470         * Gets the value of the connectionFilter property.
471         * 
472         * @return
473         *     possible object is
474         *     {@link String }
475         *     
476         */
477        public String getConnectionFilter() {
478            return connectionFilter;
479        }
480    
481        /**
482         * Sets the value of the connectionFilter property.
483         * 
484         * @param value
485         *     allowed object is
486         *     {@link String }
487         *     
488         */
489        public void setConnectionFilter(String value) {
490            this.connectionFilter = value;
491        }
492    
493        /**
494         * Gets the value of the consumerPriorityBase property.
495         * 
496         * @return
497         *     possible object is
498         *     {@link BigInteger }
499         *     
500         */
501        public BigInteger getConsumerPriorityBase() {
502            return consumerPriorityBase;
503        }
504    
505        /**
506         * Sets the value of the consumerPriorityBase property.
507         * 
508         * @param value
509         *     allowed object is
510         *     {@link BigInteger }
511         *     
512         */
513        public void setConsumerPriorityBase(BigInteger value) {
514            this.consumerPriorityBase = value;
515        }
516    
517        /**
518         * Gets the value of the consumerTTL property.
519         * 
520         * @return
521         *     possible object is
522         *     {@link BigInteger }
523         *     
524         */
525        public BigInteger getConsumerTTL() {
526            return consumerTTL;
527        }
528    
529        /**
530         * Sets the value of the consumerTTL property.
531         * 
532         * @param value
533         *     allowed object is
534         *     {@link BigInteger }
535         *     
536         */
537        public void setConsumerTTL(BigInteger value) {
538            this.consumerTTL = value;
539        }
540    
541        /**
542         * Gets the value of the decreaseNetworkConsumerPriority property.
543         * 
544         * @return
545         *     possible object is
546         *     {@link Boolean }
547         *     
548         */
549        public Boolean isDecreaseNetworkConsumerPriority() {
550            return decreaseNetworkConsumerPriority;
551        }
552    
553        /**
554         * Sets the value of the decreaseNetworkConsumerPriority property.
555         * 
556         * @param value
557         *     allowed object is
558         *     {@link Boolean }
559         *     
560         */
561        public void setDecreaseNetworkConsumerPriority(Boolean value) {
562            this.decreaseNetworkConsumerPriority = value;
563        }
564    
565        /**
566         * Gets the value of the destinationFilter property.
567         * 
568         * @return
569         *     possible object is
570         *     {@link String }
571         *     
572         */
573        public String getDestinationFilter() {
574            return destinationFilter;
575        }
576    
577        /**
578         * Sets the value of the destinationFilter property.
579         * 
580         * @param value
581         *     allowed object is
582         *     {@link String }
583         *     
584         */
585        public void setDestinationFilter(String value) {
586            this.destinationFilter = value;
587        }
588    
589        /**
590         * Gets the value of the discoveryAgent property.
591         * 
592         * @return
593         *     possible object is
594         *     {@link String }
595         *     
596         */
597        public String getDiscoveryAgent() {
598            return discoveryAgent;
599        }
600    
601        /**
602         * Sets the value of the discoveryAgent property.
603         * 
604         * @param value
605         *     allowed object is
606         *     {@link String }
607         *     
608         */
609        public void setDiscoveryAgent(String value) {
610            this.discoveryAgent = value;
611        }
612    
613        /**
614         * Gets the value of the discoveryURI property.
615         * 
616         * @return
617         *     possible object is
618         *     {@link String }
619         *     
620         */
621        public String getDiscoveryURI() {
622            return discoveryURI;
623        }
624    
625        /**
626         * Sets the value of the discoveryURI property.
627         * 
628         * @param value
629         *     allowed object is
630         *     {@link String }
631         *     
632         */
633        public void setDiscoveryURI(String value) {
634            this.discoveryURI = value;
635        }
636    
637        /**
638         * Gets the value of the dispatchAsync property.
639         * 
640         * @return
641         *     possible object is
642         *     {@link Boolean }
643         *     
644         */
645        public Boolean isDispatchAsync() {
646            return dispatchAsync;
647        }
648    
649        /**
650         * Sets the value of the dispatchAsync property.
651         * 
652         * @param value
653         *     allowed object is
654         *     {@link Boolean }
655         *     
656         */
657        public void setDispatchAsync(Boolean value) {
658            this.dispatchAsync = value;
659        }
660    
661        /**
662         * Gets the value of the duplex property.
663         * 
664         * @return
665         *     possible object is
666         *     {@link Boolean }
667         *     
668         */
669        public Boolean isDuplex() {
670            return duplex;
671        }
672    
673        /**
674         * Sets the value of the duplex property.
675         * 
676         * @param value
677         *     allowed object is
678         *     {@link Boolean }
679         *     
680         */
681        public void setDuplex(Boolean value) {
682            this.duplex = value;
683        }
684    
685        /**
686         * Gets the value of the dynamicOnly property.
687         * 
688         * @return
689         *     possible object is
690         *     {@link Boolean }
691         *     
692         */
693        public Boolean isDynamicOnly() {
694            return dynamicOnly;
695        }
696    
697        /**
698         * Sets the value of the dynamicOnly property.
699         * 
700         * @param value
701         *     allowed object is
702         *     {@link Boolean }
703         *     
704         */
705        public void setDynamicOnly(Boolean value) {
706            this.dynamicOnly = value;
707        }
708    
709        /**
710         * Gets the value of the localUri property.
711         * 
712         * @return
713         *     possible object is
714         *     {@link String }
715         *     
716         */
717        public String getLocalUri() {
718            return localUri;
719        }
720    
721        /**
722         * Sets the value of the localUri property.
723         * 
724         * @param value
725         *     allowed object is
726         *     {@link String }
727         *     
728         */
729        public void setLocalUri(String value) {
730            this.localUri = value;
731        }
732    
733        /**
734         * Gets the value of the messageTTL property.
735         * 
736         * @return
737         *     possible object is
738         *     {@link BigInteger }
739         *     
740         */
741        public BigInteger getMessageTTL() {
742            return messageTTL;
743        }
744    
745        /**
746         * Sets the value of the messageTTL property.
747         * 
748         * @param value
749         *     allowed object is
750         *     {@link BigInteger }
751         *     
752         */
753        public void setMessageTTL(BigInteger value) {
754            this.messageTTL = value;
755        }
756    
757        /**
758         * Gets the value of the name property.
759         * 
760         * @return
761         *     possible object is
762         *     {@link String }
763         *     
764         */
765        public String getName() {
766            return name;
767        }
768    
769        /**
770         * Sets the value of the name property.
771         * 
772         * @param value
773         *     allowed object is
774         *     {@link String }
775         *     
776         */
777        public void setName(String value) {
778            this.name = value;
779        }
780    
781        /**
782         * Gets the value of the networkTTL property.
783         * 
784         * @return
785         *     possible object is
786         *     {@link BigInteger }
787         *     
788         */
789        public BigInteger getNetworkTTL() {
790            return networkTTL;
791        }
792    
793        /**
794         * Sets the value of the networkTTL property.
795         * 
796         * @param value
797         *     allowed object is
798         *     {@link BigInteger }
799         *     
800         */
801        public void setNetworkTTL(BigInteger value) {
802            this.networkTTL = value;
803        }
804    
805        /**
806         * Gets the value of the objectName property.
807         * 
808         * @return
809         *     possible object is
810         *     {@link String }
811         *     
812         */
813        public String getObjectName() {
814            return objectName;
815        }
816    
817        /**
818         * Sets the value of the objectName property.
819         * 
820         * @param value
821         *     allowed object is
822         *     {@link String }
823         *     
824         */
825        public void setObjectName(String value) {
826            this.objectName = value;
827        }
828    
829        /**
830         * Gets the value of the password property.
831         * 
832         * @return
833         *     possible object is
834         *     {@link String }
835         *     
836         */
837        public String getPassword() {
838            return password;
839        }
840    
841        /**
842         * Sets the value of the password property.
843         * 
844         * @param value
845         *     allowed object is
846         *     {@link String }
847         *     
848         */
849        public void setPassword(String value) {
850            this.password = value;
851        }
852    
853        /**
854         * Gets the value of the prefetchSize property.
855         * 
856         * @return
857         *     possible object is
858         *     {@link String }
859         *     
860         */
861        public String getPrefetchSize() {
862            return prefetchSize;
863        }
864    
865        /**
866         * Sets the value of the prefetchSize property.
867         * 
868         * @param value
869         *     allowed object is
870         *     {@link String }
871         *     
872         */
873        public void setPrefetchSize(String value) {
874            this.prefetchSize = value;
875        }
876    
877        /**
878         * Gets the value of the staticBridge property.
879         * 
880         * @return
881         *     possible object is
882         *     {@link Boolean }
883         *     
884         */
885        public Boolean isStaticBridge() {
886            return staticBridge;
887        }
888    
889        /**
890         * Sets the value of the staticBridge property.
891         * 
892         * @param value
893         *     allowed object is
894         *     {@link Boolean }
895         *     
896         */
897        public void setStaticBridge(Boolean value) {
898            this.staticBridge = value;
899        }
900    
901        /**
902         * Gets the value of the suppressDuplicateQueueSubscriptions property.
903         * 
904         * @return
905         *     possible object is
906         *     {@link Boolean }
907         *     
908         */
909        public Boolean isSuppressDuplicateQueueSubscriptions() {
910            return suppressDuplicateQueueSubscriptions;
911        }
912    
913        /**
914         * Sets the value of the suppressDuplicateQueueSubscriptions property.
915         * 
916         * @param value
917         *     allowed object is
918         *     {@link Boolean }
919         *     
920         */
921        public void setSuppressDuplicateQueueSubscriptions(Boolean value) {
922            this.suppressDuplicateQueueSubscriptions = value;
923        }
924    
925        /**
926         * Gets the value of the suppressDuplicateTopicSubscriptions property.
927         * 
928         * @return
929         *     possible object is
930         *     {@link Boolean }
931         *     
932         */
933        public Boolean isSuppressDuplicateTopicSubscriptions() {
934            return suppressDuplicateTopicSubscriptions;
935        }
936    
937        /**
938         * Sets the value of the suppressDuplicateTopicSubscriptions property.
939         * 
940         * @param value
941         *     allowed object is
942         *     {@link Boolean }
943         *     
944         */
945        public void setSuppressDuplicateTopicSubscriptions(Boolean value) {
946            this.suppressDuplicateTopicSubscriptions = value;
947        }
948    
949        /**
950         * Gets the value of the uri property.
951         * 
952         * @return
953         *     possible object is
954         *     {@link String }
955         *     
956         */
957        public String getUri() {
958            return uri;
959        }
960    
961        /**
962         * Sets the value of the uri property.
963         * 
964         * @param value
965         *     allowed object is
966         *     {@link String }
967         *     
968         */
969        public void setUri(String value) {
970            this.uri = value;
971        }
972    
973        /**
974         * Gets the value of the useBrokerNameAsIdSees property.
975         * 
976         * @return
977         *     possible object is
978         *     {@link Boolean }
979         *     
980         */
981        public Boolean isUseBrokerNameAsIdSees() {
982            return useBrokerNameAsIdSees;
983        }
984    
985        /**
986         * Sets the value of the useBrokerNameAsIdSees property.
987         * 
988         * @param value
989         *     allowed object is
990         *     {@link Boolean }
991         *     
992         */
993        public void setUseBrokerNameAsIdSees(Boolean value) {
994            this.useBrokerNameAsIdSees = value;
995        }
996    
997        /**
998         * Gets the value of the useCompression property.
999         * 
1000         * @return
1001         *     possible object is
1002         *     {@link Boolean }
1003         *     
1004         */
1005        public Boolean isUseCompression() {
1006            return useCompression;
1007        }
1008    
1009        /**
1010         * Sets the value of the useCompression property.
1011         * 
1012         * @param value
1013         *     allowed object is
1014         *     {@link Boolean }
1015         *     
1016         */
1017        public void setUseCompression(Boolean value) {
1018            this.useCompression = value;
1019        }
1020    
1021        /**
1022         * Gets the value of the userName property.
1023         * 
1024         * @return
1025         *     possible object is
1026         *     {@link String }
1027         *     
1028         */
1029        public String getUserName() {
1030            return userName;
1031        }
1032    
1033        /**
1034         * Sets the value of the userName property.
1035         * 
1036         * @param value
1037         *     allowed object is
1038         *     {@link String }
1039         *     
1040         */
1041        public void setUserName(String value) {
1042            this.userName = value;
1043        }
1044    
1045        /**
1046         * Gets the value of the id property.
1047         * 
1048         * @return
1049         *     possible object is
1050         *     {@link String }
1051         *     
1052         */
1053        public String getId() {
1054            return id;
1055        }
1056    
1057        /**
1058         * Sets the value of the id property.
1059         * 
1060         * @param value
1061         *     allowed object is
1062         *     {@link String }
1063         *     
1064         */
1065        public void setId(String value) {
1066            this.id = value;
1067        }
1068    
1069        /**
1070         * Gets a map that contains attributes that aren't bound to any typed property on this class.
1071         * 
1072         * <p>
1073         * the map is keyed by the name of the attribute and 
1074         * the value is the string value of the attribute.
1075         * 
1076         * the map returned by this method is live, and you can add new attribute
1077         * by updating the map directly. Because of this design, there's no setter.
1078         * 
1079         * 
1080         * @return
1081         *     always non-null
1082         */
1083        public Map<QName, String> getOtherAttributes() {
1084            return otherAttributes;
1085        }
1086    
1087        public String toString() {
1088            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1089            final StringBuilder buffer = new StringBuilder();
1090            append(null, buffer, strategy);
1091            return buffer.toString();
1092        }
1093    
1094        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1095            strategy.appendStart(locator, this, buffer);
1096            appendFields(locator, buffer, strategy);
1097            strategy.appendEnd(locator, this, buffer);
1098            return buffer;
1099        }
1100    
1101        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1102            {
1103                List<Object> theContents;
1104                theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
1105                strategy.appendField(locator, this, "contents", buffer, theContents);
1106            }
1107            {
1108                Boolean theAdvisoryForFailedForward;
1109                theAdvisoryForFailedForward = this.isAdvisoryForFailedForward();
1110                strategy.appendField(locator, this, "advisoryForFailedForward", buffer, theAdvisoryForFailedForward);
1111            }
1112            {
1113                Boolean theAlwaysSyncSend;
1114                theAlwaysSyncSend = this.isAlwaysSyncSend();
1115                strategy.appendField(locator, this, "alwaysSyncSend", buffer, theAlwaysSyncSend);
1116            }
1117            {
1118                Boolean theBridgeTempDestinations;
1119                theBridgeTempDestinations = this.isBridgeTempDestinations();
1120                strategy.appendField(locator, this, "bridgeTempDestinations", buffer, theBridgeTempDestinations);
1121            }
1122            {
1123                String theBrokerName;
1124                theBrokerName = this.getBrokerName();
1125                strategy.appendField(locator, this, "brokerName", buffer, theBrokerName);
1126            }
1127            {
1128                String theBrokerService;
1129                theBrokerService = this.getBrokerService();
1130                strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
1131            }
1132            {
1133                String theBrokerURL;
1134                theBrokerURL = this.getBrokerURL();
1135                strategy.appendField(locator, this, "brokerURL", buffer, theBrokerURL);
1136            }
1137            {
1138                Boolean theConduitSubscriptions;
1139                theConduitSubscriptions = this.isConduitSubscriptions();
1140                strategy.appendField(locator, this, "conduitSubscriptions", buffer, theConduitSubscriptions);
1141            }
1142            {
1143                String theConnectionFilter;
1144                theConnectionFilter = this.getConnectionFilter();
1145                strategy.appendField(locator, this, "connectionFilter", buffer, theConnectionFilter);
1146            }
1147            {
1148                BigInteger theConsumerPriorityBase;
1149                theConsumerPriorityBase = this.getConsumerPriorityBase();
1150                strategy.appendField(locator, this, "consumerPriorityBase", buffer, theConsumerPriorityBase);
1151            }
1152            {
1153                BigInteger theConsumerTTL;
1154                theConsumerTTL = this.getConsumerTTL();
1155                strategy.appendField(locator, this, "consumerTTL", buffer, theConsumerTTL);
1156            }
1157            {
1158                Boolean theDecreaseNetworkConsumerPriority;
1159                theDecreaseNetworkConsumerPriority = this.isDecreaseNetworkConsumerPriority();
1160                strategy.appendField(locator, this, "decreaseNetworkConsumerPriority", buffer, theDecreaseNetworkConsumerPriority);
1161            }
1162            {
1163                String theDestinationFilter;
1164                theDestinationFilter = this.getDestinationFilter();
1165                strategy.appendField(locator, this, "destinationFilter", buffer, theDestinationFilter);
1166            }
1167            {
1168                String theDiscoveryAgent;
1169                theDiscoveryAgent = this.getDiscoveryAgent();
1170                strategy.appendField(locator, this, "discoveryAgent", buffer, theDiscoveryAgent);
1171            }
1172            {
1173                String theDiscoveryURI;
1174                theDiscoveryURI = this.getDiscoveryURI();
1175                strategy.appendField(locator, this, "discoveryURI", buffer, theDiscoveryURI);
1176            }
1177            {
1178                Boolean theDispatchAsync;
1179                theDispatchAsync = this.isDispatchAsync();
1180                strategy.appendField(locator, this, "dispatchAsync", buffer, theDispatchAsync);
1181            }
1182            {
1183                Boolean theDuplex;
1184                theDuplex = this.isDuplex();
1185                strategy.appendField(locator, this, "duplex", buffer, theDuplex);
1186            }
1187            {
1188                Boolean theDynamicOnly;
1189                theDynamicOnly = this.isDynamicOnly();
1190                strategy.appendField(locator, this, "dynamicOnly", buffer, theDynamicOnly);
1191            }
1192            {
1193                String theLocalUri;
1194                theLocalUri = this.getLocalUri();
1195                strategy.appendField(locator, this, "localUri", buffer, theLocalUri);
1196            }
1197            {
1198                BigInteger theMessageTTL;
1199                theMessageTTL = this.getMessageTTL();
1200                strategy.appendField(locator, this, "messageTTL", buffer, theMessageTTL);
1201            }
1202            {
1203                String theName;
1204                theName = this.getName();
1205                strategy.appendField(locator, this, "name", buffer, theName);
1206            }
1207            {
1208                BigInteger theNetworkTTL;
1209                theNetworkTTL = this.getNetworkTTL();
1210                strategy.appendField(locator, this, "networkTTL", buffer, theNetworkTTL);
1211            }
1212            {
1213                String theObjectName;
1214                theObjectName = this.getObjectName();
1215                strategy.appendField(locator, this, "objectName", buffer, theObjectName);
1216            }
1217            {
1218                String thePassword;
1219                thePassword = this.getPassword();
1220                strategy.appendField(locator, this, "password", buffer, thePassword);
1221            }
1222            {
1223                String thePrefetchSize;
1224                thePrefetchSize = this.getPrefetchSize();
1225                strategy.appendField(locator, this, "prefetchSize", buffer, thePrefetchSize);
1226            }
1227            {
1228                Boolean theStaticBridge;
1229                theStaticBridge = this.isStaticBridge();
1230                strategy.appendField(locator, this, "staticBridge", buffer, theStaticBridge);
1231            }
1232            {
1233                Boolean theSuppressDuplicateQueueSubscriptions;
1234                theSuppressDuplicateQueueSubscriptions = this.isSuppressDuplicateQueueSubscriptions();
1235                strategy.appendField(locator, this, "suppressDuplicateQueueSubscriptions", buffer, theSuppressDuplicateQueueSubscriptions);
1236            }
1237            {
1238                Boolean theSuppressDuplicateTopicSubscriptions;
1239                theSuppressDuplicateTopicSubscriptions = this.isSuppressDuplicateTopicSubscriptions();
1240                strategy.appendField(locator, this, "suppressDuplicateTopicSubscriptions", buffer, theSuppressDuplicateTopicSubscriptions);
1241            }
1242            {
1243                String theUri;
1244                theUri = this.getUri();
1245                strategy.appendField(locator, this, "uri", buffer, theUri);
1246            }
1247            {
1248                Boolean theUseBrokerNameAsIdSees;
1249                theUseBrokerNameAsIdSees = this.isUseBrokerNameAsIdSees();
1250                strategy.appendField(locator, this, "useBrokerNameAsIdSees", buffer, theUseBrokerNameAsIdSees);
1251            }
1252            {
1253                Boolean theUseCompression;
1254                theUseCompression = this.isUseCompression();
1255                strategy.appendField(locator, this, "useCompression", buffer, theUseCompression);
1256            }
1257            {
1258                String theUserName;
1259                theUserName = this.getUserName();
1260                strategy.appendField(locator, this, "userName", buffer, theUserName);
1261            }
1262            {
1263                String theId;
1264                theId = this.getId();
1265                strategy.appendField(locator, this, "id", buffer, theId);
1266            }
1267            return buffer;
1268        }
1269    
1270        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1271            int currentHashCode = 1;
1272            {
1273                List<Object> theContents;
1274                theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
1275                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
1276            }
1277            {
1278                Boolean theAdvisoryForFailedForward;
1279                theAdvisoryForFailedForward = this.isAdvisoryForFailedForward();
1280                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "advisoryForFailedForward", theAdvisoryForFailedForward), currentHashCode, theAdvisoryForFailedForward);
1281            }
1282            {
1283                Boolean theAlwaysSyncSend;
1284                theAlwaysSyncSend = this.isAlwaysSyncSend();
1285                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "alwaysSyncSend", theAlwaysSyncSend), currentHashCode, theAlwaysSyncSend);
1286            }
1287            {
1288                Boolean theBridgeTempDestinations;
1289                theBridgeTempDestinations = this.isBridgeTempDestinations();
1290                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "bridgeTempDestinations", theBridgeTempDestinations), currentHashCode, theBridgeTempDestinations);
1291            }
1292            {
1293                String theBrokerName;
1294                theBrokerName = this.getBrokerName();
1295                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerName", theBrokerName), currentHashCode, theBrokerName);
1296            }
1297            {
1298                String theBrokerService;
1299                theBrokerService = this.getBrokerService();
1300                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
1301            }
1302            {
1303                String theBrokerURL;
1304                theBrokerURL = this.getBrokerURL();
1305                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerURL", theBrokerURL), currentHashCode, theBrokerURL);
1306            }
1307            {
1308                Boolean theConduitSubscriptions;
1309                theConduitSubscriptions = this.isConduitSubscriptions();
1310                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "conduitSubscriptions", theConduitSubscriptions), currentHashCode, theConduitSubscriptions);
1311            }
1312            {
1313                String theConnectionFilter;
1314                theConnectionFilter = this.getConnectionFilter();
1315                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionFilter", theConnectionFilter), currentHashCode, theConnectionFilter);
1316            }
1317            {
1318                BigInteger theConsumerPriorityBase;
1319                theConsumerPriorityBase = this.getConsumerPriorityBase();
1320                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumerPriorityBase", theConsumerPriorityBase), currentHashCode, theConsumerPriorityBase);
1321            }
1322            {
1323                BigInteger theConsumerTTL;
1324                theConsumerTTL = this.getConsumerTTL();
1325                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "consumerTTL", theConsumerTTL), currentHashCode, theConsumerTTL);
1326            }
1327            {
1328                Boolean theDecreaseNetworkConsumerPriority;
1329                theDecreaseNetworkConsumerPriority = this.isDecreaseNetworkConsumerPriority();
1330                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "decreaseNetworkConsumerPriority", theDecreaseNetworkConsumerPriority), currentHashCode, theDecreaseNetworkConsumerPriority);
1331            }
1332            {
1333                String theDestinationFilter;
1334                theDestinationFilter = this.getDestinationFilter();
1335                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "destinationFilter", theDestinationFilter), currentHashCode, theDestinationFilter);
1336            }
1337            {
1338                String theDiscoveryAgent;
1339                theDiscoveryAgent = this.getDiscoveryAgent();
1340                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discoveryAgent", theDiscoveryAgent), currentHashCode, theDiscoveryAgent);
1341            }
1342            {
1343                String theDiscoveryURI;
1344                theDiscoveryURI = this.getDiscoveryURI();
1345                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "discoveryURI", theDiscoveryURI), currentHashCode, theDiscoveryURI);
1346            }
1347            {
1348                Boolean theDispatchAsync;
1349                theDispatchAsync = this.isDispatchAsync();
1350                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dispatchAsync", theDispatchAsync), currentHashCode, theDispatchAsync);
1351            }
1352            {
1353                Boolean theDuplex;
1354                theDuplex = this.isDuplex();
1355                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "duplex", theDuplex), currentHashCode, theDuplex);
1356            }
1357            {
1358                Boolean theDynamicOnly;
1359                theDynamicOnly = this.isDynamicOnly();
1360                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dynamicOnly", theDynamicOnly), currentHashCode, theDynamicOnly);
1361            }
1362            {
1363                String theLocalUri;
1364                theLocalUri = this.getLocalUri();
1365                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "localUri", theLocalUri), currentHashCode, theLocalUri);
1366            }
1367            {
1368                BigInteger theMessageTTL;
1369                theMessageTTL = this.getMessageTTL();
1370                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "messageTTL", theMessageTTL), currentHashCode, theMessageTTL);
1371            }
1372            {
1373                String theName;
1374                theName = this.getName();
1375                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName);
1376            }
1377            {
1378                BigInteger theNetworkTTL;
1379                theNetworkTTL = this.getNetworkTTL();
1380                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "networkTTL", theNetworkTTL), currentHashCode, theNetworkTTL);
1381            }
1382            {
1383                String theObjectName;
1384                theObjectName = this.getObjectName();
1385                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "objectName", theObjectName), currentHashCode, theObjectName);
1386            }
1387            {
1388                String thePassword;
1389                thePassword = this.getPassword();
1390                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "password", thePassword), currentHashCode, thePassword);
1391            }
1392            {
1393                String thePrefetchSize;
1394                thePrefetchSize = this.getPrefetchSize();
1395                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "prefetchSize", thePrefetchSize), currentHashCode, thePrefetchSize);
1396            }
1397            {
1398                Boolean theStaticBridge;
1399                theStaticBridge = this.isStaticBridge();
1400                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "staticBridge", theStaticBridge), currentHashCode, theStaticBridge);
1401            }
1402            {
1403                Boolean theSuppressDuplicateQueueSubscriptions;
1404                theSuppressDuplicateQueueSubscriptions = this.isSuppressDuplicateQueueSubscriptions();
1405                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "suppressDuplicateQueueSubscriptions", theSuppressDuplicateQueueSubscriptions), currentHashCode, theSuppressDuplicateQueueSubscriptions);
1406            }
1407            {
1408                Boolean theSuppressDuplicateTopicSubscriptions;
1409                theSuppressDuplicateTopicSubscriptions = this.isSuppressDuplicateTopicSubscriptions();
1410                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "suppressDuplicateTopicSubscriptions", theSuppressDuplicateTopicSubscriptions), currentHashCode, theSuppressDuplicateTopicSubscriptions);
1411            }
1412            {
1413                String theUri;
1414                theUri = this.getUri();
1415                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "uri", theUri), currentHashCode, theUri);
1416            }
1417            {
1418                Boolean theUseBrokerNameAsIdSees;
1419                theUseBrokerNameAsIdSees = this.isUseBrokerNameAsIdSees();
1420                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useBrokerNameAsIdSees", theUseBrokerNameAsIdSees), currentHashCode, theUseBrokerNameAsIdSees);
1421            }
1422            {
1423                Boolean theUseCompression;
1424                theUseCompression = this.isUseCompression();
1425                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useCompression", theUseCompression), currentHashCode, theUseCompression);
1426            }
1427            {
1428                String theUserName;
1429                theUserName = this.getUserName();
1430                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "userName", theUserName), currentHashCode, theUserName);
1431            }
1432            {
1433                String theId;
1434                theId = this.getId();
1435                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
1436            }
1437            return currentHashCode;
1438        }
1439    
1440        public int hashCode() {
1441            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1442            return this.hashCode(null, strategy);
1443        }
1444    
1445        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1446            if (!(object instanceof DtoNetworkConnector)) {
1447                return false;
1448            }
1449            if (this == object) {
1450                return true;
1451            }
1452            final DtoNetworkConnector that = ((DtoNetworkConnector) object);
1453            {
1454                List<Object> lhsContents;
1455                lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
1456                List<Object> rhsContents;
1457                rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
1458                if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
1459                    return false;
1460                }
1461            }
1462            {
1463                Boolean lhsAdvisoryForFailedForward;
1464                lhsAdvisoryForFailedForward = this.isAdvisoryForFailedForward();
1465                Boolean rhsAdvisoryForFailedForward;
1466                rhsAdvisoryForFailedForward = that.isAdvisoryForFailedForward();
1467                if (!strategy.equals(LocatorUtils.property(thisLocator, "advisoryForFailedForward", lhsAdvisoryForFailedForward), LocatorUtils.property(thatLocator, "advisoryForFailedForward", rhsAdvisoryForFailedForward), lhsAdvisoryForFailedForward, rhsAdvisoryForFailedForward)) {
1468                    return false;
1469                }
1470            }
1471            {
1472                Boolean lhsAlwaysSyncSend;
1473                lhsAlwaysSyncSend = this.isAlwaysSyncSend();
1474                Boolean rhsAlwaysSyncSend;
1475                rhsAlwaysSyncSend = that.isAlwaysSyncSend();
1476                if (!strategy.equals(LocatorUtils.property(thisLocator, "alwaysSyncSend", lhsAlwaysSyncSend), LocatorUtils.property(thatLocator, "alwaysSyncSend", rhsAlwaysSyncSend), lhsAlwaysSyncSend, rhsAlwaysSyncSend)) {
1477                    return false;
1478                }
1479            }
1480            {
1481                Boolean lhsBridgeTempDestinations;
1482                lhsBridgeTempDestinations = this.isBridgeTempDestinations();
1483                Boolean rhsBridgeTempDestinations;
1484                rhsBridgeTempDestinations = that.isBridgeTempDestinations();
1485                if (!strategy.equals(LocatorUtils.property(thisLocator, "bridgeTempDestinations", lhsBridgeTempDestinations), LocatorUtils.property(thatLocator, "bridgeTempDestinations", rhsBridgeTempDestinations), lhsBridgeTempDestinations, rhsBridgeTempDestinations)) {
1486                    return false;
1487                }
1488            }
1489            {
1490                String lhsBrokerName;
1491                lhsBrokerName = this.getBrokerName();
1492                String rhsBrokerName;
1493                rhsBrokerName = that.getBrokerName();
1494                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerName", lhsBrokerName), LocatorUtils.property(thatLocator, "brokerName", rhsBrokerName), lhsBrokerName, rhsBrokerName)) {
1495                    return false;
1496                }
1497            }
1498            {
1499                String lhsBrokerService;
1500                lhsBrokerService = this.getBrokerService();
1501                String rhsBrokerService;
1502                rhsBrokerService = that.getBrokerService();
1503                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
1504                    return false;
1505                }
1506            }
1507            {
1508                String lhsBrokerURL;
1509                lhsBrokerURL = this.getBrokerURL();
1510                String rhsBrokerURL;
1511                rhsBrokerURL = that.getBrokerURL();
1512                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerURL", lhsBrokerURL), LocatorUtils.property(thatLocator, "brokerURL", rhsBrokerURL), lhsBrokerURL, rhsBrokerURL)) {
1513                    return false;
1514                }
1515            }
1516            {
1517                Boolean lhsConduitSubscriptions;
1518                lhsConduitSubscriptions = this.isConduitSubscriptions();
1519                Boolean rhsConduitSubscriptions;
1520                rhsConduitSubscriptions = that.isConduitSubscriptions();
1521                if (!strategy.equals(LocatorUtils.property(thisLocator, "conduitSubscriptions", lhsConduitSubscriptions), LocatorUtils.property(thatLocator, "conduitSubscriptions", rhsConduitSubscriptions), lhsConduitSubscriptions, rhsConduitSubscriptions)) {
1522                    return false;
1523                }
1524            }
1525            {
1526                String lhsConnectionFilter;
1527                lhsConnectionFilter = this.getConnectionFilter();
1528                String rhsConnectionFilter;
1529                rhsConnectionFilter = that.getConnectionFilter();
1530                if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionFilter", lhsConnectionFilter), LocatorUtils.property(thatLocator, "connectionFilter", rhsConnectionFilter), lhsConnectionFilter, rhsConnectionFilter)) {
1531                    return false;
1532                }
1533            }
1534            {
1535                BigInteger lhsConsumerPriorityBase;
1536                lhsConsumerPriorityBase = this.getConsumerPriorityBase();
1537                BigInteger rhsConsumerPriorityBase;
1538                rhsConsumerPriorityBase = that.getConsumerPriorityBase();
1539                if (!strategy.equals(LocatorUtils.property(thisLocator, "consumerPriorityBase", lhsConsumerPriorityBase), LocatorUtils.property(thatLocator, "consumerPriorityBase", rhsConsumerPriorityBase), lhsConsumerPriorityBase, rhsConsumerPriorityBase)) {
1540                    return false;
1541                }
1542            }
1543            {
1544                BigInteger lhsConsumerTTL;
1545                lhsConsumerTTL = this.getConsumerTTL();
1546                BigInteger rhsConsumerTTL;
1547                rhsConsumerTTL = that.getConsumerTTL();
1548                if (!strategy.equals(LocatorUtils.property(thisLocator, "consumerTTL", lhsConsumerTTL), LocatorUtils.property(thatLocator, "consumerTTL", rhsConsumerTTL), lhsConsumerTTL, rhsConsumerTTL)) {
1549                    return false;
1550                }
1551            }
1552            {
1553                Boolean lhsDecreaseNetworkConsumerPriority;
1554                lhsDecreaseNetworkConsumerPriority = this.isDecreaseNetworkConsumerPriority();
1555                Boolean rhsDecreaseNetworkConsumerPriority;
1556                rhsDecreaseNetworkConsumerPriority = that.isDecreaseNetworkConsumerPriority();
1557                if (!strategy.equals(LocatorUtils.property(thisLocator, "decreaseNetworkConsumerPriority", lhsDecreaseNetworkConsumerPriority), LocatorUtils.property(thatLocator, "decreaseNetworkConsumerPriority", rhsDecreaseNetworkConsumerPriority), lhsDecreaseNetworkConsumerPriority, rhsDecreaseNetworkConsumerPriority)) {
1558                    return false;
1559                }
1560            }
1561            {
1562                String lhsDestinationFilter;
1563                lhsDestinationFilter = this.getDestinationFilter();
1564                String rhsDestinationFilter;
1565                rhsDestinationFilter = that.getDestinationFilter();
1566                if (!strategy.equals(LocatorUtils.property(thisLocator, "destinationFilter", lhsDestinationFilter), LocatorUtils.property(thatLocator, "destinationFilter", rhsDestinationFilter), lhsDestinationFilter, rhsDestinationFilter)) {
1567                    return false;
1568                }
1569            }
1570            {
1571                String lhsDiscoveryAgent;
1572                lhsDiscoveryAgent = this.getDiscoveryAgent();
1573                String rhsDiscoveryAgent;
1574                rhsDiscoveryAgent = that.getDiscoveryAgent();
1575                if (!strategy.equals(LocatorUtils.property(thisLocator, "discoveryAgent", lhsDiscoveryAgent), LocatorUtils.property(thatLocator, "discoveryAgent", rhsDiscoveryAgent), lhsDiscoveryAgent, rhsDiscoveryAgent)) {
1576                    return false;
1577                }
1578            }
1579            {
1580                String lhsDiscoveryURI;
1581                lhsDiscoveryURI = this.getDiscoveryURI();
1582                String rhsDiscoveryURI;
1583                rhsDiscoveryURI = that.getDiscoveryURI();
1584                if (!strategy.equals(LocatorUtils.property(thisLocator, "discoveryURI", lhsDiscoveryURI), LocatorUtils.property(thatLocator, "discoveryURI", rhsDiscoveryURI), lhsDiscoveryURI, rhsDiscoveryURI)) {
1585                    return false;
1586                }
1587            }
1588            {
1589                Boolean lhsDispatchAsync;
1590                lhsDispatchAsync = this.isDispatchAsync();
1591                Boolean rhsDispatchAsync;
1592                rhsDispatchAsync = that.isDispatchAsync();
1593                if (!strategy.equals(LocatorUtils.property(thisLocator, "dispatchAsync", lhsDispatchAsync), LocatorUtils.property(thatLocator, "dispatchAsync", rhsDispatchAsync), lhsDispatchAsync, rhsDispatchAsync)) {
1594                    return false;
1595                }
1596            }
1597            {
1598                Boolean lhsDuplex;
1599                lhsDuplex = this.isDuplex();
1600                Boolean rhsDuplex;
1601                rhsDuplex = that.isDuplex();
1602                if (!strategy.equals(LocatorUtils.property(thisLocator, "duplex", lhsDuplex), LocatorUtils.property(thatLocator, "duplex", rhsDuplex), lhsDuplex, rhsDuplex)) {
1603                    return false;
1604                }
1605            }
1606            {
1607                Boolean lhsDynamicOnly;
1608                lhsDynamicOnly = this.isDynamicOnly();
1609                Boolean rhsDynamicOnly;
1610                rhsDynamicOnly = that.isDynamicOnly();
1611                if (!strategy.equals(LocatorUtils.property(thisLocator, "dynamicOnly", lhsDynamicOnly), LocatorUtils.property(thatLocator, "dynamicOnly", rhsDynamicOnly), lhsDynamicOnly, rhsDynamicOnly)) {
1612                    return false;
1613                }
1614            }
1615            {
1616                String lhsLocalUri;
1617                lhsLocalUri = this.getLocalUri();
1618                String rhsLocalUri;
1619                rhsLocalUri = that.getLocalUri();
1620                if (!strategy.equals(LocatorUtils.property(thisLocator, "localUri", lhsLocalUri), LocatorUtils.property(thatLocator, "localUri", rhsLocalUri), lhsLocalUri, rhsLocalUri)) {
1621                    return false;
1622                }
1623            }
1624            {
1625                BigInteger lhsMessageTTL;
1626                lhsMessageTTL = this.getMessageTTL();
1627                BigInteger rhsMessageTTL;
1628                rhsMessageTTL = that.getMessageTTL();
1629                if (!strategy.equals(LocatorUtils.property(thisLocator, "messageTTL", lhsMessageTTL), LocatorUtils.property(thatLocator, "messageTTL", rhsMessageTTL), lhsMessageTTL, rhsMessageTTL)) {
1630                    return false;
1631                }
1632            }
1633            {
1634                String lhsName;
1635                lhsName = this.getName();
1636                String rhsName;
1637                rhsName = that.getName();
1638                if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) {
1639                    return false;
1640                }
1641            }
1642            {
1643                BigInteger lhsNetworkTTL;
1644                lhsNetworkTTL = this.getNetworkTTL();
1645                BigInteger rhsNetworkTTL;
1646                rhsNetworkTTL = that.getNetworkTTL();
1647                if (!strategy.equals(LocatorUtils.property(thisLocator, "networkTTL", lhsNetworkTTL), LocatorUtils.property(thatLocator, "networkTTL", rhsNetworkTTL), lhsNetworkTTL, rhsNetworkTTL)) {
1648                    return false;
1649                }
1650            }
1651            {
1652                String lhsObjectName;
1653                lhsObjectName = this.getObjectName();
1654                String rhsObjectName;
1655                rhsObjectName = that.getObjectName();
1656                if (!strategy.equals(LocatorUtils.property(thisLocator, "objectName", lhsObjectName), LocatorUtils.property(thatLocator, "objectName", rhsObjectName), lhsObjectName, rhsObjectName)) {
1657                    return false;
1658                }
1659            }
1660            {
1661                String lhsPassword;
1662                lhsPassword = this.getPassword();
1663                String rhsPassword;
1664                rhsPassword = that.getPassword();
1665                if (!strategy.equals(LocatorUtils.property(thisLocator, "password", lhsPassword), LocatorUtils.property(thatLocator, "password", rhsPassword), lhsPassword, rhsPassword)) {
1666                    return false;
1667                }
1668            }
1669            {
1670                String lhsPrefetchSize;
1671                lhsPrefetchSize = this.getPrefetchSize();
1672                String rhsPrefetchSize;
1673                rhsPrefetchSize = that.getPrefetchSize();
1674                if (!strategy.equals(LocatorUtils.property(thisLocator, "prefetchSize", lhsPrefetchSize), LocatorUtils.property(thatLocator, "prefetchSize", rhsPrefetchSize), lhsPrefetchSize, rhsPrefetchSize)) {
1675                    return false;
1676                }
1677            }
1678            {
1679                Boolean lhsStaticBridge;
1680                lhsStaticBridge = this.isStaticBridge();
1681                Boolean rhsStaticBridge;
1682                rhsStaticBridge = that.isStaticBridge();
1683                if (!strategy.equals(LocatorUtils.property(thisLocator, "staticBridge", lhsStaticBridge), LocatorUtils.property(thatLocator, "staticBridge", rhsStaticBridge), lhsStaticBridge, rhsStaticBridge)) {
1684                    return false;
1685                }
1686            }
1687            {
1688                Boolean lhsSuppressDuplicateQueueSubscriptions;
1689                lhsSuppressDuplicateQueueSubscriptions = this.isSuppressDuplicateQueueSubscriptions();
1690                Boolean rhsSuppressDuplicateQueueSubscriptions;
1691                rhsSuppressDuplicateQueueSubscriptions = that.isSuppressDuplicateQueueSubscriptions();
1692                if (!strategy.equals(LocatorUtils.property(thisLocator, "suppressDuplicateQueueSubscriptions", lhsSuppressDuplicateQueueSubscriptions), LocatorUtils.property(thatLocator, "suppressDuplicateQueueSubscriptions", rhsSuppressDuplicateQueueSubscriptions), lhsSuppressDuplicateQueueSubscriptions, rhsSuppressDuplicateQueueSubscriptions)) {
1693                    return false;
1694                }
1695            }
1696            {
1697                Boolean lhsSuppressDuplicateTopicSubscriptions;
1698                lhsSuppressDuplicateTopicSubscriptions = this.isSuppressDuplicateTopicSubscriptions();
1699                Boolean rhsSuppressDuplicateTopicSubscriptions;
1700                rhsSuppressDuplicateTopicSubscriptions = that.isSuppressDuplicateTopicSubscriptions();
1701                if (!strategy.equals(LocatorUtils.property(thisLocator, "suppressDuplicateTopicSubscriptions", lhsSuppressDuplicateTopicSubscriptions), LocatorUtils.property(thatLocator, "suppressDuplicateTopicSubscriptions", rhsSuppressDuplicateTopicSubscriptions), lhsSuppressDuplicateTopicSubscriptions, rhsSuppressDuplicateTopicSubscriptions)) {
1702                    return false;
1703                }
1704            }
1705            {
1706                String lhsUri;
1707                lhsUri = this.getUri();
1708                String rhsUri;
1709                rhsUri = that.getUri();
1710                if (!strategy.equals(LocatorUtils.property(thisLocator, "uri", lhsUri), LocatorUtils.property(thatLocator, "uri", rhsUri), lhsUri, rhsUri)) {
1711                    return false;
1712                }
1713            }
1714            {
1715                Boolean lhsUseBrokerNameAsIdSees;
1716                lhsUseBrokerNameAsIdSees = this.isUseBrokerNameAsIdSees();
1717                Boolean rhsUseBrokerNameAsIdSees;
1718                rhsUseBrokerNameAsIdSees = that.isUseBrokerNameAsIdSees();
1719                if (!strategy.equals(LocatorUtils.property(thisLocator, "useBrokerNameAsIdSees", lhsUseBrokerNameAsIdSees), LocatorUtils.property(thatLocator, "useBrokerNameAsIdSees", rhsUseBrokerNameAsIdSees), lhsUseBrokerNameAsIdSees, rhsUseBrokerNameAsIdSees)) {
1720                    return false;
1721                }
1722            }
1723            {
1724                Boolean lhsUseCompression;
1725                lhsUseCompression = this.isUseCompression();
1726                Boolean rhsUseCompression;
1727                rhsUseCompression = that.isUseCompression();
1728                if (!strategy.equals(LocatorUtils.property(thisLocator, "useCompression", lhsUseCompression), LocatorUtils.property(thatLocator, "useCompression", rhsUseCompression), lhsUseCompression, rhsUseCompression)) {
1729                    return false;
1730                }
1731            }
1732            {
1733                String lhsUserName;
1734                lhsUserName = this.getUserName();
1735                String rhsUserName;
1736                rhsUserName = that.getUserName();
1737                if (!strategy.equals(LocatorUtils.property(thisLocator, "userName", lhsUserName), LocatorUtils.property(thatLocator, "userName", rhsUserName), lhsUserName, rhsUserName)) {
1738                    return false;
1739                }
1740            }
1741            {
1742                String lhsId;
1743                lhsId = this.getId();
1744                String rhsId;
1745                rhsId = that.getId();
1746                if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
1747                    return false;
1748                }
1749            }
1750            return true;
1751        }
1752    
1753        public boolean equals(Object object) {
1754            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1755            return equals(null, null, object, strategy);
1756        }
1757    
1758    
1759        /**
1760         * <p>Java class for anonymous complex type.
1761         * 
1762         * <p>The following schema fragment specifies the expected content contained within this class.
1763         * 
1764         * <pre>
1765         * &lt;complexType>
1766         *   &lt;complexContent>
1767         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1768         *       &lt;choice minOccurs="0">
1769         *         &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
1770         *         &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
1771         *         &lt;any namespace='##other'/>
1772         *       &lt;/choice>
1773         *     &lt;/restriction>
1774         *   &lt;/complexContent>
1775         * &lt;/complexType>
1776         * </pre>
1777         * 
1778         * 
1779         */
1780        @XmlAccessorType(XmlAccessType.FIELD)
1781        @XmlType(name = "", propOrder = {
1782            "broker",
1783            "brokerService",
1784            "any"
1785        })
1786        public static class BrokerService
1787            implements Equals, HashCode, ToString
1788        {
1789    
1790            protected DtoBroker broker;
1791            protected DtoBrokerService brokerService;
1792            @XmlAnyElement(lax = true)
1793            protected Object any;
1794    
1795            /**
1796             * Gets the value of the broker property.
1797             * 
1798             * @return
1799             *     possible object is
1800             *     {@link DtoBroker }
1801             *     
1802             */
1803            public DtoBroker getBroker() {
1804                return broker;
1805            }
1806    
1807            /**
1808             * Sets the value of the broker property.
1809             * 
1810             * @param value
1811             *     allowed object is
1812             *     {@link DtoBroker }
1813             *     
1814             */
1815            public void setBroker(DtoBroker value) {
1816                this.broker = value;
1817            }
1818    
1819            /**
1820             * Gets the value of the brokerService property.
1821             * 
1822             * @return
1823             *     possible object is
1824             *     {@link DtoBrokerService }
1825             *     
1826             */
1827            public DtoBrokerService getBrokerService() {
1828                return brokerService;
1829            }
1830    
1831            /**
1832             * Sets the value of the brokerService property.
1833             * 
1834             * @param value
1835             *     allowed object is
1836             *     {@link DtoBrokerService }
1837             *     
1838             */
1839            public void setBrokerService(DtoBrokerService value) {
1840                this.brokerService = value;
1841            }
1842    
1843            /**
1844             * Gets the value of the any property.
1845             * 
1846             * @return
1847             *     possible object is
1848             *     {@link Object }
1849             *     
1850             */
1851            public Object getAny() {
1852                return any;
1853            }
1854    
1855            /**
1856             * Sets the value of the any property.
1857             * 
1858             * @param value
1859             *     allowed object is
1860             *     {@link Object }
1861             *     
1862             */
1863            public void setAny(Object value) {
1864                this.any = value;
1865            }
1866    
1867            public String toString() {
1868                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1869                final StringBuilder buffer = new StringBuilder();
1870                append(null, buffer, strategy);
1871                return buffer.toString();
1872            }
1873    
1874            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1875                strategy.appendStart(locator, this, buffer);
1876                appendFields(locator, buffer, strategy);
1877                strategy.appendEnd(locator, this, buffer);
1878                return buffer;
1879            }
1880    
1881            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1882                {
1883                    DtoBroker theBroker;
1884                    theBroker = this.getBroker();
1885                    strategy.appendField(locator, this, "broker", buffer, theBroker);
1886                }
1887                {
1888                    DtoBrokerService theBrokerService;
1889                    theBrokerService = this.getBrokerService();
1890                    strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
1891                }
1892                {
1893                    Object theAny;
1894                    theAny = this.getAny();
1895                    strategy.appendField(locator, this, "any", buffer, theAny);
1896                }
1897                return buffer;
1898            }
1899    
1900            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1901                int currentHashCode = 1;
1902                {
1903                    DtoBroker theBroker;
1904                    theBroker = this.getBroker();
1905                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker);
1906                }
1907                {
1908                    DtoBrokerService theBrokerService;
1909                    theBrokerService = this.getBrokerService();
1910                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
1911                }
1912                {
1913                    Object theAny;
1914                    theAny = this.getAny();
1915                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1916                }
1917                return currentHashCode;
1918            }
1919    
1920            public int hashCode() {
1921                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1922                return this.hashCode(null, strategy);
1923            }
1924    
1925            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1926                if (!(object instanceof DtoNetworkConnector.BrokerService)) {
1927                    return false;
1928                }
1929                if (this == object) {
1930                    return true;
1931                }
1932                final DtoNetworkConnector.BrokerService that = ((DtoNetworkConnector.BrokerService) object);
1933                {
1934                    DtoBroker lhsBroker;
1935                    lhsBroker = this.getBroker();
1936                    DtoBroker rhsBroker;
1937                    rhsBroker = that.getBroker();
1938                    if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) {
1939                        return false;
1940                    }
1941                }
1942                {
1943                    DtoBrokerService lhsBrokerService;
1944                    lhsBrokerService = this.getBrokerService();
1945                    DtoBrokerService rhsBrokerService;
1946                    rhsBrokerService = that.getBrokerService();
1947                    if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
1948                        return false;
1949                    }
1950                }
1951                {
1952                    Object lhsAny;
1953                    lhsAny = this.getAny();
1954                    Object rhsAny;
1955                    rhsAny = that.getAny();
1956                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1957                        return false;
1958                    }
1959                }
1960                return true;
1961            }
1962    
1963            public boolean equals(Object object) {
1964                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1965                return equals(null, null, object, strategy);
1966            }
1967    
1968        }
1969    
1970    
1971        /**
1972         * <p>Java class for anonymous complex type.
1973         * 
1974         * <p>The following schema fragment specifies the expected content contained within this class.
1975         * 
1976         * <pre>
1977         * &lt;complexType>
1978         *   &lt;complexContent>
1979         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1980         *       &lt;sequence minOccurs="0">
1981         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1982         *       &lt;/sequence>
1983         *     &lt;/restriction>
1984         *   &lt;/complexContent>
1985         * &lt;/complexType>
1986         * </pre>
1987         * 
1988         * 
1989         */
1990        @XmlAccessorType(XmlAccessType.FIELD)
1991        @XmlType(name = "", propOrder = {
1992            "any"
1993        })
1994        public static class ConnectionFilter
1995            implements Equals, HashCode, ToString
1996        {
1997    
1998            @XmlAnyElement(lax = true)
1999            protected List<Object> any;
2000    
2001            /**
2002             * Gets the value of the any property.
2003             * 
2004             * <p>
2005             * This accessor method returns a reference to the live list,
2006             * not a snapshot. Therefore any modification you make to the
2007             * returned list will be present inside the JAXB object.
2008             * This is why there is not a <CODE>set</CODE> method for the any property.
2009             * 
2010             * <p>
2011             * For example, to add a new item, do as follows:
2012             * <pre>
2013             *    getAny().add(newItem);
2014             * </pre>
2015             * 
2016             * 
2017             * <p>
2018             * Objects of the following type(s) are allowed in the list
2019             * {@link Object }
2020             * 
2021             * 
2022             */
2023            public List<Object> getAny() {
2024                if (any == null) {
2025                    any = new ArrayList<Object>();
2026                }
2027                return this.any;
2028            }
2029    
2030            public String toString() {
2031                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2032                final StringBuilder buffer = new StringBuilder();
2033                append(null, buffer, strategy);
2034                return buffer.toString();
2035            }
2036    
2037            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2038                strategy.appendStart(locator, this, buffer);
2039                appendFields(locator, buffer, strategy);
2040                strategy.appendEnd(locator, this, buffer);
2041                return buffer;
2042            }
2043    
2044            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2045                {
2046                    List<Object> theAny;
2047                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
2048                    strategy.appendField(locator, this, "any", buffer, theAny);
2049                }
2050                return buffer;
2051            }
2052    
2053            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2054                int currentHashCode = 1;
2055                {
2056                    List<Object> theAny;
2057                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
2058                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
2059                }
2060                return currentHashCode;
2061            }
2062    
2063            public int hashCode() {
2064                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2065                return this.hashCode(null, strategy);
2066            }
2067    
2068            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2069                if (!(object instanceof DtoNetworkConnector.ConnectionFilter)) {
2070                    return false;
2071                }
2072                if (this == object) {
2073                    return true;
2074                }
2075                final DtoNetworkConnector.ConnectionFilter that = ((DtoNetworkConnector.ConnectionFilter) object);
2076                {
2077                    List<Object> lhsAny;
2078                    lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
2079                    List<Object> rhsAny;
2080                    rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
2081                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
2082                        return false;
2083                    }
2084                }
2085                return true;
2086            }
2087    
2088            public boolean equals(Object object) {
2089                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2090                return equals(null, null, object, strategy);
2091            }
2092    
2093        }
2094    
2095    
2096        /**
2097         * <p>Java class for anonymous complex type.
2098         * 
2099         * <p>The following schema fragment specifies the expected content contained within this class.
2100         * 
2101         * <pre>
2102         * &lt;complexType>
2103         *   &lt;complexContent>
2104         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2105         *       &lt;sequence minOccurs="0">
2106         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
2107         *       &lt;/sequence>
2108         *     &lt;/restriction>
2109         *   &lt;/complexContent>
2110         * &lt;/complexType>
2111         * </pre>
2112         * 
2113         * 
2114         */
2115        @XmlAccessorType(XmlAccessType.FIELD)
2116        @XmlType(name = "", propOrder = {
2117            "any"
2118        })
2119        public static class DiscoveryAgent
2120            implements Equals, HashCode, ToString
2121        {
2122    
2123            @XmlAnyElement(lax = true)
2124            protected List<Object> any;
2125    
2126            /**
2127             * Gets the value of the any property.
2128             * 
2129             * <p>
2130             * This accessor method returns a reference to the live list,
2131             * not a snapshot. Therefore any modification you make to the
2132             * returned list will be present inside the JAXB object.
2133             * This is why there is not a <CODE>set</CODE> method for the any property.
2134             * 
2135             * <p>
2136             * For example, to add a new item, do as follows:
2137             * <pre>
2138             *    getAny().add(newItem);
2139             * </pre>
2140             * 
2141             * 
2142             * <p>
2143             * Objects of the following type(s) are allowed in the list
2144             * {@link Object }
2145             * 
2146             * 
2147             */
2148            public List<Object> getAny() {
2149                if (any == null) {
2150                    any = new ArrayList<Object>();
2151                }
2152                return this.any;
2153            }
2154    
2155            public String toString() {
2156                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2157                final StringBuilder buffer = new StringBuilder();
2158                append(null, buffer, strategy);
2159                return buffer.toString();
2160            }
2161    
2162            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2163                strategy.appendStart(locator, this, buffer);
2164                appendFields(locator, buffer, strategy);
2165                strategy.appendEnd(locator, this, buffer);
2166                return buffer;
2167            }
2168    
2169            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2170                {
2171                    List<Object> theAny;
2172                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
2173                    strategy.appendField(locator, this, "any", buffer, theAny);
2174                }
2175                return buffer;
2176            }
2177    
2178            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2179                int currentHashCode = 1;
2180                {
2181                    List<Object> theAny;
2182                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
2183                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
2184                }
2185                return currentHashCode;
2186            }
2187    
2188            public int hashCode() {
2189                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2190                return this.hashCode(null, strategy);
2191            }
2192    
2193            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2194                if (!(object instanceof DtoNetworkConnector.DiscoveryAgent)) {
2195                    return false;
2196                }
2197                if (this == object) {
2198                    return true;
2199                }
2200                final DtoNetworkConnector.DiscoveryAgent that = ((DtoNetworkConnector.DiscoveryAgent) object);
2201                {
2202                    List<Object> lhsAny;
2203                    lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
2204                    List<Object> rhsAny;
2205                    rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
2206                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
2207                        return false;
2208                    }
2209                }
2210                return true;
2211            }
2212    
2213            public boolean equals(Object object) {
2214                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2215                return equals(null, null, object, strategy);
2216            }
2217    
2218        }
2219    
2220    
2221        /**
2222         * <p>Java class for anonymous complex type.
2223         * 
2224         * <p>The following schema fragment specifies the expected content contained within this class.
2225         * 
2226         * <pre>
2227         * &lt;complexType>
2228         *   &lt;complexContent>
2229         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2230         *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
2231         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
2232         *       &lt;/sequence>
2233         *     &lt;/restriction>
2234         *   &lt;/complexContent>
2235         * &lt;/complexType>
2236         * </pre>
2237         * 
2238         * 
2239         */
2240        @XmlAccessorType(XmlAccessType.FIELD)
2241        @XmlType(name = "", propOrder = {
2242            "contents"
2243        })
2244        public static class DurableDestinations
2245            implements Equals, HashCode, ToString
2246        {
2247    
2248            @XmlAnyElement(lax = true)
2249            protected List<Object> contents;
2250    
2251            /**
2252             * Gets the value of the contents property.
2253             * 
2254             * <p>
2255             * This accessor method returns a reference to the live list,
2256             * not a snapshot. Therefore any modification you make to the
2257             * returned list will be present inside the JAXB object.
2258             * This is why there is not a <CODE>set</CODE> method for the contents property.
2259             * 
2260             * <p>
2261             * For example, to add a new item, do as follows:
2262             * <pre>
2263             *    getContents().add(newItem);
2264             * </pre>
2265             * 
2266             * 
2267             * <p>
2268             * Objects of the following type(s) are allowed in the list
2269             * {@link Object }
2270             * 
2271             * 
2272             */
2273            public List<Object> getContents() {
2274                if (contents == null) {
2275                    contents = new ArrayList<Object>();
2276                }
2277                return this.contents;
2278            }
2279    
2280            public String toString() {
2281                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2282                final StringBuilder buffer = new StringBuilder();
2283                append(null, buffer, strategy);
2284                return buffer.toString();
2285            }
2286    
2287            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2288                strategy.appendStart(locator, this, buffer);
2289                appendFields(locator, buffer, strategy);
2290                strategy.appendEnd(locator, this, buffer);
2291                return buffer;
2292            }
2293    
2294            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2295                {
2296                    List<Object> theContents;
2297                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2298                    strategy.appendField(locator, this, "contents", buffer, theContents);
2299                }
2300                return buffer;
2301            }
2302    
2303            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2304                int currentHashCode = 1;
2305                {
2306                    List<Object> theContents;
2307                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2308                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
2309                }
2310                return currentHashCode;
2311            }
2312    
2313            public int hashCode() {
2314                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2315                return this.hashCode(null, strategy);
2316            }
2317    
2318            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2319                if (!(object instanceof DtoNetworkConnector.DurableDestinations)) {
2320                    return false;
2321                }
2322                if (this == object) {
2323                    return true;
2324                }
2325                final DtoNetworkConnector.DurableDestinations that = ((DtoNetworkConnector.DurableDestinations) object);
2326                {
2327                    List<Object> lhsContents;
2328                    lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2329                    List<Object> rhsContents;
2330                    rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
2331                    if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
2332                        return false;
2333                    }
2334                }
2335                return true;
2336            }
2337    
2338            public boolean equals(Object object) {
2339                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2340                return equals(null, null, object, strategy);
2341            }
2342    
2343        }
2344    
2345    
2346        /**
2347         * <p>Java class for anonymous complex type.
2348         * 
2349         * <p>The following schema fragment specifies the expected content contained within this class.
2350         * 
2351         * <pre>
2352         * &lt;complexType>
2353         *   &lt;complexContent>
2354         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2355         *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
2356         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
2357         *       &lt;/sequence>
2358         *     &lt;/restriction>
2359         *   &lt;/complexContent>
2360         * &lt;/complexType>
2361         * </pre>
2362         * 
2363         * 
2364         */
2365        @XmlAccessorType(XmlAccessType.FIELD)
2366        @XmlType(name = "", propOrder = {
2367            "contents"
2368        })
2369        public static class DynamicallyIncludedDestinations
2370            implements Equals, HashCode, ToString
2371        {
2372    
2373            @XmlAnyElement(lax = true)
2374            protected List<Object> contents;
2375    
2376            /**
2377             * Gets the value of the contents property.
2378             * 
2379             * <p>
2380             * This accessor method returns a reference to the live list,
2381             * not a snapshot. Therefore any modification you make to the
2382             * returned list will be present inside the JAXB object.
2383             * This is why there is not a <CODE>set</CODE> method for the contents property.
2384             * 
2385             * <p>
2386             * For example, to add a new item, do as follows:
2387             * <pre>
2388             *    getContents().add(newItem);
2389             * </pre>
2390             * 
2391             * 
2392             * <p>
2393             * Objects of the following type(s) are allowed in the list
2394             * {@link Object }
2395             * 
2396             * 
2397             */
2398            public List<Object> getContents() {
2399                if (contents == null) {
2400                    contents = new ArrayList<Object>();
2401                }
2402                return this.contents;
2403            }
2404    
2405            public String toString() {
2406                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2407                final StringBuilder buffer = new StringBuilder();
2408                append(null, buffer, strategy);
2409                return buffer.toString();
2410            }
2411    
2412            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2413                strategy.appendStart(locator, this, buffer);
2414                appendFields(locator, buffer, strategy);
2415                strategy.appendEnd(locator, this, buffer);
2416                return buffer;
2417            }
2418    
2419            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2420                {
2421                    List<Object> theContents;
2422                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2423                    strategy.appendField(locator, this, "contents", buffer, theContents);
2424                }
2425                return buffer;
2426            }
2427    
2428            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2429                int currentHashCode = 1;
2430                {
2431                    List<Object> theContents;
2432                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2433                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
2434                }
2435                return currentHashCode;
2436            }
2437    
2438            public int hashCode() {
2439                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2440                return this.hashCode(null, strategy);
2441            }
2442    
2443            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2444                if (!(object instanceof DtoNetworkConnector.DynamicallyIncludedDestinations)) {
2445                    return false;
2446                }
2447                if (this == object) {
2448                    return true;
2449                }
2450                final DtoNetworkConnector.DynamicallyIncludedDestinations that = ((DtoNetworkConnector.DynamicallyIncludedDestinations) object);
2451                {
2452                    List<Object> lhsContents;
2453                    lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2454                    List<Object> rhsContents;
2455                    rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
2456                    if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
2457                        return false;
2458                    }
2459                }
2460                return true;
2461            }
2462    
2463            public boolean equals(Object object) {
2464                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2465                return equals(null, null, object, strategy);
2466            }
2467    
2468        }
2469    
2470    
2471        /**
2472         * <p>Java class for anonymous complex type.
2473         * 
2474         * <p>The following schema fragment specifies the expected content contained within this class.
2475         * 
2476         * <pre>
2477         * &lt;complexType>
2478         *   &lt;complexContent>
2479         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2480         *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
2481         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
2482         *       &lt;/sequence>
2483         *     &lt;/restriction>
2484         *   &lt;/complexContent>
2485         * &lt;/complexType>
2486         * </pre>
2487         * 
2488         * 
2489         */
2490        @XmlAccessorType(XmlAccessType.FIELD)
2491        @XmlType(name = "", propOrder = {
2492            "contents"
2493        })
2494        public static class ExcludedDestinations
2495            implements Equals, HashCode, ToString
2496        {
2497    
2498            @XmlAnyElement(lax = true)
2499            protected List<Object> contents;
2500    
2501            /**
2502             * Gets the value of the contents property.
2503             * 
2504             * <p>
2505             * This accessor method returns a reference to the live list,
2506             * not a snapshot. Therefore any modification you make to the
2507             * returned list will be present inside the JAXB object.
2508             * This is why there is not a <CODE>set</CODE> method for the contents property.
2509             * 
2510             * <p>
2511             * For example, to add a new item, do as follows:
2512             * <pre>
2513             *    getContents().add(newItem);
2514             * </pre>
2515             * 
2516             * 
2517             * <p>
2518             * Objects of the following type(s) are allowed in the list
2519             * {@link Object }
2520             * 
2521             * 
2522             */
2523            public List<Object> getContents() {
2524                if (contents == null) {
2525                    contents = new ArrayList<Object>();
2526                }
2527                return this.contents;
2528            }
2529    
2530            public String toString() {
2531                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2532                final StringBuilder buffer = new StringBuilder();
2533                append(null, buffer, strategy);
2534                return buffer.toString();
2535            }
2536    
2537            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2538                strategy.appendStart(locator, this, buffer);
2539                appendFields(locator, buffer, strategy);
2540                strategy.appendEnd(locator, this, buffer);
2541                return buffer;
2542            }
2543    
2544            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2545                {
2546                    List<Object> theContents;
2547                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2548                    strategy.appendField(locator, this, "contents", buffer, theContents);
2549                }
2550                return buffer;
2551            }
2552    
2553            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2554                int currentHashCode = 1;
2555                {
2556                    List<Object> theContents;
2557                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2558                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
2559                }
2560                return currentHashCode;
2561            }
2562    
2563            public int hashCode() {
2564                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2565                return this.hashCode(null, strategy);
2566            }
2567    
2568            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2569                if (!(object instanceof DtoNetworkConnector.ExcludedDestinations)) {
2570                    return false;
2571                }
2572                if (this == object) {
2573                    return true;
2574                }
2575                final DtoNetworkConnector.ExcludedDestinations that = ((DtoNetworkConnector.ExcludedDestinations) object);
2576                {
2577                    List<Object> lhsContents;
2578                    lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2579                    List<Object> rhsContents;
2580                    rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
2581                    if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
2582                        return false;
2583                    }
2584                }
2585                return true;
2586            }
2587    
2588            public boolean equals(Object object) {
2589                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2590                return equals(null, null, object, strategy);
2591            }
2592    
2593        }
2594    
2595    
2596        /**
2597         * <p>Java class for anonymous complex type.
2598         * 
2599         * <p>The following schema fragment specifies the expected content contained within this class.
2600         * 
2601         * <pre>
2602         * &lt;complexType>
2603         *   &lt;complexContent>
2604         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2605         *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
2606         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
2607         *       &lt;/sequence>
2608         *     &lt;/restriction>
2609         *   &lt;/complexContent>
2610         * &lt;/complexType>
2611         * </pre>
2612         * 
2613         * 
2614         */
2615        @XmlAccessorType(XmlAccessType.FIELD)
2616        @XmlType(name = "", propOrder = {
2617            "contents"
2618        })
2619        public static class StaticallyIncludedDestinations
2620            implements Equals, HashCode, ToString
2621        {
2622    
2623            @XmlAnyElement(lax = true)
2624            protected List<Object> contents;
2625    
2626            /**
2627             * Gets the value of the contents property.
2628             * 
2629             * <p>
2630             * This accessor method returns a reference to the live list,
2631             * not a snapshot. Therefore any modification you make to the
2632             * returned list will be present inside the JAXB object.
2633             * This is why there is not a <CODE>set</CODE> method for the contents property.
2634             * 
2635             * <p>
2636             * For example, to add a new item, do as follows:
2637             * <pre>
2638             *    getContents().add(newItem);
2639             * </pre>
2640             * 
2641             * 
2642             * <p>
2643             * Objects of the following type(s) are allowed in the list
2644             * {@link Object }
2645             * 
2646             * 
2647             */
2648            public List<Object> getContents() {
2649                if (contents == null) {
2650                    contents = new ArrayList<Object>();
2651                }
2652                return this.contents;
2653            }
2654    
2655            public String toString() {
2656                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2657                final StringBuilder buffer = new StringBuilder();
2658                append(null, buffer, strategy);
2659                return buffer.toString();
2660            }
2661    
2662            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2663                strategy.appendStart(locator, this, buffer);
2664                appendFields(locator, buffer, strategy);
2665                strategy.appendEnd(locator, this, buffer);
2666                return buffer;
2667            }
2668    
2669            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2670                {
2671                    List<Object> theContents;
2672                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2673                    strategy.appendField(locator, this, "contents", buffer, theContents);
2674                }
2675                return buffer;
2676            }
2677    
2678            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2679                int currentHashCode = 1;
2680                {
2681                    List<Object> theContents;
2682                    theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2683                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
2684                }
2685                return currentHashCode;
2686            }
2687    
2688            public int hashCode() {
2689                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2690                return this.hashCode(null, strategy);
2691            }
2692    
2693            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2694                if (!(object instanceof DtoNetworkConnector.StaticallyIncludedDestinations)) {
2695                    return false;
2696                }
2697                if (this == object) {
2698                    return true;
2699                }
2700                final DtoNetworkConnector.StaticallyIncludedDestinations that = ((DtoNetworkConnector.StaticallyIncludedDestinations) object);
2701                {
2702                    List<Object> lhsContents;
2703                    lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
2704                    List<Object> rhsContents;
2705                    rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
2706                    if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
2707                        return false;
2708                    }
2709                }
2710                return true;
2711            }
2712    
2713            public boolean equals(Object object) {
2714                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2715                return equals(null, null, object, strategy);
2716            }
2717    
2718        }
2719    
2720    }