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="authorizationEntries" maxOccurs="unbounded" minOccurs="0">
054 *             &lt;complexType>
055 *               &lt;complexContent>
056 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
057 *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
058 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
059 *                   &lt;/sequence>
060 *                 &lt;/restriction>
061 *               &lt;/complexContent>
062 *             &lt;/complexType>
063 *           &lt;/element>
064 *           &lt;element name="defaultEntry" minOccurs="0">
065 *             &lt;complexType>
066 *               &lt;complexContent>
067 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
068 *                   &lt;choice minOccurs="0">
069 *                     &lt;element ref="{http://activemq.apache.org/schema/core}authorizationEntry"/>
070 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempDestinationAuthorizationEntry"/>
071 *                     &lt;any namespace='##other'/>
072 *                   &lt;/choice>
073 *                 &lt;/restriction>
074 *               &lt;/complexContent>
075 *             &lt;/complexType>
076 *           &lt;/element>
077 *           &lt;element name="entries" maxOccurs="unbounded" minOccurs="0">
078 *             &lt;complexType>
079 *               &lt;complexContent>
080 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
081 *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
082 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
083 *                   &lt;/sequence>
084 *                 &lt;/restriction>
085 *               &lt;/complexContent>
086 *             &lt;/complexType>
087 *           &lt;/element>
088 *           &lt;element name="tempDestinationAuthorizationEntry" minOccurs="0">
089 *             &lt;complexType>
090 *               &lt;complexContent>
091 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
092 *                   &lt;choice minOccurs="0">
093 *                     &lt;element ref="{http://activemq.apache.org/schema/core}tempDestinationAuthorizationEntry"/>
094 *                     &lt;any namespace='##other'/>
095 *                   &lt;/choice>
096 *                 &lt;/restriction>
097 *               &lt;/complexContent>
098 *             &lt;/complexType>
099 *           &lt;/element>
100 *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
101 *         &lt;/choice>
102 *       &lt;/choice>
103 *       &lt;attribute name="defaultEntry" type="{http://www.w3.org/2001/XMLSchema}string" />
104 *       &lt;attribute name="groupClass" type="{http://www.w3.org/2001/XMLSchema}string" />
105 *       &lt;attribute name="tempDestinationAuthorizationEntry" type="{http://www.w3.org/2001/XMLSchema}string" />
106 *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
107 *       &lt;anyAttribute processContents='lax' namespace='##other'/>
108 *     &lt;/restriction>
109 *   &lt;/complexContent>
110 * &lt;/complexType>
111 * </pre>
112 * 
113 * 
114 */
115@XmlAccessorType(XmlAccessType.FIELD)
116@XmlType(name = "", propOrder = {
117    "contents"
118})
119@XmlRootElement(name = "authorizationMap")
120public class DtoAuthorizationMap
121    implements Equals, HashCode, ToString
122{
123
124    @XmlElementRefs({
125        @XmlElementRef(name = "defaultEntry", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
126        @XmlElementRef(name = "entries", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
127        @XmlElementRef(name = "tempDestinationAuthorizationEntry", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
128        @XmlElementRef(name = "authorizationEntries", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false)
129    })
130    @XmlAnyElement(lax = true)
131    protected List<Object> contents;
132    @XmlAttribute(name = "defaultEntry")
133    protected String defaultEntry;
134    @XmlAttribute(name = "groupClass")
135    protected String groupClass;
136    @XmlAttribute(name = "tempDestinationAuthorizationEntry")
137    protected String tempDestinationAuthorizationEntry;
138    @XmlAttribute(name = "id")
139    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
140    @XmlID
141    @XmlSchemaType(name = "ID")
142    protected String id;
143    @XmlAnyAttribute
144    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
145
146    /**
147     * Gets the value of the contents property.
148     * 
149     * <p>
150     * This accessor method returns a reference to the live list,
151     * not a snapshot. Therefore any modification you make to the
152     * returned list will be present inside the JAXB object.
153     * This is why there is not a <CODE>set</CODE> method for the contents property.
154     * 
155     * <p>
156     * For example, to add a new item, do as follows:
157     * <pre>
158     *    getContents().add(newItem);
159     * </pre>
160     * 
161     * 
162     * <p>
163     * Objects of the following type(s) are allowed in the list
164     * {@link JAXBElement }{@code <}{@link DtoAuthorizationMap.DefaultEntry }{@code >}
165     * {@link Object }
166     * {@link JAXBElement }{@code <}{@link DtoAuthorizationMap.Entries }{@code >}
167     * {@link JAXBElement }{@code <}{@link DtoAuthorizationMap.TempDestinationAuthorizationEntry }{@code >}
168     * {@link JAXBElement }{@code <}{@link DtoAuthorizationMap.AuthorizationEntries }{@code >}
169     * 
170     * 
171     */
172    public List<Object> getContents() {
173        if (contents == null) {
174            contents = new ArrayList<Object>();
175        }
176        return this.contents;
177    }
178
179    /**
180     * Gets the value of the defaultEntry property.
181     * 
182     * @return
183     *     possible object is
184     *     {@link String }
185     *     
186     */
187    public String getDefaultEntry() {
188        return defaultEntry;
189    }
190
191    /**
192     * Sets the value of the defaultEntry property.
193     * 
194     * @param value
195     *     allowed object is
196     *     {@link String }
197     *     
198     */
199    public void setDefaultEntry(String value) {
200        this.defaultEntry = value;
201    }
202
203    /**
204     * Gets the value of the groupClass property.
205     * 
206     * @return
207     *     possible object is
208     *     {@link String }
209     *     
210     */
211    public String getGroupClass() {
212        return groupClass;
213    }
214
215    /**
216     * Sets the value of the groupClass property.
217     * 
218     * @param value
219     *     allowed object is
220     *     {@link String }
221     *     
222     */
223    public void setGroupClass(String value) {
224        this.groupClass = value;
225    }
226
227    /**
228     * Gets the value of the tempDestinationAuthorizationEntry property.
229     * 
230     * @return
231     *     possible object is
232     *     {@link String }
233     *     
234     */
235    public String getTempDestinationAuthorizationEntry() {
236        return tempDestinationAuthorizationEntry;
237    }
238
239    /**
240     * Sets the value of the tempDestinationAuthorizationEntry property.
241     * 
242     * @param value
243     *     allowed object is
244     *     {@link String }
245     *     
246     */
247    public void setTempDestinationAuthorizationEntry(String value) {
248        this.tempDestinationAuthorizationEntry = value;
249    }
250
251    /**
252     * Gets the value of the id property.
253     * 
254     * @return
255     *     possible object is
256     *     {@link String }
257     *     
258     */
259    public String getId() {
260        return id;
261    }
262
263    /**
264     * Sets the value of the id property.
265     * 
266     * @param value
267     *     allowed object is
268     *     {@link String }
269     *     
270     */
271    public void setId(String value) {
272        this.id = value;
273    }
274
275    /**
276     * Gets a map that contains attributes that aren't bound to any typed property on this class.
277     * 
278     * <p>
279     * the map is keyed by the name of the attribute and 
280     * the value is the string value of the attribute.
281     * 
282     * the map returned by this method is live, and you can add new attribute
283     * by updating the map directly. Because of this design, there's no setter.
284     * 
285     * 
286     * @return
287     *     always non-null
288     */
289    public Map<QName, String> getOtherAttributes() {
290        return otherAttributes;
291    }
292
293    public String toString() {
294        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
295        final StringBuilder buffer = new StringBuilder();
296        append(null, buffer, strategy);
297        return buffer.toString();
298    }
299
300    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
301        strategy.appendStart(locator, this, buffer);
302        appendFields(locator, buffer, strategy);
303        strategy.appendEnd(locator, this, buffer);
304        return buffer;
305    }
306
307    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
308        {
309            List<Object> theContents;
310            theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
311            strategy.appendField(locator, this, "contents", buffer, theContents);
312        }
313        {
314            String theDefaultEntry;
315            theDefaultEntry = this.getDefaultEntry();
316            strategy.appendField(locator, this, "defaultEntry", buffer, theDefaultEntry);
317        }
318        {
319            String theGroupClass;
320            theGroupClass = this.getGroupClass();
321            strategy.appendField(locator, this, "groupClass", buffer, theGroupClass);
322        }
323        {
324            String theTempDestinationAuthorizationEntry;
325            theTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
326            strategy.appendField(locator, this, "tempDestinationAuthorizationEntry", buffer, theTempDestinationAuthorizationEntry);
327        }
328        {
329            String theId;
330            theId = this.getId();
331            strategy.appendField(locator, this, "id", buffer, theId);
332        }
333        return buffer;
334    }
335
336    public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
337        int currentHashCode = 1;
338        {
339            List<Object> theContents;
340            theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
341            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
342        }
343        {
344            String theDefaultEntry;
345            theDefaultEntry = this.getDefaultEntry();
346            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "defaultEntry", theDefaultEntry), currentHashCode, theDefaultEntry);
347        }
348        {
349            String theGroupClass;
350            theGroupClass = this.getGroupClass();
351            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "groupClass", theGroupClass), currentHashCode, theGroupClass);
352        }
353        {
354            String theTempDestinationAuthorizationEntry;
355            theTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
356            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempDestinationAuthorizationEntry", theTempDestinationAuthorizationEntry), currentHashCode, theTempDestinationAuthorizationEntry);
357        }
358        {
359            String theId;
360            theId = this.getId();
361            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
362        }
363        return currentHashCode;
364    }
365
366    public int hashCode() {
367        final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
368        return this.hashCode(null, strategy);
369    }
370
371    public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
372        if (!(object instanceof DtoAuthorizationMap)) {
373            return false;
374        }
375        if (this == object) {
376            return true;
377        }
378        final DtoAuthorizationMap that = ((DtoAuthorizationMap) object);
379        {
380            List<Object> lhsContents;
381            lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
382            List<Object> rhsContents;
383            rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
384            if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
385                return false;
386            }
387        }
388        {
389            String lhsDefaultEntry;
390            lhsDefaultEntry = this.getDefaultEntry();
391            String rhsDefaultEntry;
392            rhsDefaultEntry = that.getDefaultEntry();
393            if (!strategy.equals(LocatorUtils.property(thisLocator, "defaultEntry", lhsDefaultEntry), LocatorUtils.property(thatLocator, "defaultEntry", rhsDefaultEntry), lhsDefaultEntry, rhsDefaultEntry)) {
394                return false;
395            }
396        }
397        {
398            String lhsGroupClass;
399            lhsGroupClass = this.getGroupClass();
400            String rhsGroupClass;
401            rhsGroupClass = that.getGroupClass();
402            if (!strategy.equals(LocatorUtils.property(thisLocator, "groupClass", lhsGroupClass), LocatorUtils.property(thatLocator, "groupClass", rhsGroupClass), lhsGroupClass, rhsGroupClass)) {
403                return false;
404            }
405        }
406        {
407            String lhsTempDestinationAuthorizationEntry;
408            lhsTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
409            String rhsTempDestinationAuthorizationEntry;
410            rhsTempDestinationAuthorizationEntry = that.getTempDestinationAuthorizationEntry();
411            if (!strategy.equals(LocatorUtils.property(thisLocator, "tempDestinationAuthorizationEntry", lhsTempDestinationAuthorizationEntry), LocatorUtils.property(thatLocator, "tempDestinationAuthorizationEntry", rhsTempDestinationAuthorizationEntry), lhsTempDestinationAuthorizationEntry, rhsTempDestinationAuthorizationEntry)) {
412                return false;
413            }
414        }
415        {
416            String lhsId;
417            lhsId = this.getId();
418            String rhsId;
419            rhsId = that.getId();
420            if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
421                return false;
422            }
423        }
424        return true;
425    }
426
427    public boolean equals(Object object) {
428        final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
429        return equals(null, null, object, strategy);
430    }
431
432
433    /**
434     * <p>Java class for anonymous complex type.
435     * 
436     * <p>The following schema fragment specifies the expected content contained within this class.
437     * 
438     * <pre>
439     * &lt;complexType>
440     *   &lt;complexContent>
441     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
442     *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
443     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
444     *       &lt;/sequence>
445     *     &lt;/restriction>
446     *   &lt;/complexContent>
447     * &lt;/complexType>
448     * </pre>
449     * 
450     * 
451     */
452    @XmlAccessorType(XmlAccessType.FIELD)
453    @XmlType(name = "", propOrder = {
454        "contents"
455    })
456    public static class AuthorizationEntries
457        implements Equals, HashCode, ToString
458    {
459
460        @XmlAnyElement(lax = true)
461        protected List<Object> contents;
462
463        /**
464         * Gets the value of the contents property.
465         * 
466         * <p>
467         * This accessor method returns a reference to the live list,
468         * not a snapshot. Therefore any modification you make to the
469         * returned list will be present inside the JAXB object.
470         * This is why there is not a <CODE>set</CODE> method for the contents property.
471         * 
472         * <p>
473         * For example, to add a new item, do as follows:
474         * <pre>
475         *    getContents().add(newItem);
476         * </pre>
477         * 
478         * 
479         * <p>
480         * Objects of the following type(s) are allowed in the list
481         * {@link Object }
482         * 
483         * 
484         */
485        public List<Object> getContents() {
486            if (contents == null) {
487                contents = new ArrayList<Object>();
488            }
489            return this.contents;
490        }
491
492        public String toString() {
493            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
494            final StringBuilder buffer = new StringBuilder();
495            append(null, buffer, strategy);
496            return buffer.toString();
497        }
498
499        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
500            strategy.appendStart(locator, this, buffer);
501            appendFields(locator, buffer, strategy);
502            strategy.appendEnd(locator, this, buffer);
503            return buffer;
504        }
505
506        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
507            {
508                List<Object> theContents;
509                theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
510                strategy.appendField(locator, this, "contents", buffer, theContents);
511            }
512            return buffer;
513        }
514
515        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
516            int currentHashCode = 1;
517            {
518                List<Object> theContents;
519                theContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
520                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "contents", theContents), currentHashCode, theContents);
521            }
522            return currentHashCode;
523        }
524
525        public int hashCode() {
526            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
527            return this.hashCode(null, strategy);
528        }
529
530        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
531            if (!(object instanceof DtoAuthorizationMap.AuthorizationEntries)) {
532                return false;
533            }
534            if (this == object) {
535                return true;
536            }
537            final DtoAuthorizationMap.AuthorizationEntries that = ((DtoAuthorizationMap.AuthorizationEntries) object);
538            {
539                List<Object> lhsContents;
540                lhsContents = (((this.contents!= null)&&(!this.contents.isEmpty()))?this.getContents():null);
541                List<Object> rhsContents;
542                rhsContents = (((that.contents!= null)&&(!that.contents.isEmpty()))?that.getContents():null);
543                if (!strategy.equals(LocatorUtils.property(thisLocator, "contents", lhsContents), LocatorUtils.property(thatLocator, "contents", rhsContents), lhsContents, rhsContents)) {
544                    return false;
545                }
546            }
547            return true;
548        }
549
550        public boolean equals(Object object) {
551            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
552            return equals(null, null, object, strategy);
553        }
554
555    }
556
557
558    /**
559     * <p>Java class for anonymous complex type.
560     * 
561     * <p>The following schema fragment specifies the expected content contained within this class.
562     * 
563     * <pre>
564     * &lt;complexType>
565     *   &lt;complexContent>
566     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
567     *       &lt;choice minOccurs="0">
568     *         &lt;element ref="{http://activemq.apache.org/schema/core}authorizationEntry"/>
569     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempDestinationAuthorizationEntry"/>
570     *         &lt;any namespace='##other'/>
571     *       &lt;/choice>
572     *     &lt;/restriction>
573     *   &lt;/complexContent>
574     * &lt;/complexType>
575     * </pre>
576     * 
577     * 
578     */
579    @XmlAccessorType(XmlAccessType.FIELD)
580    @XmlType(name = "", propOrder = {
581        "authorizationEntry",
582        "tempDestinationAuthorizationEntry",
583        "any"
584    })
585    public static class DefaultEntry
586        implements Equals, HashCode, ToString
587    {
588
589        protected DtoAuthorizationEntry authorizationEntry;
590        protected DtoTempDestinationAuthorizationEntry tempDestinationAuthorizationEntry;
591        @XmlAnyElement(lax = true)
592        protected Object any;
593
594        /**
595         * Gets the value of the authorizationEntry property.
596         * 
597         * @return
598         *     possible object is
599         *     {@link DtoAuthorizationEntry }
600         *     
601         */
602        public DtoAuthorizationEntry getAuthorizationEntry() {
603            return authorizationEntry;
604        }
605
606        /**
607         * Sets the value of the authorizationEntry property.
608         * 
609         * @param value
610         *     allowed object is
611         *     {@link DtoAuthorizationEntry }
612         *     
613         */
614        public void setAuthorizationEntry(DtoAuthorizationEntry value) {
615            this.authorizationEntry = value;
616        }
617
618        /**
619         * Gets the value of the tempDestinationAuthorizationEntry property.
620         * 
621         * @return
622         *     possible object is
623         *     {@link DtoTempDestinationAuthorizationEntry }
624         *     
625         */
626        public DtoTempDestinationAuthorizationEntry getTempDestinationAuthorizationEntry() {
627            return tempDestinationAuthorizationEntry;
628        }
629
630        /**
631         * Sets the value of the tempDestinationAuthorizationEntry property.
632         * 
633         * @param value
634         *     allowed object is
635         *     {@link DtoTempDestinationAuthorizationEntry }
636         *     
637         */
638        public void setTempDestinationAuthorizationEntry(DtoTempDestinationAuthorizationEntry value) {
639            this.tempDestinationAuthorizationEntry = value;
640        }
641
642        /**
643         * Gets the value of the any property.
644         * 
645         * @return
646         *     possible object is
647         *     {@link Object }
648         *     
649         */
650        public Object getAny() {
651            return any;
652        }
653
654        /**
655         * Sets the value of the any property.
656         * 
657         * @param value
658         *     allowed object is
659         *     {@link Object }
660         *     
661         */
662        public void setAny(Object value) {
663            this.any = value;
664        }
665
666        public String toString() {
667            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
668            final StringBuilder buffer = new StringBuilder();
669            append(null, buffer, strategy);
670            return buffer.toString();
671        }
672
673        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
674            strategy.appendStart(locator, this, buffer);
675            appendFields(locator, buffer, strategy);
676            strategy.appendEnd(locator, this, buffer);
677            return buffer;
678        }
679
680        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
681            {
682                DtoAuthorizationEntry theAuthorizationEntry;
683                theAuthorizationEntry = this.getAuthorizationEntry();
684                strategy.appendField(locator, this, "authorizationEntry", buffer, theAuthorizationEntry);
685            }
686            {
687                DtoTempDestinationAuthorizationEntry theTempDestinationAuthorizationEntry;
688                theTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
689                strategy.appendField(locator, this, "tempDestinationAuthorizationEntry", buffer, theTempDestinationAuthorizationEntry);
690            }
691            {
692                Object theAny;
693                theAny = this.getAny();
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                DtoAuthorizationEntry theAuthorizationEntry;
703                theAuthorizationEntry = this.getAuthorizationEntry();
704                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "authorizationEntry", theAuthorizationEntry), currentHashCode, theAuthorizationEntry);
705            }
706            {
707                DtoTempDestinationAuthorizationEntry theTempDestinationAuthorizationEntry;
708                theTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
709                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempDestinationAuthorizationEntry", theTempDestinationAuthorizationEntry), currentHashCode, theTempDestinationAuthorizationEntry);
710            }
711            {
712                Object theAny;
713                theAny = this.getAny();
714                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
715            }
716            return currentHashCode;
717        }
718
719        public int hashCode() {
720            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
721            return this.hashCode(null, strategy);
722        }
723
724        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
725            if (!(object instanceof DtoAuthorizationMap.DefaultEntry)) {
726                return false;
727            }
728            if (this == object) {
729                return true;
730            }
731            final DtoAuthorizationMap.DefaultEntry that = ((DtoAuthorizationMap.DefaultEntry) object);
732            {
733                DtoAuthorizationEntry lhsAuthorizationEntry;
734                lhsAuthorizationEntry = this.getAuthorizationEntry();
735                DtoAuthorizationEntry rhsAuthorizationEntry;
736                rhsAuthorizationEntry = that.getAuthorizationEntry();
737                if (!strategy.equals(LocatorUtils.property(thisLocator, "authorizationEntry", lhsAuthorizationEntry), LocatorUtils.property(thatLocator, "authorizationEntry", rhsAuthorizationEntry), lhsAuthorizationEntry, rhsAuthorizationEntry)) {
738                    return false;
739                }
740            }
741            {
742                DtoTempDestinationAuthorizationEntry lhsTempDestinationAuthorizationEntry;
743                lhsTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
744                DtoTempDestinationAuthorizationEntry rhsTempDestinationAuthorizationEntry;
745                rhsTempDestinationAuthorizationEntry = that.getTempDestinationAuthorizationEntry();
746                if (!strategy.equals(LocatorUtils.property(thisLocator, "tempDestinationAuthorizationEntry", lhsTempDestinationAuthorizationEntry), LocatorUtils.property(thatLocator, "tempDestinationAuthorizationEntry", rhsTempDestinationAuthorizationEntry), lhsTempDestinationAuthorizationEntry, rhsTempDestinationAuthorizationEntry)) {
747                    return false;
748                }
749            }
750            {
751                Object lhsAny;
752                lhsAny = this.getAny();
753                Object rhsAny;
754                rhsAny = that.getAny();
755                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
756                    return false;
757                }
758            }
759            return true;
760        }
761
762        public boolean equals(Object object) {
763            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
764            return equals(null, null, object, strategy);
765        }
766
767    }
768
769
770    /**
771     * <p>Java class for anonymous complex type.
772     * 
773     * <p>The following schema fragment specifies the expected content contained within this class.
774     * 
775     * <pre>
776     * &lt;complexType>
777     *   &lt;complexContent>
778     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
779     *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
780     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
781     *       &lt;/sequence>
782     *     &lt;/restriction>
783     *   &lt;/complexContent>
784     * &lt;/complexType>
785     * </pre>
786     * 
787     * 
788     */
789    @XmlAccessorType(XmlAccessType.FIELD)
790    @XmlType(name = "", propOrder = {
791        "any"
792    })
793    public static class Entries
794        implements Equals, HashCode, ToString
795    {
796
797        @XmlAnyElement(lax = true)
798        protected List<Object> any;
799
800        /**
801         * Gets the value of the any property.
802         * 
803         * <p>
804         * This accessor method returns a reference to the live list,
805         * not a snapshot. Therefore any modification you make to the
806         * returned list will be present inside the JAXB object.
807         * This is why there is not a <CODE>set</CODE> method for the any property.
808         * 
809         * <p>
810         * For example, to add a new item, do as follows:
811         * <pre>
812         *    getAny().add(newItem);
813         * </pre>
814         * 
815         * 
816         * <p>
817         * Objects of the following type(s) are allowed in the list
818         * {@link Object }
819         * 
820         * 
821         */
822        public List<Object> getAny() {
823            if (any == null) {
824                any = new ArrayList<Object>();
825            }
826            return this.any;
827        }
828
829        public String toString() {
830            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
831            final StringBuilder buffer = new StringBuilder();
832            append(null, buffer, strategy);
833            return buffer.toString();
834        }
835
836        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
837            strategy.appendStart(locator, this, buffer);
838            appendFields(locator, buffer, strategy);
839            strategy.appendEnd(locator, this, buffer);
840            return buffer;
841        }
842
843        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
844            {
845                List<Object> theAny;
846                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
847                strategy.appendField(locator, this, "any", buffer, theAny);
848            }
849            return buffer;
850        }
851
852        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
853            int currentHashCode = 1;
854            {
855                List<Object> theAny;
856                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
857                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
858            }
859            return currentHashCode;
860        }
861
862        public int hashCode() {
863            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
864            return this.hashCode(null, strategy);
865        }
866
867        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
868            if (!(object instanceof DtoAuthorizationMap.Entries)) {
869                return false;
870            }
871            if (this == object) {
872                return true;
873            }
874            final DtoAuthorizationMap.Entries that = ((DtoAuthorizationMap.Entries) object);
875            {
876                List<Object> lhsAny;
877                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
878                List<Object> rhsAny;
879                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
880                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
881                    return false;
882                }
883            }
884            return true;
885        }
886
887        public boolean equals(Object object) {
888            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
889            return equals(null, null, object, strategy);
890        }
891
892    }
893
894
895    /**
896     * <p>Java class for anonymous complex type.
897     * 
898     * <p>The following schema fragment specifies the expected content contained within this class.
899     * 
900     * <pre>
901     * &lt;complexType>
902     *   &lt;complexContent>
903     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
904     *       &lt;choice minOccurs="0">
905     *         &lt;element ref="{http://activemq.apache.org/schema/core}tempDestinationAuthorizationEntry"/>
906     *         &lt;any namespace='##other'/>
907     *       &lt;/choice>
908     *     &lt;/restriction>
909     *   &lt;/complexContent>
910     * &lt;/complexType>
911     * </pre>
912     * 
913     * 
914     */
915    @XmlAccessorType(XmlAccessType.FIELD)
916    @XmlType(name = "", propOrder = {
917        "tempDestinationAuthorizationEntry",
918        "any"
919    })
920    public static class TempDestinationAuthorizationEntry
921        implements Equals, HashCode, ToString
922    {
923
924        protected DtoTempDestinationAuthorizationEntry tempDestinationAuthorizationEntry;
925        @XmlAnyElement(lax = true)
926        protected Object any;
927
928        /**
929         * Gets the value of the tempDestinationAuthorizationEntry property.
930         * 
931         * @return
932         *     possible object is
933         *     {@link DtoTempDestinationAuthorizationEntry }
934         *     
935         */
936        public DtoTempDestinationAuthorizationEntry getTempDestinationAuthorizationEntry() {
937            return tempDestinationAuthorizationEntry;
938        }
939
940        /**
941         * Sets the value of the tempDestinationAuthorizationEntry property.
942         * 
943         * @param value
944         *     allowed object is
945         *     {@link DtoTempDestinationAuthorizationEntry }
946         *     
947         */
948        public void setTempDestinationAuthorizationEntry(DtoTempDestinationAuthorizationEntry value) {
949            this.tempDestinationAuthorizationEntry = value;
950        }
951
952        /**
953         * Gets the value of the any property.
954         * 
955         * @return
956         *     possible object is
957         *     {@link Object }
958         *     
959         */
960        public Object getAny() {
961            return any;
962        }
963
964        /**
965         * Sets the value of the any property.
966         * 
967         * @param value
968         *     allowed object is
969         *     {@link Object }
970         *     
971         */
972        public void setAny(Object value) {
973            this.any = value;
974        }
975
976        public String toString() {
977            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
978            final StringBuilder buffer = new StringBuilder();
979            append(null, buffer, strategy);
980            return buffer.toString();
981        }
982
983        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
984            strategy.appendStart(locator, this, buffer);
985            appendFields(locator, buffer, strategy);
986            strategy.appendEnd(locator, this, buffer);
987            return buffer;
988        }
989
990        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
991            {
992                DtoTempDestinationAuthorizationEntry theTempDestinationAuthorizationEntry;
993                theTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
994                strategy.appendField(locator, this, "tempDestinationAuthorizationEntry", buffer, theTempDestinationAuthorizationEntry);
995            }
996            {
997                Object theAny;
998                theAny = this.getAny();
999                strategy.appendField(locator, this, "any", buffer, theAny);
1000            }
1001            return buffer;
1002        }
1003
1004        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1005            int currentHashCode = 1;
1006            {
1007                DtoTempDestinationAuthorizationEntry theTempDestinationAuthorizationEntry;
1008                theTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
1009                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempDestinationAuthorizationEntry", theTempDestinationAuthorizationEntry), currentHashCode, theTempDestinationAuthorizationEntry);
1010            }
1011            {
1012                Object theAny;
1013                theAny = this.getAny();
1014                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1015            }
1016            return currentHashCode;
1017        }
1018
1019        public int hashCode() {
1020            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1021            return this.hashCode(null, strategy);
1022        }
1023
1024        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1025            if (!(object instanceof DtoAuthorizationMap.TempDestinationAuthorizationEntry)) {
1026                return false;
1027            }
1028            if (this == object) {
1029                return true;
1030            }
1031            final DtoAuthorizationMap.TempDestinationAuthorizationEntry that = ((DtoAuthorizationMap.TempDestinationAuthorizationEntry) object);
1032            {
1033                DtoTempDestinationAuthorizationEntry lhsTempDestinationAuthorizationEntry;
1034                lhsTempDestinationAuthorizationEntry = this.getTempDestinationAuthorizationEntry();
1035                DtoTempDestinationAuthorizationEntry rhsTempDestinationAuthorizationEntry;
1036                rhsTempDestinationAuthorizationEntry = that.getTempDestinationAuthorizationEntry();
1037                if (!strategy.equals(LocatorUtils.property(thisLocator, "tempDestinationAuthorizationEntry", lhsTempDestinationAuthorizationEntry), LocatorUtils.property(thatLocator, "tempDestinationAuthorizationEntry", rhsTempDestinationAuthorizationEntry), lhsTempDestinationAuthorizationEntry, rhsTempDestinationAuthorizationEntry)) {
1038                    return false;
1039                }
1040            }
1041            {
1042                Object lhsAny;
1043                lhsAny = this.getAny();
1044                Object rhsAny;
1045                rhsAny = that.getAny();
1046                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1047                    return false;
1048                }
1049            }
1050            return true;
1051        }
1052
1053        public boolean equals(Object object) {
1054            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1055            return equals(null, null, object, strategy);
1056        }
1057
1058    }
1059
1060}