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