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