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