001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2013.10.14 at 11:56:49 PM IST 
006    //
007    
008    
009    package org.apache.activemq.schema.core;
010    
011    import java.util.ArrayList;
012    import java.util.HashMap;
013    import java.util.List;
014    import java.util.Map;
015    import javax.xml.bind.JAXBElement;
016    import javax.xml.bind.annotation.XmlAccessType;
017    import javax.xml.bind.annotation.XmlAccessorType;
018    import javax.xml.bind.annotation.XmlAnyAttribute;
019    import javax.xml.bind.annotation.XmlAnyElement;
020    import javax.xml.bind.annotation.XmlAttribute;
021    import javax.xml.bind.annotation.XmlElementRef;
022    import javax.xml.bind.annotation.XmlID;
023    import javax.xml.bind.annotation.XmlRootElement;
024    import javax.xml.bind.annotation.XmlSchemaType;
025    import javax.xml.bind.annotation.XmlType;
026    import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
027    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
028    import javax.xml.namespace.QName;
029    import org.jvnet.jaxb2_commons.lang.Equals;
030    import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
031    import org.jvnet.jaxb2_commons.lang.HashCode;
032    import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
033    import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
034    import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
035    import org.jvnet.jaxb2_commons.lang.ToString;
036    import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
037    import org.jvnet.jaxb2_commons.locator.ObjectLocator;
038    import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
039    
040    
041    /**
042     * <p>Java class for anonymous complex type.
043     * 
044     * <p>The following schema fragment specifies the expected content contained within this class.
045     * 
046     * <pre>
047     * &lt;complexType>
048     *   &lt;complexContent>
049     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
050     *       &lt;choice maxOccurs="unbounded" minOccurs="0">
051     *         &lt;choice>
052     *           &lt;element name="deadLetterQueue" minOccurs="0">
053     *             &lt;complexType>
054     *               &lt;complexContent>
055     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
056     *                   &lt;choice minOccurs="0">
057     *                     &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
058     *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
059     *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
060     *                     &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
061     *                     &lt;any namespace='##other'/>
062     *                   &lt;/choice>
063     *                 &lt;/restriction>
064     *               &lt;/complexContent>
065     *             &lt;/complexType>
066     *           &lt;/element>
067     *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
068     *         &lt;/choice>
069     *       &lt;/choice>
070     *       &lt;attribute name="deadLetterQueue" type="{http://www.w3.org/2001/XMLSchema}string" />
071     *       &lt;attribute name="enableAudit" type="{http://www.w3.org/2001/XMLSchema}boolean" />
072     *       &lt;attribute name="processExpired" type="{http://www.w3.org/2001/XMLSchema}boolean" />
073     *       &lt;attribute name="processNonPersistent" type="{http://www.w3.org/2001/XMLSchema}boolean" />
074     *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
075     *       &lt;anyAttribute processContents='lax' namespace='##other'/>
076     *     &lt;/restriction>
077     *   &lt;/complexContent>
078     * &lt;/complexType>
079     * </pre>
080     * 
081     * 
082     */
083    @XmlAccessorType(XmlAccessType.FIELD)
084    @XmlType(name = "", propOrder = {
085        "deadLetterQueueOrAny"
086    })
087    @XmlRootElement(name = "sharedDeadLetterStrategy")
088    public class DtoSharedDeadLetterStrategy
089        implements Equals, HashCode, ToString
090    {
091    
092        @XmlElementRef(name = "deadLetterQueue", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class)
093        @XmlAnyElement(lax = true)
094        protected List<Object> deadLetterQueueOrAny;
095        @XmlAttribute(name = "deadLetterQueue")
096        protected String deadLetterQueue;
097        @XmlAttribute(name = "enableAudit")
098        protected Boolean enableAudit;
099        @XmlAttribute(name = "processExpired")
100        protected Boolean processExpired;
101        @XmlAttribute(name = "processNonPersistent")
102        protected Boolean processNonPersistent;
103        @XmlAttribute(name = "id")
104        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
105        @XmlID
106        @XmlSchemaType(name = "ID")
107        protected String id;
108        @XmlAnyAttribute
109        private Map<QName, String> otherAttributes = new HashMap<QName, String>();
110    
111        /**
112         * Gets the value of the deadLetterQueueOrAny property.
113         * 
114         * <p>
115         * This accessor method returns a reference to the live list,
116         * not a snapshot. Therefore any modification you make to the
117         * returned list will be present inside the JAXB object.
118         * This is why there is not a <CODE>set</CODE> method for the deadLetterQueueOrAny property.
119         * 
120         * <p>
121         * For example, to add a new item, do as follows:
122         * <pre>
123         *    getDeadLetterQueueOrAny().add(newItem);
124         * </pre>
125         * 
126         * 
127         * <p>
128         * Objects of the following type(s) are allowed in the list
129         * {@link JAXBElement }{@code <}{@link DtoSharedDeadLetterStrategy.DeadLetterQueue }{@code >}
130         * {@link Object }
131         * 
132         * 
133         */
134        public List<Object> getDeadLetterQueueOrAny() {
135            if (deadLetterQueueOrAny == null) {
136                deadLetterQueueOrAny = new ArrayList<Object>();
137            }
138            return this.deadLetterQueueOrAny;
139        }
140    
141        /**
142         * Gets the value of the deadLetterQueue property.
143         * 
144         * @return
145         *     possible object is
146         *     {@link String }
147         *     
148         */
149        public String getDeadLetterQueue() {
150            return deadLetterQueue;
151        }
152    
153        /**
154         * Sets the value of the deadLetterQueue property.
155         * 
156         * @param value
157         *     allowed object is
158         *     {@link String }
159         *     
160         */
161        public void setDeadLetterQueue(String value) {
162            this.deadLetterQueue = value;
163        }
164    
165        /**
166         * Gets the value of the enableAudit property.
167         * 
168         * @return
169         *     possible object is
170         *     {@link Boolean }
171         *     
172         */
173        public Boolean isEnableAudit() {
174            return enableAudit;
175        }
176    
177        /**
178         * Sets the value of the enableAudit property.
179         * 
180         * @param value
181         *     allowed object is
182         *     {@link Boolean }
183         *     
184         */
185        public void setEnableAudit(Boolean value) {
186            this.enableAudit = value;
187        }
188    
189        /**
190         * Gets the value of the processExpired property.
191         * 
192         * @return
193         *     possible object is
194         *     {@link Boolean }
195         *     
196         */
197        public Boolean isProcessExpired() {
198            return processExpired;
199        }
200    
201        /**
202         * Sets the value of the processExpired property.
203         * 
204         * @param value
205         *     allowed object is
206         *     {@link Boolean }
207         *     
208         */
209        public void setProcessExpired(Boolean value) {
210            this.processExpired = value;
211        }
212    
213        /**
214         * Gets the value of the processNonPersistent property.
215         * 
216         * @return
217         *     possible object is
218         *     {@link Boolean }
219         *     
220         */
221        public Boolean isProcessNonPersistent() {
222            return processNonPersistent;
223        }
224    
225        /**
226         * Sets the value of the processNonPersistent property.
227         * 
228         * @param value
229         *     allowed object is
230         *     {@link Boolean }
231         *     
232         */
233        public void setProcessNonPersistent(Boolean value) {
234            this.processNonPersistent = value;
235        }
236    
237        /**
238         * Gets the value of the id property.
239         * 
240         * @return
241         *     possible object is
242         *     {@link String }
243         *     
244         */
245        public String getId() {
246            return id;
247        }
248    
249        /**
250         * Sets the value of the id property.
251         * 
252         * @param value
253         *     allowed object is
254         *     {@link String }
255         *     
256         */
257        public void setId(String value) {
258            this.id = value;
259        }
260    
261        /**
262         * Gets a map that contains attributes that aren't bound to any typed property on this class.
263         * 
264         * <p>
265         * the map is keyed by the name of the attribute and 
266         * the value is the string value of the attribute.
267         * 
268         * the map returned by this method is live, and you can add new attribute
269         * by updating the map directly. Because of this design, there's no setter.
270         * 
271         * 
272         * @return
273         *     always non-null
274         */
275        public Map<QName, String> getOtherAttributes() {
276            return otherAttributes;
277        }
278    
279        public String toString() {
280            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
281            final StringBuilder buffer = new StringBuilder();
282            append(null, buffer, strategy);
283            return buffer.toString();
284        }
285    
286        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
287            strategy.appendStart(locator, this, buffer);
288            appendFields(locator, buffer, strategy);
289            strategy.appendEnd(locator, this, buffer);
290            return buffer;
291        }
292    
293        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
294            {
295                List<Object> theDeadLetterQueueOrAny;
296                theDeadLetterQueueOrAny = (((this.deadLetterQueueOrAny!= null)&&(!this.deadLetterQueueOrAny.isEmpty()))?this.getDeadLetterQueueOrAny():null);
297                strategy.appendField(locator, this, "deadLetterQueueOrAny", buffer, theDeadLetterQueueOrAny);
298            }
299            {
300                String theDeadLetterQueue;
301                theDeadLetterQueue = this.getDeadLetterQueue();
302                strategy.appendField(locator, this, "deadLetterQueue", buffer, theDeadLetterQueue);
303            }
304            {
305                Boolean theEnableAudit;
306                theEnableAudit = this.isEnableAudit();
307                strategy.appendField(locator, this, "enableAudit", buffer, theEnableAudit);
308            }
309            {
310                Boolean theProcessExpired;
311                theProcessExpired = this.isProcessExpired();
312                strategy.appendField(locator, this, "processExpired", buffer, theProcessExpired);
313            }
314            {
315                Boolean theProcessNonPersistent;
316                theProcessNonPersistent = this.isProcessNonPersistent();
317                strategy.appendField(locator, this, "processNonPersistent", buffer, theProcessNonPersistent);
318            }
319            {
320                String theId;
321                theId = this.getId();
322                strategy.appendField(locator, this, "id", buffer, theId);
323            }
324            return buffer;
325        }
326    
327        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
328            int currentHashCode = 1;
329            {
330                List<Object> theDeadLetterQueueOrAny;
331                theDeadLetterQueueOrAny = (((this.deadLetterQueueOrAny!= null)&&(!this.deadLetterQueueOrAny.isEmpty()))?this.getDeadLetterQueueOrAny():null);
332                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "deadLetterQueueOrAny", theDeadLetterQueueOrAny), currentHashCode, theDeadLetterQueueOrAny);
333            }
334            {
335                String theDeadLetterQueue;
336                theDeadLetterQueue = this.getDeadLetterQueue();
337                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "deadLetterQueue", theDeadLetterQueue), currentHashCode, theDeadLetterQueue);
338            }
339            {
340                Boolean theEnableAudit;
341                theEnableAudit = this.isEnableAudit();
342                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "enableAudit", theEnableAudit), currentHashCode, theEnableAudit);
343            }
344            {
345                Boolean theProcessExpired;
346                theProcessExpired = this.isProcessExpired();
347                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "processExpired", theProcessExpired), currentHashCode, theProcessExpired);
348            }
349            {
350                Boolean theProcessNonPersistent;
351                theProcessNonPersistent = this.isProcessNonPersistent();
352                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "processNonPersistent", theProcessNonPersistent), currentHashCode, theProcessNonPersistent);
353            }
354            {
355                String theId;
356                theId = this.getId();
357                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
358            }
359            return currentHashCode;
360        }
361    
362        public int hashCode() {
363            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
364            return this.hashCode(null, strategy);
365        }
366    
367        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
368            if (!(object instanceof DtoSharedDeadLetterStrategy)) {
369                return false;
370            }
371            if (this == object) {
372                return true;
373            }
374            final DtoSharedDeadLetterStrategy that = ((DtoSharedDeadLetterStrategy) object);
375            {
376                List<Object> lhsDeadLetterQueueOrAny;
377                lhsDeadLetterQueueOrAny = (((this.deadLetterQueueOrAny!= null)&&(!this.deadLetterQueueOrAny.isEmpty()))?this.getDeadLetterQueueOrAny():null);
378                List<Object> rhsDeadLetterQueueOrAny;
379                rhsDeadLetterQueueOrAny = (((that.deadLetterQueueOrAny!= null)&&(!that.deadLetterQueueOrAny.isEmpty()))?that.getDeadLetterQueueOrAny():null);
380                if (!strategy.equals(LocatorUtils.property(thisLocator, "deadLetterQueueOrAny", lhsDeadLetterQueueOrAny), LocatorUtils.property(thatLocator, "deadLetterQueueOrAny", rhsDeadLetterQueueOrAny), lhsDeadLetterQueueOrAny, rhsDeadLetterQueueOrAny)) {
381                    return false;
382                }
383            }
384            {
385                String lhsDeadLetterQueue;
386                lhsDeadLetterQueue = this.getDeadLetterQueue();
387                String rhsDeadLetterQueue;
388                rhsDeadLetterQueue = that.getDeadLetterQueue();
389                if (!strategy.equals(LocatorUtils.property(thisLocator, "deadLetterQueue", lhsDeadLetterQueue), LocatorUtils.property(thatLocator, "deadLetterQueue", rhsDeadLetterQueue), lhsDeadLetterQueue, rhsDeadLetterQueue)) {
390                    return false;
391                }
392            }
393            {
394                Boolean lhsEnableAudit;
395                lhsEnableAudit = this.isEnableAudit();
396                Boolean rhsEnableAudit;
397                rhsEnableAudit = that.isEnableAudit();
398                if (!strategy.equals(LocatorUtils.property(thisLocator, "enableAudit", lhsEnableAudit), LocatorUtils.property(thatLocator, "enableAudit", rhsEnableAudit), lhsEnableAudit, rhsEnableAudit)) {
399                    return false;
400                }
401            }
402            {
403                Boolean lhsProcessExpired;
404                lhsProcessExpired = this.isProcessExpired();
405                Boolean rhsProcessExpired;
406                rhsProcessExpired = that.isProcessExpired();
407                if (!strategy.equals(LocatorUtils.property(thisLocator, "processExpired", lhsProcessExpired), LocatorUtils.property(thatLocator, "processExpired", rhsProcessExpired), lhsProcessExpired, rhsProcessExpired)) {
408                    return false;
409                }
410            }
411            {
412                Boolean lhsProcessNonPersistent;
413                lhsProcessNonPersistent = this.isProcessNonPersistent();
414                Boolean rhsProcessNonPersistent;
415                rhsProcessNonPersistent = that.isProcessNonPersistent();
416                if (!strategy.equals(LocatorUtils.property(thisLocator, "processNonPersistent", lhsProcessNonPersistent), LocatorUtils.property(thatLocator, "processNonPersistent", rhsProcessNonPersistent), lhsProcessNonPersistent, rhsProcessNonPersistent)) {
417                    return false;
418                }
419            }
420            {
421                String lhsId;
422                lhsId = this.getId();
423                String rhsId;
424                rhsId = that.getId();
425                if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
426                    return false;
427                }
428            }
429            return true;
430        }
431    
432        public boolean equals(Object object) {
433            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
434            return equals(null, null, object, strategy);
435        }
436    
437    
438        /**
439         * <p>Java class for anonymous complex type.
440         * 
441         * <p>The following schema fragment specifies the expected content contained within this class.
442         * 
443         * <pre>
444         * &lt;complexType>
445         *   &lt;complexContent>
446         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
447         *       &lt;choice minOccurs="0">
448         *         &lt;element ref="{http://activemq.apache.org/schema/core}queue"/>
449         *         &lt;element ref="{http://activemq.apache.org/schema/core}tempQueue"/>
450         *         &lt;element ref="{http://activemq.apache.org/schema/core}tempTopic"/>
451         *         &lt;element ref="{http://activemq.apache.org/schema/core}topic"/>
452         *         &lt;any namespace='##other'/>
453         *       &lt;/choice>
454         *     &lt;/restriction>
455         *   &lt;/complexContent>
456         * &lt;/complexType>
457         * </pre>
458         * 
459         * 
460         */
461        @XmlAccessorType(XmlAccessType.FIELD)
462        @XmlType(name = "", propOrder = {
463            "queue",
464            "tempQueue",
465            "tempTopic",
466            "topic",
467            "any"
468        })
469        public static class DeadLetterQueue
470            implements Equals, HashCode, ToString
471        {
472    
473            protected DtoQueue queue;
474            protected DtoTempQueue tempQueue;
475            protected DtoTempTopic tempTopic;
476            protected DtoTopic topic;
477            @XmlAnyElement(lax = true)
478            protected Object any;
479    
480            /**
481             * Gets the value of the queue property.
482             * 
483             * @return
484             *     possible object is
485             *     {@link DtoQueue }
486             *     
487             */
488            public DtoQueue getQueue() {
489                return queue;
490            }
491    
492            /**
493             * Sets the value of the queue property.
494             * 
495             * @param value
496             *     allowed object is
497             *     {@link DtoQueue }
498             *     
499             */
500            public void setQueue(DtoQueue value) {
501                this.queue = value;
502            }
503    
504            /**
505             * Gets the value of the tempQueue property.
506             * 
507             * @return
508             *     possible object is
509             *     {@link DtoTempQueue }
510             *     
511             */
512            public DtoTempQueue getTempQueue() {
513                return tempQueue;
514            }
515    
516            /**
517             * Sets the value of the tempQueue property.
518             * 
519             * @param value
520             *     allowed object is
521             *     {@link DtoTempQueue }
522             *     
523             */
524            public void setTempQueue(DtoTempQueue value) {
525                this.tempQueue = value;
526            }
527    
528            /**
529             * Gets the value of the tempTopic property.
530             * 
531             * @return
532             *     possible object is
533             *     {@link DtoTempTopic }
534             *     
535             */
536            public DtoTempTopic getTempTopic() {
537                return tempTopic;
538            }
539    
540            /**
541             * Sets the value of the tempTopic property.
542             * 
543             * @param value
544             *     allowed object is
545             *     {@link DtoTempTopic }
546             *     
547             */
548            public void setTempTopic(DtoTempTopic value) {
549                this.tempTopic = value;
550            }
551    
552            /**
553             * Gets the value of the topic property.
554             * 
555             * @return
556             *     possible object is
557             *     {@link DtoTopic }
558             *     
559             */
560            public DtoTopic getTopic() {
561                return topic;
562            }
563    
564            /**
565             * Sets the value of the topic property.
566             * 
567             * @param value
568             *     allowed object is
569             *     {@link DtoTopic }
570             *     
571             */
572            public void setTopic(DtoTopic value) {
573                this.topic = value;
574            }
575    
576            /**
577             * Gets the value of the any property.
578             * 
579             * @return
580             *     possible object is
581             *     {@link Object }
582             *     
583             */
584            public Object getAny() {
585                return any;
586            }
587    
588            /**
589             * Sets the value of the any property.
590             * 
591             * @param value
592             *     allowed object is
593             *     {@link Object }
594             *     
595             */
596            public void setAny(Object value) {
597                this.any = value;
598            }
599    
600            public String toString() {
601                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
602                final StringBuilder buffer = new StringBuilder();
603                append(null, buffer, strategy);
604                return buffer.toString();
605            }
606    
607            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
608                strategy.appendStart(locator, this, buffer);
609                appendFields(locator, buffer, strategy);
610                strategy.appendEnd(locator, this, buffer);
611                return buffer;
612            }
613    
614            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
615                {
616                    DtoQueue theQueue;
617                    theQueue = this.getQueue();
618                    strategy.appendField(locator, this, "queue", buffer, theQueue);
619                }
620                {
621                    DtoTempQueue theTempQueue;
622                    theTempQueue = this.getTempQueue();
623                    strategy.appendField(locator, this, "tempQueue", buffer, theTempQueue);
624                }
625                {
626                    DtoTempTopic theTempTopic;
627                    theTempTopic = this.getTempTopic();
628                    strategy.appendField(locator, this, "tempTopic", buffer, theTempTopic);
629                }
630                {
631                    DtoTopic theTopic;
632                    theTopic = this.getTopic();
633                    strategy.appendField(locator, this, "topic", buffer, theTopic);
634                }
635                {
636                    Object theAny;
637                    theAny = this.getAny();
638                    strategy.appendField(locator, this, "any", buffer, theAny);
639                }
640                return buffer;
641            }
642    
643            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
644                int currentHashCode = 1;
645                {
646                    DtoQueue theQueue;
647                    theQueue = this.getQueue();
648                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queue", theQueue), currentHashCode, theQueue);
649                }
650                {
651                    DtoTempQueue theTempQueue;
652                    theTempQueue = this.getTempQueue();
653                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempQueue", theTempQueue), currentHashCode, theTempQueue);
654                }
655                {
656                    DtoTempTopic theTempTopic;
657                    theTempTopic = this.getTempTopic();
658                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempTopic", theTempTopic), currentHashCode, theTempTopic);
659                }
660                {
661                    DtoTopic theTopic;
662                    theTopic = this.getTopic();
663                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "topic", theTopic), currentHashCode, theTopic);
664                }
665                {
666                    Object theAny;
667                    theAny = this.getAny();
668                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
669                }
670                return currentHashCode;
671            }
672    
673            public int hashCode() {
674                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
675                return this.hashCode(null, strategy);
676            }
677    
678            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
679                if (!(object instanceof DtoSharedDeadLetterStrategy.DeadLetterQueue)) {
680                    return false;
681                }
682                if (this == object) {
683                    return true;
684                }
685                final DtoSharedDeadLetterStrategy.DeadLetterQueue that = ((DtoSharedDeadLetterStrategy.DeadLetterQueue) object);
686                {
687                    DtoQueue lhsQueue;
688                    lhsQueue = this.getQueue();
689                    DtoQueue rhsQueue;
690                    rhsQueue = that.getQueue();
691                    if (!strategy.equals(LocatorUtils.property(thisLocator, "queue", lhsQueue), LocatorUtils.property(thatLocator, "queue", rhsQueue), lhsQueue, rhsQueue)) {
692                        return false;
693                    }
694                }
695                {
696                    DtoTempQueue lhsTempQueue;
697                    lhsTempQueue = this.getTempQueue();
698                    DtoTempQueue rhsTempQueue;
699                    rhsTempQueue = that.getTempQueue();
700                    if (!strategy.equals(LocatorUtils.property(thisLocator, "tempQueue", lhsTempQueue), LocatorUtils.property(thatLocator, "tempQueue", rhsTempQueue), lhsTempQueue, rhsTempQueue)) {
701                        return false;
702                    }
703                }
704                {
705                    DtoTempTopic lhsTempTopic;
706                    lhsTempTopic = this.getTempTopic();
707                    DtoTempTopic rhsTempTopic;
708                    rhsTempTopic = that.getTempTopic();
709                    if (!strategy.equals(LocatorUtils.property(thisLocator, "tempTopic", lhsTempTopic), LocatorUtils.property(thatLocator, "tempTopic", rhsTempTopic), lhsTempTopic, rhsTempTopic)) {
710                        return false;
711                    }
712                }
713                {
714                    DtoTopic lhsTopic;
715                    lhsTopic = this.getTopic();
716                    DtoTopic rhsTopic;
717                    rhsTopic = that.getTopic();
718                    if (!strategy.equals(LocatorUtils.property(thisLocator, "topic", lhsTopic), LocatorUtils.property(thatLocator, "topic", rhsTopic), lhsTopic, rhsTopic)) {
719                        return false;
720                    }
721                }
722                {
723                    Object lhsAny;
724                    lhsAny = this.getAny();
725                    Object rhsAny;
726                    rhsAny = that.getAny();
727                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
728                        return false;
729                    }
730                }
731                return true;
732            }
733    
734            public boolean equals(Object object) {
735                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
736                return equals(null, null, object, strategy);
737            }
738    
739        }
740    
741    }