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