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.XmlElement;
022import javax.xml.bind.annotation.XmlElementRef;
023import javax.xml.bind.annotation.XmlElementRefs;
024import javax.xml.bind.annotation.XmlID;
025import javax.xml.bind.annotation.XmlRootElement;
026import javax.xml.bind.annotation.XmlSchemaType;
027import javax.xml.bind.annotation.XmlType;
028import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
029import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
030import javax.xml.namespace.QName;
031import org.jvnet.jaxb2_commons.lang.Equals;
032import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
033import org.jvnet.jaxb2_commons.lang.HashCode;
034import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
035import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
036import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
037import org.jvnet.jaxb2_commons.lang.ToString;
038import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
039import org.jvnet.jaxb2_commons.locator.ObjectLocator;
040import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
041
042
043/**
044 * <p>Java class for anonymous complex type.
045 * 
046 * <p>The following schema fragment specifies the expected content contained within this class.
047 * 
048 * <pre>
049 * &lt;complexType>
050 *   &lt;complexContent>
051 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
052 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
053 *         &lt;choice>
054 *           &lt;element name="brokerService" minOccurs="0">
055 *             &lt;complexType>
056 *               &lt;complexContent>
057 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
058 *                   &lt;choice minOccurs="0">
059 *                     &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
060 *                     &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
061 *                     &lt;any namespace='##other'/>
062 *                   &lt;/choice>
063 *                 &lt;/restriction>
064 *               &lt;/complexContent>
065 *             &lt;/complexType>
066 *           &lt;/element>
067 *           &lt;element name="filteredPersistenceAdapters" maxOccurs="unbounded" minOccurs="0">
068 *             &lt;complexType>
069 *               &lt;complexContent>
070 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
071 *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
072 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
073 *                   &lt;/sequence>
074 *                 &lt;/restriction>
075 *               &lt;/complexContent>
076 *             &lt;/complexType>
077 *           &lt;/element>
078 *           &lt;element name="locker" minOccurs="0">
079 *             &lt;complexType>
080 *               &lt;complexContent>
081 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
082 *                   &lt;choice minOccurs="0">
083 *                     &lt;element ref="{http://activemq.apache.org/schema/core}database-locker"/>
084 *                     &lt;element ref="{http://activemq.apache.org/schema/core}lease-database-locker"/>
085 *                     &lt;element ref="{http://activemq.apache.org/schema/core}shared-file-locker"/>
086 *                     &lt;element ref="{http://activemq.apache.org/schema/core}transact-database-locker"/>
087 *                     &lt;any namespace='##other'/>
088 *                   &lt;/choice>
089 *                 &lt;/restriction>
090 *               &lt;/complexContent>
091 *             &lt;/complexType>
092 *           &lt;/element>
093 *           &lt;element name="scheduledThreadPoolExecutor" minOccurs="0">
094 *             &lt;complexType>
095 *               &lt;complexContent>
096 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
097 *                   &lt;sequence minOccurs="0">
098 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
099 *                   &lt;/sequence>
100 *                 &lt;/restriction>
101 *               &lt;/complexContent>
102 *             &lt;/complexType>
103 *           &lt;/element>
104 *           &lt;element name="transactionStore" minOccurs="0">
105 *             &lt;complexType>
106 *               &lt;complexContent>
107 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
108 *                   &lt;sequence minOccurs="0">
109 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
110 *                   &lt;/sequence>
111 *                 &lt;/restriction>
112 *               &lt;/complexContent>
113 *             &lt;/complexType>
114 *           &lt;/element>
115 *           &lt;element name="usageManager" minOccurs="0">
116 *             &lt;complexType>
117 *               &lt;complexContent>
118 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
119 *                   &lt;choice minOccurs="0">
120 *                     &lt;element ref="{http://activemq.apache.org/schema/core}systemUsage"/>
121 *                     &lt;any namespace='##other'/>
122 *                   &lt;/choice>
123 *                 &lt;/restriction>
124 *               &lt;/complexContent>
125 *             &lt;/complexType>
126 *           &lt;/element>
127 *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
128 *         &lt;/choice>
129 *       &lt;/choice>
130 *       &lt;attribute name="brokerName" type="{http://www.w3.org/2001/XMLSchema}string" />
131 *       &lt;attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" />
132 *       &lt;attribute name="directory" type="{http://www.w3.org/2001/XMLSchema}string" />
133 *       &lt;attribute name="journalMaxFileLength" type="{http://www.w3.org/2001/XMLSchema}string" />
134 *       &lt;attribute name="journalWriteBatchSize" type="{http://www.w3.org/2001/XMLSchema}string" />
135 *       &lt;attribute name="lockKeepAlivePeriod" type="{http://www.w3.org/2001/XMLSchema}long" />
136 *       &lt;attribute name="locker" type="{http://www.w3.org/2001/XMLSchema}string" />
137 *       &lt;attribute name="scheduledThreadPoolExecutor" type="{http://www.w3.org/2001/XMLSchema}string" />
138 *       &lt;attribute name="transactionStore" type="{http://www.w3.org/2001/XMLSchema}string" />
139 *       &lt;attribute name="usageManager" type="{http://www.w3.org/2001/XMLSchema}string" />
140 *       &lt;attribute name="useLock" type="{http://www.w3.org/2001/XMLSchema}boolean" />
141 *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
142 *       &lt;anyAttribute processContents='lax' namespace='##other'/>
143 *     &lt;/restriction>
144 *   &lt;/complexContent>
145 * &lt;/complexType>
146 * </pre>
147 * 
148 * 
149 */
150@XmlAccessorType(XmlAccessType.FIELD)
151@XmlType(name = "", propOrder = {
152    "brokerServiceOrFilteredPersistenceAdaptersOrLocker"
153})
154@XmlRootElement(name = "mKahaDB")
155public class DtoMKahaDB implements Equals, HashCode, ToString
156{
157
158    @XmlElementRefs({
159        @XmlElementRef(name = "filteredPersistenceAdapters", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
160        @XmlElementRef(name = "locker", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
161        @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
162        @XmlElementRef(name = "scheduledThreadPoolExecutor", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
163        @XmlElementRef(name = "transactionStore", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
164        @XmlElementRef(name = "usageManager", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false)
165    })
166    @XmlAnyElement(lax = true)
167    protected List<Object> brokerServiceOrFilteredPersistenceAdaptersOrLocker;
168    @XmlAttribute(name = "brokerName")
169    protected String brokerName;
170    @XmlAttribute(name = "brokerService")
171    protected String brokerService;
172    @XmlAttribute(name = "directory")
173    protected String directory;
174    @XmlAttribute(name = "journalMaxFileLength")
175    protected String journalMaxFileLength;
176    @XmlAttribute(name = "journalWriteBatchSize")
177    protected String journalWriteBatchSize;
178    @XmlAttribute(name = "lockKeepAlivePeriod")
179    protected Long lockKeepAlivePeriod;
180    @XmlAttribute(name = "locker")
181    protected String locker;
182    @XmlAttribute(name = "scheduledThreadPoolExecutor")
183    protected String scheduledThreadPoolExecutor;
184    @XmlAttribute(name = "transactionStore")
185    protected String transactionStore;
186    @XmlAttribute(name = "usageManager")
187    protected String usageManager;
188    @XmlAttribute(name = "useLock")
189    protected Boolean useLock;
190    @XmlAttribute(name = "id")
191    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
192    @XmlID
193    @XmlSchemaType(name = "ID")
194    protected String id;
195    @XmlAnyAttribute
196    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
197
198    /**
199     * Gets the value of the brokerServiceOrFilteredPersistenceAdaptersOrLocker property.
200     * 
201     * <p>
202     * This accessor method returns a reference to the live list,
203     * not a snapshot. Therefore any modification you make to the
204     * returned list will be present inside the JAXB object.
205     * This is why there is not a <CODE>set</CODE> method for the brokerServiceOrFilteredPersistenceAdaptersOrLocker property.
206     * 
207     * <p>
208     * For example, to add a new item, do as follows:
209     * <pre>
210     *    getBrokerServiceOrFilteredPersistenceAdaptersOrLocker().add(newItem);
211     * </pre>
212     * 
213     * 
214     * <p>
215     * Objects of the following type(s) are allowed in the list
216     * {@link JAXBElement }{@code <}{@link DtoMKahaDB.FilteredPersistenceAdapters }{@code >}
217     * {@link JAXBElement }{@code <}{@link DtoMKahaDB.Locker }{@code >}
218     * {@link JAXBElement }{@code <}{@link DtoMKahaDB.BrokerService }{@code >}
219     * {@link Object }
220     * {@link JAXBElement }{@code <}{@link DtoMKahaDB.ScheduledThreadPoolExecutor }{@code >}
221     * {@link JAXBElement }{@code <}{@link DtoMKahaDB.TransactionStore }{@code >}
222     * {@link JAXBElement }{@code <}{@link DtoMKahaDB.UsageManager }{@code >}
223     * 
224     * 
225     */
226    public List<Object> getBrokerServiceOrFilteredPersistenceAdaptersOrLocker() {
227        if (brokerServiceOrFilteredPersistenceAdaptersOrLocker == null) {
228            brokerServiceOrFilteredPersistenceAdaptersOrLocker = new ArrayList<Object>();
229        }
230        return this.brokerServiceOrFilteredPersistenceAdaptersOrLocker;
231    }
232
233    /**
234     * Gets the value of the brokerName property.
235     * 
236     * @return
237     *     possible object is
238     *     {@link String }
239     *     
240     */
241    public String getBrokerName() {
242        return brokerName;
243    }
244
245    /**
246     * Sets the value of the brokerName property.
247     * 
248     * @param value
249     *     allowed object is
250     *     {@link String }
251     *     
252     */
253    public void setBrokerName(String value) {
254        this.brokerName = value;
255    }
256
257    /**
258     * Gets the value of the brokerService property.
259     * 
260     * @return
261     *     possible object is
262     *     {@link String }
263     *     
264     */
265    public String getBrokerService() {
266        return brokerService;
267    }
268
269    /**
270     * Sets the value of the brokerService property.
271     * 
272     * @param value
273     *     allowed object is
274     *     {@link String }
275     *     
276     */
277    public void setBrokerService(String value) {
278        this.brokerService = value;
279    }
280
281    /**
282     * Gets the value of the directory property.
283     * 
284     * @return
285     *     possible object is
286     *     {@link String }
287     *     
288     */
289    public String getDirectory() {
290        return directory;
291    }
292
293    /**
294     * Sets the value of the directory property.
295     * 
296     * @param value
297     *     allowed object is
298     *     {@link String }
299     *     
300     */
301    public void setDirectory(String value) {
302        this.directory = value;
303    }
304
305    /**
306     * Gets the value of the journalMaxFileLength property.
307     * 
308     * @return
309     *     possible object is
310     *     {@link String }
311     *     
312     */
313    public String getJournalMaxFileLength() {
314        return journalMaxFileLength;
315    }
316
317    /**
318     * Sets the value of the journalMaxFileLength property.
319     * 
320     * @param value
321     *     allowed object is
322     *     {@link String }
323     *     
324     */
325    public void setJournalMaxFileLength(String value) {
326        this.journalMaxFileLength = value;
327    }
328
329    /**
330     * Gets the value of the journalWriteBatchSize property.
331     * 
332     * @return
333     *     possible object is
334     *     {@link String }
335     *     
336     */
337    public String getJournalWriteBatchSize() {
338        return journalWriteBatchSize;
339    }
340
341    /**
342     * Sets the value of the journalWriteBatchSize property.
343     * 
344     * @param value
345     *     allowed object is
346     *     {@link String }
347     *     
348     */
349    public void setJournalWriteBatchSize(String value) {
350        this.journalWriteBatchSize = value;
351    }
352
353    /**
354     * Gets the value of the lockKeepAlivePeriod property.
355     * 
356     * @return
357     *     possible object is
358     *     {@link Long }
359     *     
360     */
361    public Long getLockKeepAlivePeriod() {
362        return lockKeepAlivePeriod;
363    }
364
365    /**
366     * Sets the value of the lockKeepAlivePeriod property.
367     * 
368     * @param value
369     *     allowed object is
370     *     {@link Long }
371     *     
372     */
373    public void setLockKeepAlivePeriod(Long value) {
374        this.lockKeepAlivePeriod = value;
375    }
376
377    /**
378     * Gets the value of the locker property.
379     * 
380     * @return
381     *     possible object is
382     *     {@link String }
383     *     
384     */
385    public String getLocker() {
386        return locker;
387    }
388
389    /**
390     * Sets the value of the locker property.
391     * 
392     * @param value
393     *     allowed object is
394     *     {@link String }
395     *     
396     */
397    public void setLocker(String value) {
398        this.locker = value;
399    }
400
401    /**
402     * Gets the value of the scheduledThreadPoolExecutor property.
403     * 
404     * @return
405     *     possible object is
406     *     {@link String }
407     *     
408     */
409    public String getScheduledThreadPoolExecutor() {
410        return scheduledThreadPoolExecutor;
411    }
412
413    /**
414     * Sets the value of the scheduledThreadPoolExecutor property.
415     * 
416     * @param value
417     *     allowed object is
418     *     {@link String }
419     *     
420     */
421    public void setScheduledThreadPoolExecutor(String value) {
422        this.scheduledThreadPoolExecutor = value;
423    }
424
425    /**
426     * Gets the value of the transactionStore property.
427     * 
428     * @return
429     *     possible object is
430     *     {@link String }
431     *     
432     */
433    public String getTransactionStore() {
434        return transactionStore;
435    }
436
437    /**
438     * Sets the value of the transactionStore property.
439     * 
440     * @param value
441     *     allowed object is
442     *     {@link String }
443     *     
444     */
445    public void setTransactionStore(String value) {
446        this.transactionStore = value;
447    }
448
449    /**
450     * Gets the value of the usageManager property.
451     * 
452     * @return
453     *     possible object is
454     *     {@link String }
455     *     
456     */
457    public String getUsageManager() {
458        return usageManager;
459    }
460
461    /**
462     * Sets the value of the usageManager property.
463     * 
464     * @param value
465     *     allowed object is
466     *     {@link String }
467     *     
468     */
469    public void setUsageManager(String value) {
470        this.usageManager = value;
471    }
472
473    /**
474     * Gets the value of the useLock property.
475     * 
476     * @return
477     *     possible object is
478     *     {@link Boolean }
479     *     
480     */
481    public Boolean isUseLock() {
482        return useLock;
483    }
484
485    /**
486     * Sets the value of the useLock property.
487     * 
488     * @param value
489     *     allowed object is
490     *     {@link Boolean }
491     *     
492     */
493    public void setUseLock(Boolean value) {
494        this.useLock = value;
495    }
496
497    /**
498     * Gets the value of the id property.
499     * 
500     * @return
501     *     possible object is
502     *     {@link String }
503     *     
504     */
505    public String getId() {
506        return id;
507    }
508
509    /**
510     * Sets the value of the id property.
511     * 
512     * @param value
513     *     allowed object is
514     *     {@link String }
515     *     
516     */
517    public void setId(String value) {
518        this.id = value;
519    }
520
521    /**
522     * Gets a map that contains attributes that aren't bound to any typed property on this class.
523     * 
524     * <p>
525     * the map is keyed by the name of the attribute and 
526     * the value is the string value of the attribute.
527     * 
528     * the map returned by this method is live, and you can add new attribute
529     * by updating the map directly. Because of this design, there's no setter.
530     * 
531     * 
532     * @return
533     *     always non-null
534     */
535    public Map<QName, String> getOtherAttributes() {
536        return otherAttributes;
537    }
538
539    public String toString() {
540        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
541        final StringBuilder buffer = new StringBuilder();
542        append(null, buffer, strategy);
543        return buffer.toString();
544    }
545
546    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
547        strategy.appendStart(locator, this, buffer);
548        appendFields(locator, buffer, strategy);
549        strategy.appendEnd(locator, this, buffer);
550        return buffer;
551    }
552
553    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
554        {
555            List<Object> theBrokerServiceOrFilteredPersistenceAdaptersOrLocker;
556            theBrokerServiceOrFilteredPersistenceAdaptersOrLocker = (((this.brokerServiceOrFilteredPersistenceAdaptersOrLocker!= null)&&(!this.brokerServiceOrFilteredPersistenceAdaptersOrLocker.isEmpty()))?this.getBrokerServiceOrFilteredPersistenceAdaptersOrLocker():null);
557            strategy.appendField(locator, this, "brokerServiceOrFilteredPersistenceAdaptersOrLocker", buffer, theBrokerServiceOrFilteredPersistenceAdaptersOrLocker);
558        }
559        {
560            String theBrokerName;
561            theBrokerName = this.getBrokerName();
562            strategy.appendField(locator, this, "brokerName", buffer, theBrokerName);
563        }
564        {
565            String theBrokerService;
566            theBrokerService = this.getBrokerService();
567            strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
568        }
569        {
570            String theDirectory;
571            theDirectory = this.getDirectory();
572            strategy.appendField(locator, this, "directory", buffer, theDirectory);
573        }
574        {
575            String theJournalMaxFileLength;
576            theJournalMaxFileLength = this.getJournalMaxFileLength();
577            strategy.appendField(locator, this, "journalMaxFileLength", buffer, theJournalMaxFileLength);
578        }
579        {
580            String theJournalWriteBatchSize;
581            theJournalWriteBatchSize = this.getJournalWriteBatchSize();
582            strategy.appendField(locator, this, "journalWriteBatchSize", buffer, theJournalWriteBatchSize);
583        }
584        {
585            Long theLockKeepAlivePeriod;
586            theLockKeepAlivePeriod = this.getLockKeepAlivePeriod();
587            strategy.appendField(locator, this, "lockKeepAlivePeriod", buffer, theLockKeepAlivePeriod);
588        }
589        {
590            String theLocker;
591            theLocker = this.getLocker();
592            strategy.appendField(locator, this, "locker", buffer, theLocker);
593        }
594        {
595            String theScheduledThreadPoolExecutor;
596            theScheduledThreadPoolExecutor = this.getScheduledThreadPoolExecutor();
597            strategy.appendField(locator, this, "scheduledThreadPoolExecutor", buffer, theScheduledThreadPoolExecutor);
598        }
599        {
600            String theTransactionStore;
601            theTransactionStore = this.getTransactionStore();
602            strategy.appendField(locator, this, "transactionStore", buffer, theTransactionStore);
603        }
604        {
605            String theUsageManager;
606            theUsageManager = this.getUsageManager();
607            strategy.appendField(locator, this, "usageManager", buffer, theUsageManager);
608        }
609        {
610            Boolean theUseLock;
611            theUseLock = this.isUseLock();
612            strategy.appendField(locator, this, "useLock", buffer, theUseLock);
613        }
614        {
615            String theId;
616            theId = this.getId();
617            strategy.appendField(locator, this, "id", buffer, theId);
618        }
619        return buffer;
620    }
621
622    public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
623        int currentHashCode = 1;
624        {
625            List<Object> theBrokerServiceOrFilteredPersistenceAdaptersOrLocker;
626            theBrokerServiceOrFilteredPersistenceAdaptersOrLocker = (((this.brokerServiceOrFilteredPersistenceAdaptersOrLocker!= null)&&(!this.brokerServiceOrFilteredPersistenceAdaptersOrLocker.isEmpty()))?this.getBrokerServiceOrFilteredPersistenceAdaptersOrLocker():null);
627            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerServiceOrFilteredPersistenceAdaptersOrLocker", theBrokerServiceOrFilteredPersistenceAdaptersOrLocker), currentHashCode, theBrokerServiceOrFilteredPersistenceAdaptersOrLocker);
628        }
629        {
630            String theBrokerName;
631            theBrokerName = this.getBrokerName();
632            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerName", theBrokerName), currentHashCode, theBrokerName);
633        }
634        {
635            String theBrokerService;
636            theBrokerService = this.getBrokerService();
637            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
638        }
639        {
640            String theDirectory;
641            theDirectory = this.getDirectory();
642            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "directory", theDirectory), currentHashCode, theDirectory);
643        }
644        {
645            String theJournalMaxFileLength;
646            theJournalMaxFileLength = this.getJournalMaxFileLength();
647            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalMaxFileLength", theJournalMaxFileLength), currentHashCode, theJournalMaxFileLength);
648        }
649        {
650            String theJournalWriteBatchSize;
651            theJournalWriteBatchSize = this.getJournalWriteBatchSize();
652            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalWriteBatchSize", theJournalWriteBatchSize), currentHashCode, theJournalWriteBatchSize);
653        }
654        {
655            Long theLockKeepAlivePeriod;
656            theLockKeepAlivePeriod = this.getLockKeepAlivePeriod();
657            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lockKeepAlivePeriod", theLockKeepAlivePeriod), currentHashCode, theLockKeepAlivePeriod);
658        }
659        {
660            String theLocker;
661            theLocker = this.getLocker();
662            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "locker", theLocker), currentHashCode, theLocker);
663        }
664        {
665            String theScheduledThreadPoolExecutor;
666            theScheduledThreadPoolExecutor = this.getScheduledThreadPoolExecutor();
667            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scheduledThreadPoolExecutor", theScheduledThreadPoolExecutor), currentHashCode, theScheduledThreadPoolExecutor);
668        }
669        {
670            String theTransactionStore;
671            theTransactionStore = this.getTransactionStore();
672            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transactionStore", theTransactionStore), currentHashCode, theTransactionStore);
673        }
674        {
675            String theUsageManager;
676            theUsageManager = this.getUsageManager();
677            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usageManager", theUsageManager), currentHashCode, theUsageManager);
678        }
679        {
680            Boolean theUseLock;
681            theUseLock = this.isUseLock();
682            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useLock", theUseLock), currentHashCode, theUseLock);
683        }
684        {
685            String theId;
686            theId = this.getId();
687            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
688        }
689        return currentHashCode;
690    }
691
692    public int hashCode() {
693        final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
694        return this.hashCode(null, strategy);
695    }
696
697    public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
698        if (!(object instanceof DtoMKahaDB)) {
699            return false;
700        }
701        if (this == object) {
702            return true;
703        }
704        final DtoMKahaDB that = ((DtoMKahaDB) object);
705        {
706            List<Object> lhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker;
707            lhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker = (((this.brokerServiceOrFilteredPersistenceAdaptersOrLocker!= null)&&(!this.brokerServiceOrFilteredPersistenceAdaptersOrLocker.isEmpty()))?this.getBrokerServiceOrFilteredPersistenceAdaptersOrLocker():null);
708            List<Object> rhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker;
709            rhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker = (((that.brokerServiceOrFilteredPersistenceAdaptersOrLocker!= null)&&(!that.brokerServiceOrFilteredPersistenceAdaptersOrLocker.isEmpty()))?that.getBrokerServiceOrFilteredPersistenceAdaptersOrLocker():null);
710            if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerServiceOrFilteredPersistenceAdaptersOrLocker", lhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker), LocatorUtils.property(thatLocator, "brokerServiceOrFilteredPersistenceAdaptersOrLocker", rhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker), lhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker, rhsBrokerServiceOrFilteredPersistenceAdaptersOrLocker)) {
711                return false;
712            }
713        }
714        {
715            String lhsBrokerName;
716            lhsBrokerName = this.getBrokerName();
717            String rhsBrokerName;
718            rhsBrokerName = that.getBrokerName();
719            if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerName", lhsBrokerName), LocatorUtils.property(thatLocator, "brokerName", rhsBrokerName), lhsBrokerName, rhsBrokerName)) {
720                return false;
721            }
722        }
723        {
724            String lhsBrokerService;
725            lhsBrokerService = this.getBrokerService();
726            String rhsBrokerService;
727            rhsBrokerService = that.getBrokerService();
728            if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
729                return false;
730            }
731        }
732        {
733            String lhsDirectory;
734            lhsDirectory = this.getDirectory();
735            String rhsDirectory;
736            rhsDirectory = that.getDirectory();
737            if (!strategy.equals(LocatorUtils.property(thisLocator, "directory", lhsDirectory), LocatorUtils.property(thatLocator, "directory", rhsDirectory), lhsDirectory, rhsDirectory)) {
738                return false;
739            }
740        }
741        {
742            String lhsJournalMaxFileLength;
743            lhsJournalMaxFileLength = this.getJournalMaxFileLength();
744            String rhsJournalMaxFileLength;
745            rhsJournalMaxFileLength = that.getJournalMaxFileLength();
746            if (!strategy.equals(LocatorUtils.property(thisLocator, "journalMaxFileLength", lhsJournalMaxFileLength), LocatorUtils.property(thatLocator, "journalMaxFileLength", rhsJournalMaxFileLength), lhsJournalMaxFileLength, rhsJournalMaxFileLength)) {
747                return false;
748            }
749        }
750        {
751            String lhsJournalWriteBatchSize;
752            lhsJournalWriteBatchSize = this.getJournalWriteBatchSize();
753            String rhsJournalWriteBatchSize;
754            rhsJournalWriteBatchSize = that.getJournalWriteBatchSize();
755            if (!strategy.equals(LocatorUtils.property(thisLocator, "journalWriteBatchSize", lhsJournalWriteBatchSize), LocatorUtils.property(thatLocator, "journalWriteBatchSize", rhsJournalWriteBatchSize), lhsJournalWriteBatchSize, rhsJournalWriteBatchSize)) {
756                return false;
757            }
758        }
759        {
760            Long lhsLockKeepAlivePeriod;
761            lhsLockKeepAlivePeriod = this.getLockKeepAlivePeriod();
762            Long rhsLockKeepAlivePeriod;
763            rhsLockKeepAlivePeriod = that.getLockKeepAlivePeriod();
764            if (!strategy.equals(LocatorUtils.property(thisLocator, "lockKeepAlivePeriod", lhsLockKeepAlivePeriod), LocatorUtils.property(thatLocator, "lockKeepAlivePeriod", rhsLockKeepAlivePeriod), lhsLockKeepAlivePeriod, rhsLockKeepAlivePeriod)) {
765                return false;
766            }
767        }
768        {
769            String lhsLocker;
770            lhsLocker = this.getLocker();
771            String rhsLocker;
772            rhsLocker = that.getLocker();
773            if (!strategy.equals(LocatorUtils.property(thisLocator, "locker", lhsLocker), LocatorUtils.property(thatLocator, "locker", rhsLocker), lhsLocker, rhsLocker)) {
774                return false;
775            }
776        }
777        {
778            String lhsScheduledThreadPoolExecutor;
779            lhsScheduledThreadPoolExecutor = this.getScheduledThreadPoolExecutor();
780            String rhsScheduledThreadPoolExecutor;
781            rhsScheduledThreadPoolExecutor = that.getScheduledThreadPoolExecutor();
782            if (!strategy.equals(LocatorUtils.property(thisLocator, "scheduledThreadPoolExecutor", lhsScheduledThreadPoolExecutor), LocatorUtils.property(thatLocator, "scheduledThreadPoolExecutor", rhsScheduledThreadPoolExecutor), lhsScheduledThreadPoolExecutor, rhsScheduledThreadPoolExecutor)) {
783                return false;
784            }
785        }
786        {
787            String lhsTransactionStore;
788            lhsTransactionStore = this.getTransactionStore();
789            String rhsTransactionStore;
790            rhsTransactionStore = that.getTransactionStore();
791            if (!strategy.equals(LocatorUtils.property(thisLocator, "transactionStore", lhsTransactionStore), LocatorUtils.property(thatLocator, "transactionStore", rhsTransactionStore), lhsTransactionStore, rhsTransactionStore)) {
792                return false;
793            }
794        }
795        {
796            String lhsUsageManager;
797            lhsUsageManager = this.getUsageManager();
798            String rhsUsageManager;
799            rhsUsageManager = that.getUsageManager();
800            if (!strategy.equals(LocatorUtils.property(thisLocator, "usageManager", lhsUsageManager), LocatorUtils.property(thatLocator, "usageManager", rhsUsageManager), lhsUsageManager, rhsUsageManager)) {
801                return false;
802            }
803        }
804        {
805            Boolean lhsUseLock;
806            lhsUseLock = this.isUseLock();
807            Boolean rhsUseLock;
808            rhsUseLock = that.isUseLock();
809            if (!strategy.equals(LocatorUtils.property(thisLocator, "useLock", lhsUseLock), LocatorUtils.property(thatLocator, "useLock", rhsUseLock), lhsUseLock, rhsUseLock)) {
810                return false;
811            }
812        }
813        {
814            String lhsId;
815            lhsId = this.getId();
816            String rhsId;
817            rhsId = that.getId();
818            if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
819                return false;
820            }
821        }
822        return true;
823    }
824
825    public boolean equals(Object object) {
826        final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
827        return equals(null, null, object, strategy);
828    }
829
830
831    /**
832     * <p>Java class for anonymous complex type.
833     * 
834     * <p>The following schema fragment specifies the expected content contained within this class.
835     * 
836     * <pre>
837     * &lt;complexType>
838     *   &lt;complexContent>
839     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
840     *       &lt;choice minOccurs="0">
841     *         &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
842     *         &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
843     *         &lt;any namespace='##other'/>
844     *       &lt;/choice>
845     *     &lt;/restriction>
846     *   &lt;/complexContent>
847     * &lt;/complexType>
848     * </pre>
849     * 
850     * 
851     */
852    @XmlAccessorType(XmlAccessType.FIELD)
853    @XmlType(name = "", propOrder = {
854        "broker",
855        "brokerService",
856        "any"
857    })
858    public static class BrokerService
859        implements Equals, HashCode, ToString
860    {
861
862        protected DtoBroker broker;
863        protected DtoBrokerService brokerService;
864        @XmlAnyElement(lax = true)
865        protected Object any;
866
867        /**
868         * Gets the value of the broker property.
869         * 
870         * @return
871         *     possible object is
872         *     {@link DtoBroker }
873         *     
874         */
875        public DtoBroker getBroker() {
876            return broker;
877        }
878
879        /**
880         * Sets the value of the broker property.
881         * 
882         * @param value
883         *     allowed object is
884         *     {@link DtoBroker }
885         *     
886         */
887        public void setBroker(DtoBroker value) {
888            this.broker = value;
889        }
890
891        /**
892         * Gets the value of the brokerService property.
893         * 
894         * @return
895         *     possible object is
896         *     {@link DtoBrokerService }
897         *     
898         */
899        public DtoBrokerService getBrokerService() {
900            return brokerService;
901        }
902
903        /**
904         * Sets the value of the brokerService property.
905         * 
906         * @param value
907         *     allowed object is
908         *     {@link DtoBrokerService }
909         *     
910         */
911        public void setBrokerService(DtoBrokerService value) {
912            this.brokerService = value;
913        }
914
915        /**
916         * Gets the value of the any property.
917         * 
918         * @return
919         *     possible object is
920         *     {@link Object }
921         *     
922         */
923        public Object getAny() {
924            return any;
925        }
926
927        /**
928         * Sets the value of the any property.
929         * 
930         * @param value
931         *     allowed object is
932         *     {@link Object }
933         *     
934         */
935        public void setAny(Object value) {
936            this.any = value;
937        }
938
939        public String toString() {
940            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
941            final StringBuilder buffer = new StringBuilder();
942            append(null, buffer, strategy);
943            return buffer.toString();
944        }
945
946        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
947            strategy.appendStart(locator, this, buffer);
948            appendFields(locator, buffer, strategy);
949            strategy.appendEnd(locator, this, buffer);
950            return buffer;
951        }
952
953        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
954            {
955                DtoBroker theBroker;
956                theBroker = this.getBroker();
957                strategy.appendField(locator, this, "broker", buffer, theBroker);
958            }
959            {
960                DtoBrokerService theBrokerService;
961                theBrokerService = this.getBrokerService();
962                strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
963            }
964            {
965                Object theAny;
966                theAny = this.getAny();
967                strategy.appendField(locator, this, "any", buffer, theAny);
968            }
969            return buffer;
970        }
971
972        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
973            int currentHashCode = 1;
974            {
975                DtoBroker theBroker;
976                theBroker = this.getBroker();
977                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker);
978            }
979            {
980                DtoBrokerService theBrokerService;
981                theBrokerService = this.getBrokerService();
982                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
983            }
984            {
985                Object theAny;
986                theAny = this.getAny();
987                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
988            }
989            return currentHashCode;
990        }
991
992        public int hashCode() {
993            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
994            return this.hashCode(null, strategy);
995        }
996
997        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
998            if (!(object instanceof DtoMKahaDB.BrokerService)) {
999                return false;
1000            }
1001            if (this == object) {
1002                return true;
1003            }
1004            final DtoMKahaDB.BrokerService that = ((DtoMKahaDB.BrokerService) object);
1005            {
1006                DtoBroker lhsBroker;
1007                lhsBroker = this.getBroker();
1008                DtoBroker rhsBroker;
1009                rhsBroker = that.getBroker();
1010                if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) {
1011                    return false;
1012                }
1013            }
1014            {
1015                DtoBrokerService lhsBrokerService;
1016                lhsBrokerService = this.getBrokerService();
1017                DtoBrokerService rhsBrokerService;
1018                rhsBrokerService = that.getBrokerService();
1019                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
1020                    return false;
1021                }
1022            }
1023            {
1024                Object lhsAny;
1025                lhsAny = this.getAny();
1026                Object rhsAny;
1027                rhsAny = that.getAny();
1028                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1029                    return false;
1030                }
1031            }
1032            return true;
1033        }
1034
1035        public boolean equals(Object object) {
1036            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1037            return equals(null, null, object, strategy);
1038        }
1039
1040    }
1041
1042
1043    /**
1044     * <p>Java class for anonymous complex type.
1045     * 
1046     * <p>The following schema fragment specifies the expected content contained within this class.
1047     * 
1048     * <pre>
1049     * &lt;complexType>
1050     *   &lt;complexContent>
1051     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1052     *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
1053     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1054     *       &lt;/sequence>
1055     *     &lt;/restriction>
1056     *   &lt;/complexContent>
1057     * &lt;/complexType>
1058     * </pre>
1059     * 
1060     * 
1061     */
1062    @XmlAccessorType(XmlAccessType.FIELD)
1063    @XmlType(name = "", propOrder = {
1064        "any"
1065    })
1066    public static class FilteredPersistenceAdapters
1067        implements Equals, HashCode, ToString
1068    {
1069
1070        @XmlAnyElement(lax = true)
1071        protected List<Object> any;
1072
1073        /**
1074         * Gets the value of the any property.
1075         * 
1076         * <p>
1077         * This accessor method returns a reference to the live list,
1078         * not a snapshot. Therefore any modification you make to the
1079         * returned list will be present inside the JAXB object.
1080         * This is why there is not a <CODE>set</CODE> method for the any property.
1081         * 
1082         * <p>
1083         * For example, to add a new item, do as follows:
1084         * <pre>
1085         *    getAny().add(newItem);
1086         * </pre>
1087         * 
1088         * 
1089         * <p>
1090         * Objects of the following type(s) are allowed in the list
1091         * {@link Object }
1092         * 
1093         * 
1094         */
1095        public List<Object> getAny() {
1096            if (any == null) {
1097                any = new ArrayList<Object>();
1098            }
1099            return this.any;
1100        }
1101
1102        public String toString() {
1103            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1104            final StringBuilder buffer = new StringBuilder();
1105            append(null, buffer, strategy);
1106            return buffer.toString();
1107        }
1108
1109        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1110            strategy.appendStart(locator, this, buffer);
1111            appendFields(locator, buffer, strategy);
1112            strategy.appendEnd(locator, this, buffer);
1113            return buffer;
1114        }
1115
1116        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1117            {
1118                List<Object> theAny;
1119                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1120                strategy.appendField(locator, this, "any", buffer, theAny);
1121            }
1122            return buffer;
1123        }
1124
1125        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1126            int currentHashCode = 1;
1127            {
1128                List<Object> theAny;
1129                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1130                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1131            }
1132            return currentHashCode;
1133        }
1134
1135        public int hashCode() {
1136            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1137            return this.hashCode(null, strategy);
1138        }
1139
1140        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1141            if (!(object instanceof DtoMKahaDB.FilteredPersistenceAdapters)) {
1142                return false;
1143            }
1144            if (this == object) {
1145                return true;
1146            }
1147            final DtoMKahaDB.FilteredPersistenceAdapters that = ((DtoMKahaDB.FilteredPersistenceAdapters) object);
1148            {
1149                List<Object> lhsAny;
1150                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1151                List<Object> rhsAny;
1152                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1153                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1154                    return false;
1155                }
1156            }
1157            return true;
1158        }
1159
1160        public boolean equals(Object object) {
1161            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1162            return equals(null, null, object, strategy);
1163        }
1164
1165    }
1166
1167
1168    /**
1169     * <p>Java class for anonymous complex type.
1170     * 
1171     * <p>The following schema fragment specifies the expected content contained within this class.
1172     * 
1173     * <pre>
1174     * &lt;complexType>
1175     *   &lt;complexContent>
1176     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1177     *       &lt;choice minOccurs="0">
1178     *         &lt;element ref="{http://activemq.apache.org/schema/core}database-locker"/>
1179     *         &lt;element ref="{http://activemq.apache.org/schema/core}lease-database-locker"/>
1180     *         &lt;element ref="{http://activemq.apache.org/schema/core}shared-file-locker"/>
1181     *         &lt;element ref="{http://activemq.apache.org/schema/core}transact-database-locker"/>
1182     *         &lt;any namespace='##other'/>
1183     *       &lt;/choice>
1184     *     &lt;/restriction>
1185     *   &lt;/complexContent>
1186     * &lt;/complexType>
1187     * </pre>
1188     * 
1189     * 
1190     */
1191    @XmlAccessorType(XmlAccessType.FIELD)
1192    @XmlType(name = "", propOrder = {
1193        "databaseLocker",
1194        "leaseDatabaseLocker",
1195        "sharedFileLocker",
1196        "transactDatabaseLocker",
1197        "any"
1198    })
1199    public static class Locker
1200        implements Equals, HashCode, ToString
1201    {
1202
1203        @XmlElement(name = "database-locker")
1204        protected DtoDatabaseLocker databaseLocker;
1205        @XmlElement(name = "lease-database-locker")
1206        protected DtoLeaseDatabaseLocker leaseDatabaseLocker;
1207        @XmlElement(name = "shared-file-locker")
1208        protected DtoSharedFileLocker sharedFileLocker;
1209        @XmlElement(name = "transact-database-locker")
1210        protected DtoTransactDatabaseLocker transactDatabaseLocker;
1211        @XmlAnyElement(lax = true)
1212        protected Object any;
1213
1214        /**
1215         * Gets the value of the databaseLocker property.
1216         * 
1217         * @return
1218         *     possible object is
1219         *     {@link DtoDatabaseLocker }
1220         *     
1221         */
1222        public DtoDatabaseLocker getDatabaseLocker() {
1223            return databaseLocker;
1224        }
1225
1226        /**
1227         * Sets the value of the databaseLocker property.
1228         * 
1229         * @param value
1230         *     allowed object is
1231         *     {@link DtoDatabaseLocker }
1232         *     
1233         */
1234        public void setDatabaseLocker(DtoDatabaseLocker value) {
1235            this.databaseLocker = value;
1236        }
1237
1238        /**
1239         * Gets the value of the leaseDatabaseLocker property.
1240         * 
1241         * @return
1242         *     possible object is
1243         *     {@link DtoLeaseDatabaseLocker }
1244         *     
1245         */
1246        public DtoLeaseDatabaseLocker getLeaseDatabaseLocker() {
1247            return leaseDatabaseLocker;
1248        }
1249
1250        /**
1251         * Sets the value of the leaseDatabaseLocker property.
1252         * 
1253         * @param value
1254         *     allowed object is
1255         *     {@link DtoLeaseDatabaseLocker }
1256         *     
1257         */
1258        public void setLeaseDatabaseLocker(DtoLeaseDatabaseLocker value) {
1259            this.leaseDatabaseLocker = value;
1260        }
1261
1262        /**
1263         * Gets the value of the sharedFileLocker property.
1264         * 
1265         * @return
1266         *     possible object is
1267         *     {@link DtoSharedFileLocker }
1268         *     
1269         */
1270        public DtoSharedFileLocker getSharedFileLocker() {
1271            return sharedFileLocker;
1272        }
1273
1274        /**
1275         * Sets the value of the sharedFileLocker property.
1276         * 
1277         * @param value
1278         *     allowed object is
1279         *     {@link DtoSharedFileLocker }
1280         *     
1281         */
1282        public void setSharedFileLocker(DtoSharedFileLocker value) {
1283            this.sharedFileLocker = value;
1284        }
1285
1286        /**
1287         * Gets the value of the transactDatabaseLocker property.
1288         * 
1289         * @return
1290         *     possible object is
1291         *     {@link DtoTransactDatabaseLocker }
1292         *     
1293         */
1294        public DtoTransactDatabaseLocker getTransactDatabaseLocker() {
1295            return transactDatabaseLocker;
1296        }
1297
1298        /**
1299         * Sets the value of the transactDatabaseLocker property.
1300         * 
1301         * @param value
1302         *     allowed object is
1303         *     {@link DtoTransactDatabaseLocker }
1304         *     
1305         */
1306        public void setTransactDatabaseLocker(DtoTransactDatabaseLocker value) {
1307            this.transactDatabaseLocker = value;
1308        }
1309
1310        /**
1311         * Gets the value of the any property.
1312         * 
1313         * @return
1314         *     possible object is
1315         *     {@link Object }
1316         *     
1317         */
1318        public Object getAny() {
1319            return any;
1320        }
1321
1322        /**
1323         * Sets the value of the any property.
1324         * 
1325         * @param value
1326         *     allowed object is
1327         *     {@link Object }
1328         *     
1329         */
1330        public void setAny(Object value) {
1331            this.any = value;
1332        }
1333
1334        public String toString() {
1335            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1336            final StringBuilder buffer = new StringBuilder();
1337            append(null, buffer, strategy);
1338            return buffer.toString();
1339        }
1340
1341        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1342            strategy.appendStart(locator, this, buffer);
1343            appendFields(locator, buffer, strategy);
1344            strategy.appendEnd(locator, this, buffer);
1345            return buffer;
1346        }
1347
1348        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1349            {
1350                DtoDatabaseLocker theDatabaseLocker;
1351                theDatabaseLocker = this.getDatabaseLocker();
1352                strategy.appendField(locator, this, "databaseLocker", buffer, theDatabaseLocker);
1353            }
1354            {
1355                DtoLeaseDatabaseLocker theLeaseDatabaseLocker;
1356                theLeaseDatabaseLocker = this.getLeaseDatabaseLocker();
1357                strategy.appendField(locator, this, "leaseDatabaseLocker", buffer, theLeaseDatabaseLocker);
1358            }
1359            {
1360                DtoSharedFileLocker theSharedFileLocker;
1361                theSharedFileLocker = this.getSharedFileLocker();
1362                strategy.appendField(locator, this, "sharedFileLocker", buffer, theSharedFileLocker);
1363            }
1364            {
1365                DtoTransactDatabaseLocker theTransactDatabaseLocker;
1366                theTransactDatabaseLocker = this.getTransactDatabaseLocker();
1367                strategy.appendField(locator, this, "transactDatabaseLocker", buffer, theTransactDatabaseLocker);
1368            }
1369            {
1370                Object theAny;
1371                theAny = this.getAny();
1372                strategy.appendField(locator, this, "any", buffer, theAny);
1373            }
1374            return buffer;
1375        }
1376
1377        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1378            int currentHashCode = 1;
1379            {
1380                DtoDatabaseLocker theDatabaseLocker;
1381                theDatabaseLocker = this.getDatabaseLocker();
1382                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "databaseLocker", theDatabaseLocker), currentHashCode, theDatabaseLocker);
1383            }
1384            {
1385                DtoLeaseDatabaseLocker theLeaseDatabaseLocker;
1386                theLeaseDatabaseLocker = this.getLeaseDatabaseLocker();
1387                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "leaseDatabaseLocker", theLeaseDatabaseLocker), currentHashCode, theLeaseDatabaseLocker);
1388            }
1389            {
1390                DtoSharedFileLocker theSharedFileLocker;
1391                theSharedFileLocker = this.getSharedFileLocker();
1392                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sharedFileLocker", theSharedFileLocker), currentHashCode, theSharedFileLocker);
1393            }
1394            {
1395                DtoTransactDatabaseLocker theTransactDatabaseLocker;
1396                theTransactDatabaseLocker = this.getTransactDatabaseLocker();
1397                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "transactDatabaseLocker", theTransactDatabaseLocker), currentHashCode, theTransactDatabaseLocker);
1398            }
1399            {
1400                Object theAny;
1401                theAny = this.getAny();
1402                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1403            }
1404            return currentHashCode;
1405        }
1406
1407        public int hashCode() {
1408            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1409            return this.hashCode(null, strategy);
1410        }
1411
1412        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1413            if (!(object instanceof DtoMKahaDB.Locker)) {
1414                return false;
1415            }
1416            if (this == object) {
1417                return true;
1418            }
1419            final DtoMKahaDB.Locker that = ((DtoMKahaDB.Locker) object);
1420            {
1421                DtoDatabaseLocker lhsDatabaseLocker;
1422                lhsDatabaseLocker = this.getDatabaseLocker();
1423                DtoDatabaseLocker rhsDatabaseLocker;
1424                rhsDatabaseLocker = that.getDatabaseLocker();
1425                if (!strategy.equals(LocatorUtils.property(thisLocator, "databaseLocker", lhsDatabaseLocker), LocatorUtils.property(thatLocator, "databaseLocker", rhsDatabaseLocker), lhsDatabaseLocker, rhsDatabaseLocker)) {
1426                    return false;
1427                }
1428            }
1429            {
1430                DtoLeaseDatabaseLocker lhsLeaseDatabaseLocker;
1431                lhsLeaseDatabaseLocker = this.getLeaseDatabaseLocker();
1432                DtoLeaseDatabaseLocker rhsLeaseDatabaseLocker;
1433                rhsLeaseDatabaseLocker = that.getLeaseDatabaseLocker();
1434                if (!strategy.equals(LocatorUtils.property(thisLocator, "leaseDatabaseLocker", lhsLeaseDatabaseLocker), LocatorUtils.property(thatLocator, "leaseDatabaseLocker", rhsLeaseDatabaseLocker), lhsLeaseDatabaseLocker, rhsLeaseDatabaseLocker)) {
1435                    return false;
1436                }
1437            }
1438            {
1439                DtoSharedFileLocker lhsSharedFileLocker;
1440                lhsSharedFileLocker = this.getSharedFileLocker();
1441                DtoSharedFileLocker rhsSharedFileLocker;
1442                rhsSharedFileLocker = that.getSharedFileLocker();
1443                if (!strategy.equals(LocatorUtils.property(thisLocator, "sharedFileLocker", lhsSharedFileLocker), LocatorUtils.property(thatLocator, "sharedFileLocker", rhsSharedFileLocker), lhsSharedFileLocker, rhsSharedFileLocker)) {
1444                    return false;
1445                }
1446            }
1447            {
1448                DtoTransactDatabaseLocker lhsTransactDatabaseLocker;
1449                lhsTransactDatabaseLocker = this.getTransactDatabaseLocker();
1450                DtoTransactDatabaseLocker rhsTransactDatabaseLocker;
1451                rhsTransactDatabaseLocker = that.getTransactDatabaseLocker();
1452                if (!strategy.equals(LocatorUtils.property(thisLocator, "transactDatabaseLocker", lhsTransactDatabaseLocker), LocatorUtils.property(thatLocator, "transactDatabaseLocker", rhsTransactDatabaseLocker), lhsTransactDatabaseLocker, rhsTransactDatabaseLocker)) {
1453                    return false;
1454                }
1455            }
1456            {
1457                Object lhsAny;
1458                lhsAny = this.getAny();
1459                Object rhsAny;
1460                rhsAny = that.getAny();
1461                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1462                    return false;
1463                }
1464            }
1465            return true;
1466        }
1467
1468        public boolean equals(Object object) {
1469            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1470            return equals(null, null, object, strategy);
1471        }
1472
1473    }
1474
1475
1476    /**
1477     * <p>Java class for anonymous complex type.
1478     * 
1479     * <p>The following schema fragment specifies the expected content contained within this class.
1480     * 
1481     * <pre>
1482     * &lt;complexType>
1483     *   &lt;complexContent>
1484     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1485     *       &lt;sequence minOccurs="0">
1486     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1487     *       &lt;/sequence>
1488     *     &lt;/restriction>
1489     *   &lt;/complexContent>
1490     * &lt;/complexType>
1491     * </pre>
1492     * 
1493     * 
1494     */
1495    @XmlAccessorType(XmlAccessType.FIELD)
1496    @XmlType(name = "", propOrder = {
1497        "any"
1498    })
1499    public static class ScheduledThreadPoolExecutor
1500        implements Equals, HashCode, ToString
1501    {
1502
1503        @XmlAnyElement(lax = true)
1504        protected List<Object> any;
1505
1506        /**
1507         * Gets the value of the any property.
1508         * 
1509         * <p>
1510         * This accessor method returns a reference to the live list,
1511         * not a snapshot. Therefore any modification you make to the
1512         * returned list will be present inside the JAXB object.
1513         * This is why there is not a <CODE>set</CODE> method for the any property.
1514         * 
1515         * <p>
1516         * For example, to add a new item, do as follows:
1517         * <pre>
1518         *    getAny().add(newItem);
1519         * </pre>
1520         * 
1521         * 
1522         * <p>
1523         * Objects of the following type(s) are allowed in the list
1524         * {@link Object }
1525         * 
1526         * 
1527         */
1528        public List<Object> getAny() {
1529            if (any == null) {
1530                any = new ArrayList<Object>();
1531            }
1532            return this.any;
1533        }
1534
1535        public String toString() {
1536            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1537            final StringBuilder buffer = new StringBuilder();
1538            append(null, buffer, strategy);
1539            return buffer.toString();
1540        }
1541
1542        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1543            strategy.appendStart(locator, this, buffer);
1544            appendFields(locator, buffer, strategy);
1545            strategy.appendEnd(locator, this, buffer);
1546            return buffer;
1547        }
1548
1549        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1550            {
1551                List<Object> theAny;
1552                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1553                strategy.appendField(locator, this, "any", buffer, theAny);
1554            }
1555            return buffer;
1556        }
1557
1558        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1559            int currentHashCode = 1;
1560            {
1561                List<Object> theAny;
1562                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1563                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1564            }
1565            return currentHashCode;
1566        }
1567
1568        public int hashCode() {
1569            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1570            return this.hashCode(null, strategy);
1571        }
1572
1573        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1574            if (!(object instanceof DtoMKahaDB.ScheduledThreadPoolExecutor)) {
1575                return false;
1576            }
1577            if (this == object) {
1578                return true;
1579            }
1580            final DtoMKahaDB.ScheduledThreadPoolExecutor that = ((DtoMKahaDB.ScheduledThreadPoolExecutor) object);
1581            {
1582                List<Object> lhsAny;
1583                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1584                List<Object> rhsAny;
1585                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1586                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1587                    return false;
1588                }
1589            }
1590            return true;
1591        }
1592
1593        public boolean equals(Object object) {
1594            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1595            return equals(null, null, object, strategy);
1596        }
1597
1598    }
1599
1600
1601    /**
1602     * <p>Java class for anonymous complex type.
1603     * 
1604     * <p>The following schema fragment specifies the expected content contained within this class.
1605     * 
1606     * <pre>
1607     * &lt;complexType>
1608     *   &lt;complexContent>
1609     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1610     *       &lt;sequence minOccurs="0">
1611     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1612     *       &lt;/sequence>
1613     *     &lt;/restriction>
1614     *   &lt;/complexContent>
1615     * &lt;/complexType>
1616     * </pre>
1617     * 
1618     * 
1619     */
1620    @XmlAccessorType(XmlAccessType.FIELD)
1621    @XmlType(name = "", propOrder = {
1622        "any"
1623    })
1624    public static class TransactionStore
1625        implements Equals, HashCode, ToString
1626    {
1627
1628        @XmlAnyElement(lax = true)
1629        protected List<Object> any;
1630
1631        /**
1632         * Gets the value of the any property.
1633         * 
1634         * <p>
1635         * This accessor method returns a reference to the live list,
1636         * not a snapshot. Therefore any modification you make to the
1637         * returned list will be present inside the JAXB object.
1638         * This is why there is not a <CODE>set</CODE> method for the any property.
1639         * 
1640         * <p>
1641         * For example, to add a new item, do as follows:
1642         * <pre>
1643         *    getAny().add(newItem);
1644         * </pre>
1645         * 
1646         * 
1647         * <p>
1648         * Objects of the following type(s) are allowed in the list
1649         * {@link Object }
1650         * 
1651         * 
1652         */
1653        public List<Object> getAny() {
1654            if (any == null) {
1655                any = new ArrayList<Object>();
1656            }
1657            return this.any;
1658        }
1659
1660        public String toString() {
1661            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1662            final StringBuilder buffer = new StringBuilder();
1663            append(null, buffer, strategy);
1664            return buffer.toString();
1665        }
1666
1667        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1668            strategy.appendStart(locator, this, buffer);
1669            appendFields(locator, buffer, strategy);
1670            strategy.appendEnd(locator, this, buffer);
1671            return buffer;
1672        }
1673
1674        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1675            {
1676                List<Object> theAny;
1677                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1678                strategy.appendField(locator, this, "any", buffer, theAny);
1679            }
1680            return buffer;
1681        }
1682
1683        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1684            int currentHashCode = 1;
1685            {
1686                List<Object> theAny;
1687                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1688                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1689            }
1690            return currentHashCode;
1691        }
1692
1693        public int hashCode() {
1694            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1695            return this.hashCode(null, strategy);
1696        }
1697
1698        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1699            if (!(object instanceof DtoMKahaDB.TransactionStore)) {
1700                return false;
1701            }
1702            if (this == object) {
1703                return true;
1704            }
1705            final DtoMKahaDB.TransactionStore that = ((DtoMKahaDB.TransactionStore) object);
1706            {
1707                List<Object> lhsAny;
1708                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1709                List<Object> rhsAny;
1710                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1711                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1712                    return false;
1713                }
1714            }
1715            return true;
1716        }
1717
1718        public boolean equals(Object object) {
1719            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1720            return equals(null, null, object, strategy);
1721        }
1722
1723    }
1724
1725
1726    /**
1727     * <p>Java class for anonymous complex type.
1728     * 
1729     * <p>The following schema fragment specifies the expected content contained within this class.
1730     * 
1731     * <pre>
1732     * &lt;complexType>
1733     *   &lt;complexContent>
1734     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1735     *       &lt;choice minOccurs="0">
1736     *         &lt;element ref="{http://activemq.apache.org/schema/core}systemUsage"/>
1737     *         &lt;any namespace='##other'/>
1738     *       &lt;/choice>
1739     *     &lt;/restriction>
1740     *   &lt;/complexContent>
1741     * &lt;/complexType>
1742     * </pre>
1743     * 
1744     * 
1745     */
1746    @XmlAccessorType(XmlAccessType.FIELD)
1747    @XmlType(name = "", propOrder = {
1748        "systemUsage",
1749        "any"
1750    })
1751    public static class UsageManager
1752        implements Equals, HashCode, ToString
1753    {
1754
1755        protected DtoSystemUsage systemUsage;
1756        @XmlAnyElement(lax = true)
1757        protected Object any;
1758
1759        /**
1760         * Gets the value of the systemUsage property.
1761         * 
1762         * @return
1763         *     possible object is
1764         *     {@link DtoSystemUsage }
1765         *     
1766         */
1767        public DtoSystemUsage getSystemUsage() {
1768            return systemUsage;
1769        }
1770
1771        /**
1772         * Sets the value of the systemUsage property.
1773         * 
1774         * @param value
1775         *     allowed object is
1776         *     {@link DtoSystemUsage }
1777         *     
1778         */
1779        public void setSystemUsage(DtoSystemUsage value) {
1780            this.systemUsage = value;
1781        }
1782
1783        /**
1784         * Gets the value of the any property.
1785         * 
1786         * @return
1787         *     possible object is
1788         *     {@link Object }
1789         *     
1790         */
1791        public Object getAny() {
1792            return any;
1793        }
1794
1795        /**
1796         * Sets the value of the any property.
1797         * 
1798         * @param value
1799         *     allowed object is
1800         *     {@link Object }
1801         *     
1802         */
1803        public void setAny(Object value) {
1804            this.any = value;
1805        }
1806
1807        public String toString() {
1808            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1809            final StringBuilder buffer = new StringBuilder();
1810            append(null, buffer, strategy);
1811            return buffer.toString();
1812        }
1813
1814        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1815            strategy.appendStart(locator, this, buffer);
1816            appendFields(locator, buffer, strategy);
1817            strategy.appendEnd(locator, this, buffer);
1818            return buffer;
1819        }
1820
1821        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1822            {
1823                DtoSystemUsage theSystemUsage;
1824                theSystemUsage = this.getSystemUsage();
1825                strategy.appendField(locator, this, "systemUsage", buffer, theSystemUsage);
1826            }
1827            {
1828                Object theAny;
1829                theAny = this.getAny();
1830                strategy.appendField(locator, this, "any", buffer, theAny);
1831            }
1832            return buffer;
1833        }
1834
1835        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1836            int currentHashCode = 1;
1837            {
1838                DtoSystemUsage theSystemUsage;
1839                theSystemUsage = this.getSystemUsage();
1840                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "systemUsage", theSystemUsage), currentHashCode, theSystemUsage);
1841            }
1842            {
1843                Object theAny;
1844                theAny = this.getAny();
1845                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1846            }
1847            return currentHashCode;
1848        }
1849
1850        public int hashCode() {
1851            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1852            return this.hashCode(null, strategy);
1853        }
1854
1855        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1856            if (!(object instanceof DtoMKahaDB.UsageManager)) {
1857                return false;
1858            }
1859            if (this == object) {
1860                return true;
1861            }
1862            final DtoMKahaDB.UsageManager that = ((DtoMKahaDB.UsageManager) object);
1863            {
1864                DtoSystemUsage lhsSystemUsage;
1865                lhsSystemUsage = this.getSystemUsage();
1866                DtoSystemUsage rhsSystemUsage;
1867                rhsSystemUsage = that.getSystemUsage();
1868                if (!strategy.equals(LocatorUtils.property(thisLocator, "systemUsage", lhsSystemUsage), LocatorUtils.property(thatLocator, "systemUsage", rhsSystemUsage), lhsSystemUsage, rhsSystemUsage)) {
1869                    return false;
1870                }
1871            }
1872            {
1873                Object lhsAny;
1874                lhsAny = this.getAny();
1875                Object rhsAny;
1876                rhsAny = that.getAny();
1877                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1878                    return false;
1879                }
1880            }
1881            return true;
1882        }
1883
1884        public boolean equals(Object object) {
1885            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1886            return equals(null, null, object, strategy);
1887        }
1888
1889    }
1890
1891}