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