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