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.math.BigInteger;
012    import java.util.ArrayList;
013    import java.util.HashMap;
014    import java.util.List;
015    import java.util.Map;
016    import javax.xml.bind.JAXBElement;
017    import javax.xml.bind.annotation.XmlAccessType;
018    import javax.xml.bind.annotation.XmlAccessorType;
019    import javax.xml.bind.annotation.XmlAnyAttribute;
020    import javax.xml.bind.annotation.XmlAnyElement;
021    import javax.xml.bind.annotation.XmlAttribute;
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="journal" minOccurs="0">
068     *             &lt;complexType>
069     *               &lt;complexContent>
070     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
071     *                   &lt;sequence 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="longTermPersistence" 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}jdbcPersistenceAdapter"/>
084     *                     &lt;element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/>
085     *                     &lt;element ref="{http://activemq.apache.org/schema/core}kahaDB"/>
086     *                     &lt;element ref="{http://activemq.apache.org/schema/core}levelDB"/>
087     *                     &lt;element ref="{http://activemq.apache.org/schema/core}mKahaDB"/>
088     *                     &lt;element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/>
089     *                     &lt;element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/>
090     *                     &lt;any namespace='##other'/>
091     *                   &lt;/choice>
092     *                 &lt;/restriction>
093     *               &lt;/complexContent>
094     *             &lt;/complexType>
095     *           &lt;/element>
096     *           &lt;element name="persistenceAdapter" minOccurs="0">
097     *             &lt;complexType>
098     *               &lt;complexContent>
099     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
100     *                   &lt;choice minOccurs="0">
101     *                     &lt;element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/>
102     *                     &lt;element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/>
103     *                     &lt;element ref="{http://activemq.apache.org/schema/core}kahaDB"/>
104     *                     &lt;element ref="{http://activemq.apache.org/schema/core}levelDB"/>
105     *                     &lt;element ref="{http://activemq.apache.org/schema/core}mKahaDB"/>
106     *                     &lt;element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/>
107     *                     &lt;element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/>
108     *                     &lt;any namespace='##other'/>
109     *                   &lt;/choice>
110     *                 &lt;/restriction>
111     *               &lt;/complexContent>
112     *             &lt;/complexType>
113     *           &lt;/element>
114     *           &lt;element name="taskRunnerFactory" minOccurs="0">
115     *             &lt;complexType>
116     *               &lt;complexContent>
117     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
118     *                   &lt;choice minOccurs="0">
119     *                     &lt;element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/>
120     *                     &lt;any namespace='##other'/>
121     *                   &lt;/choice>
122     *                 &lt;/restriction>
123     *               &lt;/complexContent>
124     *             &lt;/complexType>
125     *           &lt;/element>
126     *           &lt;element name="usageManager" minOccurs="0">
127     *             &lt;complexType>
128     *               &lt;complexContent>
129     *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
130     *                   &lt;choice minOccurs="0">
131     *                     &lt;element ref="{http://activemq.apache.org/schema/core}systemUsage"/>
132     *                     &lt;any namespace='##other'/>
133     *                   &lt;/choice>
134     *                 &lt;/restriction>
135     *               &lt;/complexContent>
136     *             &lt;/complexType>
137     *           &lt;/element>
138     *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
139     *         &lt;/choice>
140     *       &lt;/choice>
141     *       &lt;attribute name="brokerName" type="{http://www.w3.org/2001/XMLSchema}string" />
142     *       &lt;attribute name="brokerService" type="{http://www.w3.org/2001/XMLSchema}string" />
143     *       &lt;attribute name="directory" type="{http://www.w3.org/2001/XMLSchema}string" />
144     *       &lt;attribute name="journal" type="{http://www.w3.org/2001/XMLSchema}string" />
145     *       &lt;attribute name="longTermPersistence" type="{http://www.w3.org/2001/XMLSchema}string" />
146     *       &lt;attribute name="maxCheckpointMessageAddSize" type="{http://www.w3.org/2001/XMLSchema}integer" />
147     *       &lt;attribute name="maxCheckpointWorkers" type="{http://www.w3.org/2001/XMLSchema}integer" />
148     *       &lt;attribute name="persistenceAdapter" type="{http://www.w3.org/2001/XMLSchema}string" />
149     *       &lt;attribute name="taskRunnerFactory" type="{http://www.w3.org/2001/XMLSchema}string" />
150     *       &lt;attribute name="usageManager" type="{http://www.w3.org/2001/XMLSchema}string" />
151     *       &lt;attribute name="useExternalMessageReferences" type="{http://www.w3.org/2001/XMLSchema}boolean" />
152     *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
153     *       &lt;anyAttribute processContents='lax' namespace='##other'/>
154     *     &lt;/restriction>
155     *   &lt;/complexContent>
156     * &lt;/complexType>
157     * </pre>
158     * 
159     * 
160     */
161    @XmlAccessorType(XmlAccessType.FIELD)
162    @XmlType(name = "", propOrder = {
163        "brokerServiceOrJournalOrLongTermPersistence"
164    })
165    @XmlRootElement(name = "journalPersistenceAdapter")
166    public class DtoJournalPersistenceAdapter
167        implements Equals, HashCode, ToString
168    {
169    
170        @XmlElementRefs({
171            @XmlElementRef(name = "longTermPersistence", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
172            @XmlElementRef(name = "brokerService", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
173            @XmlElementRef(name = "journal", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
174            @XmlElementRef(name = "usageManager", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
175            @XmlElementRef(name = "taskRunnerFactory", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class),
176            @XmlElementRef(name = "persistenceAdapter", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class)
177        })
178        @XmlAnyElement(lax = true)
179        protected List<Object> brokerServiceOrJournalOrLongTermPersistence;
180        @XmlAttribute(name = "brokerName")
181        protected String brokerName;
182        @XmlAttribute(name = "brokerService")
183        protected String brokerService;
184        @XmlAttribute(name = "directory")
185        protected String directory;
186        @XmlAttribute(name = "journal")
187        protected String journal;
188        @XmlAttribute(name = "longTermPersistence")
189        protected String longTermPersistence;
190        @XmlAttribute(name = "maxCheckpointMessageAddSize")
191        protected BigInteger maxCheckpointMessageAddSize;
192        @XmlAttribute(name = "maxCheckpointWorkers")
193        protected BigInteger maxCheckpointWorkers;
194        @XmlAttribute(name = "persistenceAdapter")
195        protected String persistenceAdapter;
196        @XmlAttribute(name = "taskRunnerFactory")
197        protected String taskRunnerFactory;
198        @XmlAttribute(name = "usageManager")
199        protected String usageManager;
200        @XmlAttribute(name = "useExternalMessageReferences")
201        protected Boolean useExternalMessageReferences;
202        @XmlAttribute(name = "id")
203        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
204        @XmlID
205        @XmlSchemaType(name = "ID")
206        protected String id;
207        @XmlAnyAttribute
208        private Map<QName, String> otherAttributes = new HashMap<QName, String>();
209    
210        /**
211         * Gets the value of the brokerServiceOrJournalOrLongTermPersistence property.
212         * 
213         * <p>
214         * This accessor method returns a reference to the live list,
215         * not a snapshot. Therefore any modification you make to the
216         * returned list will be present inside the JAXB object.
217         * This is why there is not a <CODE>set</CODE> method for the brokerServiceOrJournalOrLongTermPersistence property.
218         * 
219         * <p>
220         * For example, to add a new item, do as follows:
221         * <pre>
222         *    getBrokerServiceOrJournalOrLongTermPersistence().add(newItem);
223         * </pre>
224         * 
225         * 
226         * <p>
227         * Objects of the following type(s) are allowed in the list
228         * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.LongTermPersistence }{@code >}
229         * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.BrokerService }{@code >}
230         * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.Journal }{@code >}
231         * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.UsageManager }{@code >}
232         * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.TaskRunnerFactory }{@code >}
233         * {@link JAXBElement }{@code <}{@link DtoJournalPersistenceAdapter.PersistenceAdapter }{@code >}
234         * {@link Object }
235         * 
236         * 
237         */
238        public List<Object> getBrokerServiceOrJournalOrLongTermPersistence() {
239            if (brokerServiceOrJournalOrLongTermPersistence == null) {
240                brokerServiceOrJournalOrLongTermPersistence = new ArrayList<Object>();
241            }
242            return this.brokerServiceOrJournalOrLongTermPersistence;
243        }
244    
245        /**
246         * Gets the value of the brokerName property.
247         * 
248         * @return
249         *     possible object is
250         *     {@link String }
251         *     
252         */
253        public String getBrokerName() {
254            return brokerName;
255        }
256    
257        /**
258         * Sets the value of the brokerName property.
259         * 
260         * @param value
261         *     allowed object is
262         *     {@link String }
263         *     
264         */
265        public void setBrokerName(String value) {
266            this.brokerName = value;
267        }
268    
269        /**
270         * Gets the value of the brokerService property.
271         * 
272         * @return
273         *     possible object is
274         *     {@link String }
275         *     
276         */
277        public String getBrokerService() {
278            return brokerService;
279        }
280    
281        /**
282         * Sets the value of the brokerService property.
283         * 
284         * @param value
285         *     allowed object is
286         *     {@link String }
287         *     
288         */
289        public void setBrokerService(String value) {
290            this.brokerService = value;
291        }
292    
293        /**
294         * Gets the value of the directory property.
295         * 
296         * @return
297         *     possible object is
298         *     {@link String }
299         *     
300         */
301        public String getDirectory() {
302            return directory;
303        }
304    
305        /**
306         * Sets the value of the directory property.
307         * 
308         * @param value
309         *     allowed object is
310         *     {@link String }
311         *     
312         */
313        public void setDirectory(String value) {
314            this.directory = value;
315        }
316    
317        /**
318         * Gets the value of the journal property.
319         * 
320         * @return
321         *     possible object is
322         *     {@link String }
323         *     
324         */
325        public String getJournal() {
326            return journal;
327        }
328    
329        /**
330         * Sets the value of the journal property.
331         * 
332         * @param value
333         *     allowed object is
334         *     {@link String }
335         *     
336         */
337        public void setJournal(String value) {
338            this.journal = value;
339        }
340    
341        /**
342         * Gets the value of the longTermPersistence property.
343         * 
344         * @return
345         *     possible object is
346         *     {@link String }
347         *     
348         */
349        public String getLongTermPersistence() {
350            return longTermPersistence;
351        }
352    
353        /**
354         * Sets the value of the longTermPersistence property.
355         * 
356         * @param value
357         *     allowed object is
358         *     {@link String }
359         *     
360         */
361        public void setLongTermPersistence(String value) {
362            this.longTermPersistence = value;
363        }
364    
365        /**
366         * Gets the value of the maxCheckpointMessageAddSize property.
367         * 
368         * @return
369         *     possible object is
370         *     {@link BigInteger }
371         *     
372         */
373        public BigInteger getMaxCheckpointMessageAddSize() {
374            return maxCheckpointMessageAddSize;
375        }
376    
377        /**
378         * Sets the value of the maxCheckpointMessageAddSize property.
379         * 
380         * @param value
381         *     allowed object is
382         *     {@link BigInteger }
383         *     
384         */
385        public void setMaxCheckpointMessageAddSize(BigInteger value) {
386            this.maxCheckpointMessageAddSize = value;
387        }
388    
389        /**
390         * Gets the value of the maxCheckpointWorkers property.
391         * 
392         * @return
393         *     possible object is
394         *     {@link BigInteger }
395         *     
396         */
397        public BigInteger getMaxCheckpointWorkers() {
398            return maxCheckpointWorkers;
399        }
400    
401        /**
402         * Sets the value of the maxCheckpointWorkers property.
403         * 
404         * @param value
405         *     allowed object is
406         *     {@link BigInteger }
407         *     
408         */
409        public void setMaxCheckpointWorkers(BigInteger value) {
410            this.maxCheckpointWorkers = value;
411        }
412    
413        /**
414         * Gets the value of the persistenceAdapter property.
415         * 
416         * @return
417         *     possible object is
418         *     {@link String }
419         *     
420         */
421        public String getPersistenceAdapter() {
422            return persistenceAdapter;
423        }
424    
425        /**
426         * Sets the value of the persistenceAdapter property.
427         * 
428         * @param value
429         *     allowed object is
430         *     {@link String }
431         *     
432         */
433        public void setPersistenceAdapter(String value) {
434            this.persistenceAdapter = value;
435        }
436    
437        /**
438         * Gets the value of the taskRunnerFactory property.
439         * 
440         * @return
441         *     possible object is
442         *     {@link String }
443         *     
444         */
445        public String getTaskRunnerFactory() {
446            return taskRunnerFactory;
447        }
448    
449        /**
450         * Sets the value of the taskRunnerFactory property.
451         * 
452         * @param value
453         *     allowed object is
454         *     {@link String }
455         *     
456         */
457        public void setTaskRunnerFactory(String value) {
458            this.taskRunnerFactory = value;
459        }
460    
461        /**
462         * Gets the value of the usageManager property.
463         * 
464         * @return
465         *     possible object is
466         *     {@link String }
467         *     
468         */
469        public String getUsageManager() {
470            return usageManager;
471        }
472    
473        /**
474         * Sets the value of the usageManager property.
475         * 
476         * @param value
477         *     allowed object is
478         *     {@link String }
479         *     
480         */
481        public void setUsageManager(String value) {
482            this.usageManager = value;
483        }
484    
485        /**
486         * Gets the value of the useExternalMessageReferences property.
487         * 
488         * @return
489         *     possible object is
490         *     {@link Boolean }
491         *     
492         */
493        public Boolean isUseExternalMessageReferences() {
494            return useExternalMessageReferences;
495        }
496    
497        /**
498         * Sets the value of the useExternalMessageReferences property.
499         * 
500         * @param value
501         *     allowed object is
502         *     {@link Boolean }
503         *     
504         */
505        public void setUseExternalMessageReferences(Boolean value) {
506            this.useExternalMessageReferences = value;
507        }
508    
509        /**
510         * Gets the value of the id property.
511         * 
512         * @return
513         *     possible object is
514         *     {@link String }
515         *     
516         */
517        public String getId() {
518            return id;
519        }
520    
521        /**
522         * Sets the value of the id property.
523         * 
524         * @param value
525         *     allowed object is
526         *     {@link String }
527         *     
528         */
529        public void setId(String value) {
530            this.id = value;
531        }
532    
533        /**
534         * Gets a map that contains attributes that aren't bound to any typed property on this class.
535         * 
536         * <p>
537         * the map is keyed by the name of the attribute and 
538         * the value is the string value of the attribute.
539         * 
540         * the map returned by this method is live, and you can add new attribute
541         * by updating the map directly. Because of this design, there's no setter.
542         * 
543         * 
544         * @return
545         *     always non-null
546         */
547        public Map<QName, String> getOtherAttributes() {
548            return otherAttributes;
549        }
550    
551        public String toString() {
552            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
553            final StringBuilder buffer = new StringBuilder();
554            append(null, buffer, strategy);
555            return buffer.toString();
556        }
557    
558        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
559            strategy.appendStart(locator, this, buffer);
560            appendFields(locator, buffer, strategy);
561            strategy.appendEnd(locator, this, buffer);
562            return buffer;
563        }
564    
565        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
566            {
567                List<Object> theBrokerServiceOrJournalOrLongTermPersistence;
568                theBrokerServiceOrJournalOrLongTermPersistence = (((this.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!this.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?this.getBrokerServiceOrJournalOrLongTermPersistence():null);
569                strategy.appendField(locator, this, "brokerServiceOrJournalOrLongTermPersistence", buffer, theBrokerServiceOrJournalOrLongTermPersistence);
570            }
571            {
572                String theBrokerName;
573                theBrokerName = this.getBrokerName();
574                strategy.appendField(locator, this, "brokerName", buffer, theBrokerName);
575            }
576            {
577                String theBrokerService;
578                theBrokerService = this.getBrokerService();
579                strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
580            }
581            {
582                String theDirectory;
583                theDirectory = this.getDirectory();
584                strategy.appendField(locator, this, "directory", buffer, theDirectory);
585            }
586            {
587                String theJournal;
588                theJournal = this.getJournal();
589                strategy.appendField(locator, this, "journal", buffer, theJournal);
590            }
591            {
592                String theLongTermPersistence;
593                theLongTermPersistence = this.getLongTermPersistence();
594                strategy.appendField(locator, this, "longTermPersistence", buffer, theLongTermPersistence);
595            }
596            {
597                BigInteger theMaxCheckpointMessageAddSize;
598                theMaxCheckpointMessageAddSize = this.getMaxCheckpointMessageAddSize();
599                strategy.appendField(locator, this, "maxCheckpointMessageAddSize", buffer, theMaxCheckpointMessageAddSize);
600            }
601            {
602                BigInteger theMaxCheckpointWorkers;
603                theMaxCheckpointWorkers = this.getMaxCheckpointWorkers();
604                strategy.appendField(locator, this, "maxCheckpointWorkers", buffer, theMaxCheckpointWorkers);
605            }
606            {
607                String thePersistenceAdapter;
608                thePersistenceAdapter = this.getPersistenceAdapter();
609                strategy.appendField(locator, this, "persistenceAdapter", buffer, thePersistenceAdapter);
610            }
611            {
612                String theTaskRunnerFactory;
613                theTaskRunnerFactory = this.getTaskRunnerFactory();
614                strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory);
615            }
616            {
617                String theUsageManager;
618                theUsageManager = this.getUsageManager();
619                strategy.appendField(locator, this, "usageManager", buffer, theUsageManager);
620            }
621            {
622                Boolean theUseExternalMessageReferences;
623                theUseExternalMessageReferences = this.isUseExternalMessageReferences();
624                strategy.appendField(locator, this, "useExternalMessageReferences", buffer, theUseExternalMessageReferences);
625            }
626            {
627                String theId;
628                theId = this.getId();
629                strategy.appendField(locator, this, "id", buffer, theId);
630            }
631            return buffer;
632        }
633    
634        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
635            int currentHashCode = 1;
636            {
637                List<Object> theBrokerServiceOrJournalOrLongTermPersistence;
638                theBrokerServiceOrJournalOrLongTermPersistence = (((this.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!this.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?this.getBrokerServiceOrJournalOrLongTermPersistence():null);
639                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerServiceOrJournalOrLongTermPersistence", theBrokerServiceOrJournalOrLongTermPersistence), currentHashCode, theBrokerServiceOrJournalOrLongTermPersistence);
640            }
641            {
642                String theBrokerName;
643                theBrokerName = this.getBrokerName();
644                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerName", theBrokerName), currentHashCode, theBrokerName);
645            }
646            {
647                String theBrokerService;
648                theBrokerService = this.getBrokerService();
649                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
650            }
651            {
652                String theDirectory;
653                theDirectory = this.getDirectory();
654                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "directory", theDirectory), currentHashCode, theDirectory);
655            }
656            {
657                String theJournal;
658                theJournal = this.getJournal();
659                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journal", theJournal), currentHashCode, theJournal);
660            }
661            {
662                String theLongTermPersistence;
663                theLongTermPersistence = this.getLongTermPersistence();
664                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "longTermPersistence", theLongTermPersistence), currentHashCode, theLongTermPersistence);
665            }
666            {
667                BigInteger theMaxCheckpointMessageAddSize;
668                theMaxCheckpointMessageAddSize = this.getMaxCheckpointMessageAddSize();
669                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxCheckpointMessageAddSize", theMaxCheckpointMessageAddSize), currentHashCode, theMaxCheckpointMessageAddSize);
670            }
671            {
672                BigInteger theMaxCheckpointWorkers;
673                theMaxCheckpointWorkers = this.getMaxCheckpointWorkers();
674                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "maxCheckpointWorkers", theMaxCheckpointWorkers), currentHashCode, theMaxCheckpointWorkers);
675            }
676            {
677                String thePersistenceAdapter;
678                thePersistenceAdapter = this.getPersistenceAdapter();
679                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "persistenceAdapter", thePersistenceAdapter), currentHashCode, thePersistenceAdapter);
680            }
681            {
682                String theTaskRunnerFactory;
683                theTaskRunnerFactory = this.getTaskRunnerFactory();
684                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory);
685            }
686            {
687                String theUsageManager;
688                theUsageManager = this.getUsageManager();
689                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "usageManager", theUsageManager), currentHashCode, theUsageManager);
690            }
691            {
692                Boolean theUseExternalMessageReferences;
693                theUseExternalMessageReferences = this.isUseExternalMessageReferences();
694                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useExternalMessageReferences", theUseExternalMessageReferences), currentHashCode, theUseExternalMessageReferences);
695            }
696            {
697                String theId;
698                theId = this.getId();
699                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
700            }
701            return currentHashCode;
702        }
703    
704        public int hashCode() {
705            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
706            return this.hashCode(null, strategy);
707        }
708    
709        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
710            if (!(object instanceof DtoJournalPersistenceAdapter)) {
711                return false;
712            }
713            if (this == object) {
714                return true;
715            }
716            final DtoJournalPersistenceAdapter that = ((DtoJournalPersistenceAdapter) object);
717            {
718                List<Object> lhsBrokerServiceOrJournalOrLongTermPersistence;
719                lhsBrokerServiceOrJournalOrLongTermPersistence = (((this.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!this.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?this.getBrokerServiceOrJournalOrLongTermPersistence():null);
720                List<Object> rhsBrokerServiceOrJournalOrLongTermPersistence;
721                rhsBrokerServiceOrJournalOrLongTermPersistence = (((that.brokerServiceOrJournalOrLongTermPersistence!= null)&&(!that.brokerServiceOrJournalOrLongTermPersistence.isEmpty()))?that.getBrokerServiceOrJournalOrLongTermPersistence():null);
722                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerServiceOrJournalOrLongTermPersistence", lhsBrokerServiceOrJournalOrLongTermPersistence), LocatorUtils.property(thatLocator, "brokerServiceOrJournalOrLongTermPersistence", rhsBrokerServiceOrJournalOrLongTermPersistence), lhsBrokerServiceOrJournalOrLongTermPersistence, rhsBrokerServiceOrJournalOrLongTermPersistence)) {
723                    return false;
724                }
725            }
726            {
727                String lhsBrokerName;
728                lhsBrokerName = this.getBrokerName();
729                String rhsBrokerName;
730                rhsBrokerName = that.getBrokerName();
731                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerName", lhsBrokerName), LocatorUtils.property(thatLocator, "brokerName", rhsBrokerName), lhsBrokerName, rhsBrokerName)) {
732                    return false;
733                }
734            }
735            {
736                String lhsBrokerService;
737                lhsBrokerService = this.getBrokerService();
738                String rhsBrokerService;
739                rhsBrokerService = that.getBrokerService();
740                if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
741                    return false;
742                }
743            }
744            {
745                String lhsDirectory;
746                lhsDirectory = this.getDirectory();
747                String rhsDirectory;
748                rhsDirectory = that.getDirectory();
749                if (!strategy.equals(LocatorUtils.property(thisLocator, "directory", lhsDirectory), LocatorUtils.property(thatLocator, "directory", rhsDirectory), lhsDirectory, rhsDirectory)) {
750                    return false;
751                }
752            }
753            {
754                String lhsJournal;
755                lhsJournal = this.getJournal();
756                String rhsJournal;
757                rhsJournal = that.getJournal();
758                if (!strategy.equals(LocatorUtils.property(thisLocator, "journal", lhsJournal), LocatorUtils.property(thatLocator, "journal", rhsJournal), lhsJournal, rhsJournal)) {
759                    return false;
760                }
761            }
762            {
763                String lhsLongTermPersistence;
764                lhsLongTermPersistence = this.getLongTermPersistence();
765                String rhsLongTermPersistence;
766                rhsLongTermPersistence = that.getLongTermPersistence();
767                if (!strategy.equals(LocatorUtils.property(thisLocator, "longTermPersistence", lhsLongTermPersistence), LocatorUtils.property(thatLocator, "longTermPersistence", rhsLongTermPersistence), lhsLongTermPersistence, rhsLongTermPersistence)) {
768                    return false;
769                }
770            }
771            {
772                BigInteger lhsMaxCheckpointMessageAddSize;
773                lhsMaxCheckpointMessageAddSize = this.getMaxCheckpointMessageAddSize();
774                BigInteger rhsMaxCheckpointMessageAddSize;
775                rhsMaxCheckpointMessageAddSize = that.getMaxCheckpointMessageAddSize();
776                if (!strategy.equals(LocatorUtils.property(thisLocator, "maxCheckpointMessageAddSize", lhsMaxCheckpointMessageAddSize), LocatorUtils.property(thatLocator, "maxCheckpointMessageAddSize", rhsMaxCheckpointMessageAddSize), lhsMaxCheckpointMessageAddSize, rhsMaxCheckpointMessageAddSize)) {
777                    return false;
778                }
779            }
780            {
781                BigInteger lhsMaxCheckpointWorkers;
782                lhsMaxCheckpointWorkers = this.getMaxCheckpointWorkers();
783                BigInteger rhsMaxCheckpointWorkers;
784                rhsMaxCheckpointWorkers = that.getMaxCheckpointWorkers();
785                if (!strategy.equals(LocatorUtils.property(thisLocator, "maxCheckpointWorkers", lhsMaxCheckpointWorkers), LocatorUtils.property(thatLocator, "maxCheckpointWorkers", rhsMaxCheckpointWorkers), lhsMaxCheckpointWorkers, rhsMaxCheckpointWorkers)) {
786                    return false;
787                }
788            }
789            {
790                String lhsPersistenceAdapter;
791                lhsPersistenceAdapter = this.getPersistenceAdapter();
792                String rhsPersistenceAdapter;
793                rhsPersistenceAdapter = that.getPersistenceAdapter();
794                if (!strategy.equals(LocatorUtils.property(thisLocator, "persistenceAdapter", lhsPersistenceAdapter), LocatorUtils.property(thatLocator, "persistenceAdapter", rhsPersistenceAdapter), lhsPersistenceAdapter, rhsPersistenceAdapter)) {
795                    return false;
796                }
797            }
798            {
799                String lhsTaskRunnerFactory;
800                lhsTaskRunnerFactory = this.getTaskRunnerFactory();
801                String rhsTaskRunnerFactory;
802                rhsTaskRunnerFactory = that.getTaskRunnerFactory();
803                if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) {
804                    return false;
805                }
806            }
807            {
808                String lhsUsageManager;
809                lhsUsageManager = this.getUsageManager();
810                String rhsUsageManager;
811                rhsUsageManager = that.getUsageManager();
812                if (!strategy.equals(LocatorUtils.property(thisLocator, "usageManager", lhsUsageManager), LocatorUtils.property(thatLocator, "usageManager", rhsUsageManager), lhsUsageManager, rhsUsageManager)) {
813                    return false;
814                }
815            }
816            {
817                Boolean lhsUseExternalMessageReferences;
818                lhsUseExternalMessageReferences = this.isUseExternalMessageReferences();
819                Boolean rhsUseExternalMessageReferences;
820                rhsUseExternalMessageReferences = that.isUseExternalMessageReferences();
821                if (!strategy.equals(LocatorUtils.property(thisLocator, "useExternalMessageReferences", lhsUseExternalMessageReferences), LocatorUtils.property(thatLocator, "useExternalMessageReferences", rhsUseExternalMessageReferences), lhsUseExternalMessageReferences, rhsUseExternalMessageReferences)) {
822                    return false;
823                }
824            }
825            {
826                String lhsId;
827                lhsId = this.getId();
828                String rhsId;
829                rhsId = that.getId();
830                if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
831                    return false;
832                }
833            }
834            return true;
835        }
836    
837        public boolean equals(Object object) {
838            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
839            return equals(null, null, object, strategy);
840        }
841    
842    
843        /**
844         * <p>Java class for anonymous complex type.
845         * 
846         * <p>The following schema fragment specifies the expected content contained within this class.
847         * 
848         * <pre>
849         * &lt;complexType>
850         *   &lt;complexContent>
851         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
852         *       &lt;choice minOccurs="0">
853         *         &lt;element ref="{http://activemq.apache.org/schema/core}broker"/>
854         *         &lt;element ref="{http://activemq.apache.org/schema/core}brokerService"/>
855         *         &lt;any namespace='##other'/>
856         *       &lt;/choice>
857         *     &lt;/restriction>
858         *   &lt;/complexContent>
859         * &lt;/complexType>
860         * </pre>
861         * 
862         * 
863         */
864        @XmlAccessorType(XmlAccessType.FIELD)
865        @XmlType(name = "", propOrder = {
866            "broker",
867            "brokerService",
868            "any"
869        })
870        public static class BrokerService
871            implements Equals, HashCode, ToString
872        {
873    
874            protected DtoBroker broker;
875            protected DtoBrokerService brokerService;
876            @XmlAnyElement(lax = true)
877            protected Object any;
878    
879            /**
880             * Gets the value of the broker property.
881             * 
882             * @return
883             *     possible object is
884             *     {@link DtoBroker }
885             *     
886             */
887            public DtoBroker getBroker() {
888                return broker;
889            }
890    
891            /**
892             * Sets the value of the broker property.
893             * 
894             * @param value
895             *     allowed object is
896             *     {@link DtoBroker }
897             *     
898             */
899            public void setBroker(DtoBroker value) {
900                this.broker = value;
901            }
902    
903            /**
904             * Gets the value of the brokerService property.
905             * 
906             * @return
907             *     possible object is
908             *     {@link DtoBrokerService }
909             *     
910             */
911            public DtoBrokerService getBrokerService() {
912                return brokerService;
913            }
914    
915            /**
916             * Sets the value of the brokerService property.
917             * 
918             * @param value
919             *     allowed object is
920             *     {@link DtoBrokerService }
921             *     
922             */
923            public void setBrokerService(DtoBrokerService value) {
924                this.brokerService = value;
925            }
926    
927            /**
928             * Gets the value of the any property.
929             * 
930             * @return
931             *     possible object is
932             *     {@link Object }
933             *     
934             */
935            public Object getAny() {
936                return any;
937            }
938    
939            /**
940             * Sets the value of the any property.
941             * 
942             * @param value
943             *     allowed object is
944             *     {@link Object }
945             *     
946             */
947            public void setAny(Object value) {
948                this.any = value;
949            }
950    
951            public String toString() {
952                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
953                final StringBuilder buffer = new StringBuilder();
954                append(null, buffer, strategy);
955                return buffer.toString();
956            }
957    
958            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
959                strategy.appendStart(locator, this, buffer);
960                appendFields(locator, buffer, strategy);
961                strategy.appendEnd(locator, this, buffer);
962                return buffer;
963            }
964    
965            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
966                {
967                    DtoBroker theBroker;
968                    theBroker = this.getBroker();
969                    strategy.appendField(locator, this, "broker", buffer, theBroker);
970                }
971                {
972                    DtoBrokerService theBrokerService;
973                    theBrokerService = this.getBrokerService();
974                    strategy.appendField(locator, this, "brokerService", buffer, theBrokerService);
975                }
976                {
977                    Object theAny;
978                    theAny = this.getAny();
979                    strategy.appendField(locator, this, "any", buffer, theAny);
980                }
981                return buffer;
982            }
983    
984            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
985                int currentHashCode = 1;
986                {
987                    DtoBroker theBroker;
988                    theBroker = this.getBroker();
989                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "broker", theBroker), currentHashCode, theBroker);
990                }
991                {
992                    DtoBrokerService theBrokerService;
993                    theBrokerService = this.getBrokerService();
994                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerService", theBrokerService), currentHashCode, theBrokerService);
995                }
996                {
997                    Object theAny;
998                    theAny = this.getAny();
999                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1000                }
1001                return currentHashCode;
1002            }
1003    
1004            public int hashCode() {
1005                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1006                return this.hashCode(null, strategy);
1007            }
1008    
1009            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1010                if (!(object instanceof DtoJournalPersistenceAdapter.BrokerService)) {
1011                    return false;
1012                }
1013                if (this == object) {
1014                    return true;
1015                }
1016                final DtoJournalPersistenceAdapter.BrokerService that = ((DtoJournalPersistenceAdapter.BrokerService) object);
1017                {
1018                    DtoBroker lhsBroker;
1019                    lhsBroker = this.getBroker();
1020                    DtoBroker rhsBroker;
1021                    rhsBroker = that.getBroker();
1022                    if (!strategy.equals(LocatorUtils.property(thisLocator, "broker", lhsBroker), LocatorUtils.property(thatLocator, "broker", rhsBroker), lhsBroker, rhsBroker)) {
1023                        return false;
1024                    }
1025                }
1026                {
1027                    DtoBrokerService lhsBrokerService;
1028                    lhsBrokerService = this.getBrokerService();
1029                    DtoBrokerService rhsBrokerService;
1030                    rhsBrokerService = that.getBrokerService();
1031                    if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerService", lhsBrokerService), LocatorUtils.property(thatLocator, "brokerService", rhsBrokerService), lhsBrokerService, rhsBrokerService)) {
1032                        return false;
1033                    }
1034                }
1035                {
1036                    Object lhsAny;
1037                    lhsAny = this.getAny();
1038                    Object rhsAny;
1039                    rhsAny = that.getAny();
1040                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1041                        return false;
1042                    }
1043                }
1044                return true;
1045            }
1046    
1047            public boolean equals(Object object) {
1048                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1049                return equals(null, null, object, strategy);
1050            }
1051    
1052        }
1053    
1054    
1055        /**
1056         * <p>Java class for anonymous complex type.
1057         * 
1058         * <p>The following schema fragment specifies the expected content contained within this class.
1059         * 
1060         * <pre>
1061         * &lt;complexType>
1062         *   &lt;complexContent>
1063         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1064         *       &lt;sequence minOccurs="0">
1065         *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1066         *       &lt;/sequence>
1067         *     &lt;/restriction>
1068         *   &lt;/complexContent>
1069         * &lt;/complexType>
1070         * </pre>
1071         * 
1072         * 
1073         */
1074        @XmlAccessorType(XmlAccessType.FIELD)
1075        @XmlType(name = "", propOrder = {
1076            "any"
1077        })
1078        public static class Journal
1079            implements Equals, HashCode, ToString
1080        {
1081    
1082            @XmlAnyElement(lax = true)
1083            protected List<Object> any;
1084    
1085            /**
1086             * Gets the value of the any property.
1087             * 
1088             * <p>
1089             * This accessor method returns a reference to the live list,
1090             * not a snapshot. Therefore any modification you make to the
1091             * returned list will be present inside the JAXB object.
1092             * This is why there is not a <CODE>set</CODE> method for the any property.
1093             * 
1094             * <p>
1095             * For example, to add a new item, do as follows:
1096             * <pre>
1097             *    getAny().add(newItem);
1098             * </pre>
1099             * 
1100             * 
1101             * <p>
1102             * Objects of the following type(s) are allowed in the list
1103             * {@link Object }
1104             * 
1105             * 
1106             */
1107            public List<Object> getAny() {
1108                if (any == null) {
1109                    any = new ArrayList<Object>();
1110                }
1111                return this.any;
1112            }
1113    
1114            public String toString() {
1115                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1116                final StringBuilder buffer = new StringBuilder();
1117                append(null, buffer, strategy);
1118                return buffer.toString();
1119            }
1120    
1121            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1122                strategy.appendStart(locator, this, buffer);
1123                appendFields(locator, buffer, strategy);
1124                strategy.appendEnd(locator, this, buffer);
1125                return buffer;
1126            }
1127    
1128            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1129                {
1130                    List<Object> theAny;
1131                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1132                    strategy.appendField(locator, this, "any", buffer, theAny);
1133                }
1134                return buffer;
1135            }
1136    
1137            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1138                int currentHashCode = 1;
1139                {
1140                    List<Object> theAny;
1141                    theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1142                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1143                }
1144                return currentHashCode;
1145            }
1146    
1147            public int hashCode() {
1148                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1149                return this.hashCode(null, strategy);
1150            }
1151    
1152            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1153                if (!(object instanceof DtoJournalPersistenceAdapter.Journal)) {
1154                    return false;
1155                }
1156                if (this == object) {
1157                    return true;
1158                }
1159                final DtoJournalPersistenceAdapter.Journal that = ((DtoJournalPersistenceAdapter.Journal) object);
1160                {
1161                    List<Object> lhsAny;
1162                    lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1163                    List<Object> rhsAny;
1164                    rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1165                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1166                        return false;
1167                    }
1168                }
1169                return true;
1170            }
1171    
1172            public boolean equals(Object object) {
1173                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1174                return equals(null, null, object, strategy);
1175            }
1176    
1177        }
1178    
1179    
1180        /**
1181         * <p>Java class for anonymous complex type.
1182         * 
1183         * <p>The following schema fragment specifies the expected content contained within this class.
1184         * 
1185         * <pre>
1186         * &lt;complexType>
1187         *   &lt;complexContent>
1188         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1189         *       &lt;choice minOccurs="0">
1190         *         &lt;element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/>
1191         *         &lt;element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/>
1192         *         &lt;element ref="{http://activemq.apache.org/schema/core}kahaDB"/>
1193         *         &lt;element ref="{http://activemq.apache.org/schema/core}levelDB"/>
1194         *         &lt;element ref="{http://activemq.apache.org/schema/core}mKahaDB"/>
1195         *         &lt;element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/>
1196         *         &lt;element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/>
1197         *         &lt;any namespace='##other'/>
1198         *       &lt;/choice>
1199         *     &lt;/restriction>
1200         *   &lt;/complexContent>
1201         * &lt;/complexType>
1202         * </pre>
1203         * 
1204         * 
1205         */
1206        @XmlAccessorType(XmlAccessType.FIELD)
1207        @XmlType(name = "", propOrder = {
1208            "jdbcPersistenceAdapter",
1209            "journalPersistenceAdapter",
1210            "kahaDB",
1211            "levelDB",
1212            "mKahaDB",
1213            "memoryPersistenceAdapter",
1214            "replicatedLevelDB",
1215            "any"
1216        })
1217        public static class LongTermPersistence
1218            implements Equals, HashCode, ToString
1219        {
1220    
1221            protected DtoJdbcPersistenceAdapter jdbcPersistenceAdapter;
1222            protected DtoJournalPersistenceAdapter journalPersistenceAdapter;
1223            protected DtoKahaDB kahaDB;
1224            protected DtoLevelDB levelDB;
1225            protected DtoMKahaDB mKahaDB;
1226            protected DtoMemoryPersistenceAdapter memoryPersistenceAdapter;
1227            protected DtoReplicatedLevelDB replicatedLevelDB;
1228            @XmlAnyElement(lax = true)
1229            protected Object any;
1230    
1231            /**
1232             * Gets the value of the jdbcPersistenceAdapter property.
1233             * 
1234             * @return
1235             *     possible object is
1236             *     {@link DtoJdbcPersistenceAdapter }
1237             *     
1238             */
1239            public DtoJdbcPersistenceAdapter getJdbcPersistenceAdapter() {
1240                return jdbcPersistenceAdapter;
1241            }
1242    
1243            /**
1244             * Sets the value of the jdbcPersistenceAdapter property.
1245             * 
1246             * @param value
1247             *     allowed object is
1248             *     {@link DtoJdbcPersistenceAdapter }
1249             *     
1250             */
1251            public void setJdbcPersistenceAdapter(DtoJdbcPersistenceAdapter value) {
1252                this.jdbcPersistenceAdapter = value;
1253            }
1254    
1255            /**
1256             * Gets the value of the journalPersistenceAdapter property.
1257             * 
1258             * @return
1259             *     possible object is
1260             *     {@link DtoJournalPersistenceAdapter }
1261             *     
1262             */
1263            public DtoJournalPersistenceAdapter getJournalPersistenceAdapter() {
1264                return journalPersistenceAdapter;
1265            }
1266    
1267            /**
1268             * Sets the value of the journalPersistenceAdapter property.
1269             * 
1270             * @param value
1271             *     allowed object is
1272             *     {@link DtoJournalPersistenceAdapter }
1273             *     
1274             */
1275            public void setJournalPersistenceAdapter(DtoJournalPersistenceAdapter value) {
1276                this.journalPersistenceAdapter = value;
1277            }
1278    
1279            /**
1280             * Gets the value of the kahaDB property.
1281             * 
1282             * @return
1283             *     possible object is
1284             *     {@link DtoKahaDB }
1285             *     
1286             */
1287            public DtoKahaDB getKahaDB() {
1288                return kahaDB;
1289            }
1290    
1291            /**
1292             * Sets the value of the kahaDB property.
1293             * 
1294             * @param value
1295             *     allowed object is
1296             *     {@link DtoKahaDB }
1297             *     
1298             */
1299            public void setKahaDB(DtoKahaDB value) {
1300                this.kahaDB = value;
1301            }
1302    
1303            /**
1304             * Gets the value of the levelDB property.
1305             * 
1306             * @return
1307             *     possible object is
1308             *     {@link DtoLevelDB }
1309             *     
1310             */
1311            public DtoLevelDB getLevelDB() {
1312                return levelDB;
1313            }
1314    
1315            /**
1316             * Sets the value of the levelDB property.
1317             * 
1318             * @param value
1319             *     allowed object is
1320             *     {@link DtoLevelDB }
1321             *     
1322             */
1323            public void setLevelDB(DtoLevelDB value) {
1324                this.levelDB = value;
1325            }
1326    
1327            /**
1328             * Gets the value of the mKahaDB property.
1329             * 
1330             * @return
1331             *     possible object is
1332             *     {@link DtoMKahaDB }
1333             *     
1334             */
1335            public DtoMKahaDB getMKahaDB() {
1336                return mKahaDB;
1337            }
1338    
1339            /**
1340             * Sets the value of the mKahaDB property.
1341             * 
1342             * @param value
1343             *     allowed object is
1344             *     {@link DtoMKahaDB }
1345             *     
1346             */
1347            public void setMKahaDB(DtoMKahaDB value) {
1348                this.mKahaDB = value;
1349            }
1350    
1351            /**
1352             * Gets the value of the memoryPersistenceAdapter property.
1353             * 
1354             * @return
1355             *     possible object is
1356             *     {@link DtoMemoryPersistenceAdapter }
1357             *     
1358             */
1359            public DtoMemoryPersistenceAdapter getMemoryPersistenceAdapter() {
1360                return memoryPersistenceAdapter;
1361            }
1362    
1363            /**
1364             * Sets the value of the memoryPersistenceAdapter property.
1365             * 
1366             * @param value
1367             *     allowed object is
1368             *     {@link DtoMemoryPersistenceAdapter }
1369             *     
1370             */
1371            public void setMemoryPersistenceAdapter(DtoMemoryPersistenceAdapter value) {
1372                this.memoryPersistenceAdapter = value;
1373            }
1374    
1375            /**
1376             * Gets the value of the replicatedLevelDB property.
1377             * 
1378             * @return
1379             *     possible object is
1380             *     {@link DtoReplicatedLevelDB }
1381             *     
1382             */
1383            public DtoReplicatedLevelDB getReplicatedLevelDB() {
1384                return replicatedLevelDB;
1385            }
1386    
1387            /**
1388             * Sets the value of the replicatedLevelDB property.
1389             * 
1390             * @param value
1391             *     allowed object is
1392             *     {@link DtoReplicatedLevelDB }
1393             *     
1394             */
1395            public void setReplicatedLevelDB(DtoReplicatedLevelDB value) {
1396                this.replicatedLevelDB = value;
1397            }
1398    
1399            /**
1400             * Gets the value of the any property.
1401             * 
1402             * @return
1403             *     possible object is
1404             *     {@link Object }
1405             *     
1406             */
1407            public Object getAny() {
1408                return any;
1409            }
1410    
1411            /**
1412             * Sets the value of the any property.
1413             * 
1414             * @param value
1415             *     allowed object is
1416             *     {@link Object }
1417             *     
1418             */
1419            public void setAny(Object value) {
1420                this.any = value;
1421            }
1422    
1423            public String toString() {
1424                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1425                final StringBuilder buffer = new StringBuilder();
1426                append(null, buffer, strategy);
1427                return buffer.toString();
1428            }
1429    
1430            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1431                strategy.appendStart(locator, this, buffer);
1432                appendFields(locator, buffer, strategy);
1433                strategy.appendEnd(locator, this, buffer);
1434                return buffer;
1435            }
1436    
1437            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1438                {
1439                    DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter;
1440                    theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter();
1441                    strategy.appendField(locator, this, "jdbcPersistenceAdapter", buffer, theJdbcPersistenceAdapter);
1442                }
1443                {
1444                    DtoJournalPersistenceAdapter theJournalPersistenceAdapter;
1445                    theJournalPersistenceAdapter = this.getJournalPersistenceAdapter();
1446                    strategy.appendField(locator, this, "journalPersistenceAdapter", buffer, theJournalPersistenceAdapter);
1447                }
1448                {
1449                    DtoKahaDB theKahaDB;
1450                    theKahaDB = this.getKahaDB();
1451                    strategy.appendField(locator, this, "kahaDB", buffer, theKahaDB);
1452                }
1453                {
1454                    DtoLevelDB theLevelDB;
1455                    theLevelDB = this.getLevelDB();
1456                    strategy.appendField(locator, this, "levelDB", buffer, theLevelDB);
1457                }
1458                {
1459                    DtoMKahaDB theMKahaDB;
1460                    theMKahaDB = this.getMKahaDB();
1461                    strategy.appendField(locator, this, "mKahaDB", buffer, theMKahaDB);
1462                }
1463                {
1464                    DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter;
1465                    theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter();
1466                    strategy.appendField(locator, this, "memoryPersistenceAdapter", buffer, theMemoryPersistenceAdapter);
1467                }
1468                {
1469                    DtoReplicatedLevelDB theReplicatedLevelDB;
1470                    theReplicatedLevelDB = this.getReplicatedLevelDB();
1471                    strategy.appendField(locator, this, "replicatedLevelDB", buffer, theReplicatedLevelDB);
1472                }
1473                {
1474                    Object theAny;
1475                    theAny = this.getAny();
1476                    strategy.appendField(locator, this, "any", buffer, theAny);
1477                }
1478                return buffer;
1479            }
1480    
1481            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1482                int currentHashCode = 1;
1483                {
1484                    DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter;
1485                    theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter();
1486                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jdbcPersistenceAdapter", theJdbcPersistenceAdapter), currentHashCode, theJdbcPersistenceAdapter);
1487                }
1488                {
1489                    DtoJournalPersistenceAdapter theJournalPersistenceAdapter;
1490                    theJournalPersistenceAdapter = this.getJournalPersistenceAdapter();
1491                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalPersistenceAdapter", theJournalPersistenceAdapter), currentHashCode, theJournalPersistenceAdapter);
1492                }
1493                {
1494                    DtoKahaDB theKahaDB;
1495                    theKahaDB = this.getKahaDB();
1496                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "kahaDB", theKahaDB), currentHashCode, theKahaDB);
1497                }
1498                {
1499                    DtoLevelDB theLevelDB;
1500                    theLevelDB = this.getLevelDB();
1501                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "levelDB", theLevelDB), currentHashCode, theLevelDB);
1502                }
1503                {
1504                    DtoMKahaDB theMKahaDB;
1505                    theMKahaDB = this.getMKahaDB();
1506                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mKahaDB", theMKahaDB), currentHashCode, theMKahaDB);
1507                }
1508                {
1509                    DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter;
1510                    theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter();
1511                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "memoryPersistenceAdapter", theMemoryPersistenceAdapter), currentHashCode, theMemoryPersistenceAdapter);
1512                }
1513                {
1514                    DtoReplicatedLevelDB theReplicatedLevelDB;
1515                    theReplicatedLevelDB = this.getReplicatedLevelDB();
1516                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "replicatedLevelDB", theReplicatedLevelDB), currentHashCode, theReplicatedLevelDB);
1517                }
1518                {
1519                    Object theAny;
1520                    theAny = this.getAny();
1521                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1522                }
1523                return currentHashCode;
1524            }
1525    
1526            public int hashCode() {
1527                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1528                return this.hashCode(null, strategy);
1529            }
1530    
1531            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1532                if (!(object instanceof DtoJournalPersistenceAdapter.LongTermPersistence)) {
1533                    return false;
1534                }
1535                if (this == object) {
1536                    return true;
1537                }
1538                final DtoJournalPersistenceAdapter.LongTermPersistence that = ((DtoJournalPersistenceAdapter.LongTermPersistence) object);
1539                {
1540                    DtoJdbcPersistenceAdapter lhsJdbcPersistenceAdapter;
1541                    lhsJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter();
1542                    DtoJdbcPersistenceAdapter rhsJdbcPersistenceAdapter;
1543                    rhsJdbcPersistenceAdapter = that.getJdbcPersistenceAdapter();
1544                    if (!strategy.equals(LocatorUtils.property(thisLocator, "jdbcPersistenceAdapter", lhsJdbcPersistenceAdapter), LocatorUtils.property(thatLocator, "jdbcPersistenceAdapter", rhsJdbcPersistenceAdapter), lhsJdbcPersistenceAdapter, rhsJdbcPersistenceAdapter)) {
1545                        return false;
1546                    }
1547                }
1548                {
1549                    DtoJournalPersistenceAdapter lhsJournalPersistenceAdapter;
1550                    lhsJournalPersistenceAdapter = this.getJournalPersistenceAdapter();
1551                    DtoJournalPersistenceAdapter rhsJournalPersistenceAdapter;
1552                    rhsJournalPersistenceAdapter = that.getJournalPersistenceAdapter();
1553                    if (!strategy.equals(LocatorUtils.property(thisLocator, "journalPersistenceAdapter", lhsJournalPersistenceAdapter), LocatorUtils.property(thatLocator, "journalPersistenceAdapter", rhsJournalPersistenceAdapter), lhsJournalPersistenceAdapter, rhsJournalPersistenceAdapter)) {
1554                        return false;
1555                    }
1556                }
1557                {
1558                    DtoKahaDB lhsKahaDB;
1559                    lhsKahaDB = this.getKahaDB();
1560                    DtoKahaDB rhsKahaDB;
1561                    rhsKahaDB = that.getKahaDB();
1562                    if (!strategy.equals(LocatorUtils.property(thisLocator, "kahaDB", lhsKahaDB), LocatorUtils.property(thatLocator, "kahaDB", rhsKahaDB), lhsKahaDB, rhsKahaDB)) {
1563                        return false;
1564                    }
1565                }
1566                {
1567                    DtoLevelDB lhsLevelDB;
1568                    lhsLevelDB = this.getLevelDB();
1569                    DtoLevelDB rhsLevelDB;
1570                    rhsLevelDB = that.getLevelDB();
1571                    if (!strategy.equals(LocatorUtils.property(thisLocator, "levelDB", lhsLevelDB), LocatorUtils.property(thatLocator, "levelDB", rhsLevelDB), lhsLevelDB, rhsLevelDB)) {
1572                        return false;
1573                    }
1574                }
1575                {
1576                    DtoMKahaDB lhsMKahaDB;
1577                    lhsMKahaDB = this.getMKahaDB();
1578                    DtoMKahaDB rhsMKahaDB;
1579                    rhsMKahaDB = that.getMKahaDB();
1580                    if (!strategy.equals(LocatorUtils.property(thisLocator, "mKahaDB", lhsMKahaDB), LocatorUtils.property(thatLocator, "mKahaDB", rhsMKahaDB), lhsMKahaDB, rhsMKahaDB)) {
1581                        return false;
1582                    }
1583                }
1584                {
1585                    DtoMemoryPersistenceAdapter lhsMemoryPersistenceAdapter;
1586                    lhsMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter();
1587                    DtoMemoryPersistenceAdapter rhsMemoryPersistenceAdapter;
1588                    rhsMemoryPersistenceAdapter = that.getMemoryPersistenceAdapter();
1589                    if (!strategy.equals(LocatorUtils.property(thisLocator, "memoryPersistenceAdapter", lhsMemoryPersistenceAdapter), LocatorUtils.property(thatLocator, "memoryPersistenceAdapter", rhsMemoryPersistenceAdapter), lhsMemoryPersistenceAdapter, rhsMemoryPersistenceAdapter)) {
1590                        return false;
1591                    }
1592                }
1593                {
1594                    DtoReplicatedLevelDB lhsReplicatedLevelDB;
1595                    lhsReplicatedLevelDB = this.getReplicatedLevelDB();
1596                    DtoReplicatedLevelDB rhsReplicatedLevelDB;
1597                    rhsReplicatedLevelDB = that.getReplicatedLevelDB();
1598                    if (!strategy.equals(LocatorUtils.property(thisLocator, "replicatedLevelDB", lhsReplicatedLevelDB), LocatorUtils.property(thatLocator, "replicatedLevelDB", rhsReplicatedLevelDB), lhsReplicatedLevelDB, rhsReplicatedLevelDB)) {
1599                        return false;
1600                    }
1601                }
1602                {
1603                    Object lhsAny;
1604                    lhsAny = this.getAny();
1605                    Object rhsAny;
1606                    rhsAny = that.getAny();
1607                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1608                        return false;
1609                    }
1610                }
1611                return true;
1612            }
1613    
1614            public boolean equals(Object object) {
1615                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1616                return equals(null, null, object, strategy);
1617            }
1618    
1619        }
1620    
1621    
1622        /**
1623         * <p>Java class for anonymous complex type.
1624         * 
1625         * <p>The following schema fragment specifies the expected content contained within this class.
1626         * 
1627         * <pre>
1628         * &lt;complexType>
1629         *   &lt;complexContent>
1630         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1631         *       &lt;choice minOccurs="0">
1632         *         &lt;element ref="{http://activemq.apache.org/schema/core}jdbcPersistenceAdapter"/>
1633         *         &lt;element ref="{http://activemq.apache.org/schema/core}journalPersistenceAdapter"/>
1634         *         &lt;element ref="{http://activemq.apache.org/schema/core}kahaDB"/>
1635         *         &lt;element ref="{http://activemq.apache.org/schema/core}levelDB"/>
1636         *         &lt;element ref="{http://activemq.apache.org/schema/core}mKahaDB"/>
1637         *         &lt;element ref="{http://activemq.apache.org/schema/core}memoryPersistenceAdapter"/>
1638         *         &lt;element ref="{http://activemq.apache.org/schema/core}replicatedLevelDB"/>
1639         *         &lt;any namespace='##other'/>
1640         *       &lt;/choice>
1641         *     &lt;/restriction>
1642         *   &lt;/complexContent>
1643         * &lt;/complexType>
1644         * </pre>
1645         * 
1646         * 
1647         */
1648        @XmlAccessorType(XmlAccessType.FIELD)
1649        @XmlType(name = "", propOrder = {
1650            "jdbcPersistenceAdapter",
1651            "journalPersistenceAdapter",
1652            "kahaDB",
1653            "levelDB",
1654            "mKahaDB",
1655            "memoryPersistenceAdapter",
1656            "replicatedLevelDB",
1657            "any"
1658        })
1659        public static class PersistenceAdapter
1660            implements Equals, HashCode, ToString
1661        {
1662    
1663            protected DtoJdbcPersistenceAdapter jdbcPersistenceAdapter;
1664            protected DtoJournalPersistenceAdapter journalPersistenceAdapter;
1665            protected DtoKahaDB kahaDB;
1666            protected DtoLevelDB levelDB;
1667            protected DtoMKahaDB mKahaDB;
1668            protected DtoMemoryPersistenceAdapter memoryPersistenceAdapter;
1669            protected DtoReplicatedLevelDB replicatedLevelDB;
1670            @XmlAnyElement(lax = true)
1671            protected Object any;
1672    
1673            /**
1674             * Gets the value of the jdbcPersistenceAdapter property.
1675             * 
1676             * @return
1677             *     possible object is
1678             *     {@link DtoJdbcPersistenceAdapter }
1679             *     
1680             */
1681            public DtoJdbcPersistenceAdapter getJdbcPersistenceAdapter() {
1682                return jdbcPersistenceAdapter;
1683            }
1684    
1685            /**
1686             * Sets the value of the jdbcPersistenceAdapter property.
1687             * 
1688             * @param value
1689             *     allowed object is
1690             *     {@link DtoJdbcPersistenceAdapter }
1691             *     
1692             */
1693            public void setJdbcPersistenceAdapter(DtoJdbcPersistenceAdapter value) {
1694                this.jdbcPersistenceAdapter = value;
1695            }
1696    
1697            /**
1698             * Gets the value of the journalPersistenceAdapter property.
1699             * 
1700             * @return
1701             *     possible object is
1702             *     {@link DtoJournalPersistenceAdapter }
1703             *     
1704             */
1705            public DtoJournalPersistenceAdapter getJournalPersistenceAdapter() {
1706                return journalPersistenceAdapter;
1707            }
1708    
1709            /**
1710             * Sets the value of the journalPersistenceAdapter property.
1711             * 
1712             * @param value
1713             *     allowed object is
1714             *     {@link DtoJournalPersistenceAdapter }
1715             *     
1716             */
1717            public void setJournalPersistenceAdapter(DtoJournalPersistenceAdapter value) {
1718                this.journalPersistenceAdapter = value;
1719            }
1720    
1721            /**
1722             * Gets the value of the kahaDB property.
1723             * 
1724             * @return
1725             *     possible object is
1726             *     {@link DtoKahaDB }
1727             *     
1728             */
1729            public DtoKahaDB getKahaDB() {
1730                return kahaDB;
1731            }
1732    
1733            /**
1734             * Sets the value of the kahaDB property.
1735             * 
1736             * @param value
1737             *     allowed object is
1738             *     {@link DtoKahaDB }
1739             *     
1740             */
1741            public void setKahaDB(DtoKahaDB value) {
1742                this.kahaDB = value;
1743            }
1744    
1745            /**
1746             * Gets the value of the levelDB property.
1747             * 
1748             * @return
1749             *     possible object is
1750             *     {@link DtoLevelDB }
1751             *     
1752             */
1753            public DtoLevelDB getLevelDB() {
1754                return levelDB;
1755            }
1756    
1757            /**
1758             * Sets the value of the levelDB property.
1759             * 
1760             * @param value
1761             *     allowed object is
1762             *     {@link DtoLevelDB }
1763             *     
1764             */
1765            public void setLevelDB(DtoLevelDB value) {
1766                this.levelDB = value;
1767            }
1768    
1769            /**
1770             * Gets the value of the mKahaDB property.
1771             * 
1772             * @return
1773             *     possible object is
1774             *     {@link DtoMKahaDB }
1775             *     
1776             */
1777            public DtoMKahaDB getMKahaDB() {
1778                return mKahaDB;
1779            }
1780    
1781            /**
1782             * Sets the value of the mKahaDB property.
1783             * 
1784             * @param value
1785             *     allowed object is
1786             *     {@link DtoMKahaDB }
1787             *     
1788             */
1789            public void setMKahaDB(DtoMKahaDB value) {
1790                this.mKahaDB = value;
1791            }
1792    
1793            /**
1794             * Gets the value of the memoryPersistenceAdapter property.
1795             * 
1796             * @return
1797             *     possible object is
1798             *     {@link DtoMemoryPersistenceAdapter }
1799             *     
1800             */
1801            public DtoMemoryPersistenceAdapter getMemoryPersistenceAdapter() {
1802                return memoryPersistenceAdapter;
1803            }
1804    
1805            /**
1806             * Sets the value of the memoryPersistenceAdapter property.
1807             * 
1808             * @param value
1809             *     allowed object is
1810             *     {@link DtoMemoryPersistenceAdapter }
1811             *     
1812             */
1813            public void setMemoryPersistenceAdapter(DtoMemoryPersistenceAdapter value) {
1814                this.memoryPersistenceAdapter = value;
1815            }
1816    
1817            /**
1818             * Gets the value of the replicatedLevelDB property.
1819             * 
1820             * @return
1821             *     possible object is
1822             *     {@link DtoReplicatedLevelDB }
1823             *     
1824             */
1825            public DtoReplicatedLevelDB getReplicatedLevelDB() {
1826                return replicatedLevelDB;
1827            }
1828    
1829            /**
1830             * Sets the value of the replicatedLevelDB property.
1831             * 
1832             * @param value
1833             *     allowed object is
1834             *     {@link DtoReplicatedLevelDB }
1835             *     
1836             */
1837            public void setReplicatedLevelDB(DtoReplicatedLevelDB value) {
1838                this.replicatedLevelDB = value;
1839            }
1840    
1841            /**
1842             * Gets the value of the any property.
1843             * 
1844             * @return
1845             *     possible object is
1846             *     {@link Object }
1847             *     
1848             */
1849            public Object getAny() {
1850                return any;
1851            }
1852    
1853            /**
1854             * Sets the value of the any property.
1855             * 
1856             * @param value
1857             *     allowed object is
1858             *     {@link Object }
1859             *     
1860             */
1861            public void setAny(Object value) {
1862                this.any = value;
1863            }
1864    
1865            public String toString() {
1866                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1867                final StringBuilder buffer = new StringBuilder();
1868                append(null, buffer, strategy);
1869                return buffer.toString();
1870            }
1871    
1872            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1873                strategy.appendStart(locator, this, buffer);
1874                appendFields(locator, buffer, strategy);
1875                strategy.appendEnd(locator, this, buffer);
1876                return buffer;
1877            }
1878    
1879            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1880                {
1881                    DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter;
1882                    theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter();
1883                    strategy.appendField(locator, this, "jdbcPersistenceAdapter", buffer, theJdbcPersistenceAdapter);
1884                }
1885                {
1886                    DtoJournalPersistenceAdapter theJournalPersistenceAdapter;
1887                    theJournalPersistenceAdapter = this.getJournalPersistenceAdapter();
1888                    strategy.appendField(locator, this, "journalPersistenceAdapter", buffer, theJournalPersistenceAdapter);
1889                }
1890                {
1891                    DtoKahaDB theKahaDB;
1892                    theKahaDB = this.getKahaDB();
1893                    strategy.appendField(locator, this, "kahaDB", buffer, theKahaDB);
1894                }
1895                {
1896                    DtoLevelDB theLevelDB;
1897                    theLevelDB = this.getLevelDB();
1898                    strategy.appendField(locator, this, "levelDB", buffer, theLevelDB);
1899                }
1900                {
1901                    DtoMKahaDB theMKahaDB;
1902                    theMKahaDB = this.getMKahaDB();
1903                    strategy.appendField(locator, this, "mKahaDB", buffer, theMKahaDB);
1904                }
1905                {
1906                    DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter;
1907                    theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter();
1908                    strategy.appendField(locator, this, "memoryPersistenceAdapter", buffer, theMemoryPersistenceAdapter);
1909                }
1910                {
1911                    DtoReplicatedLevelDB theReplicatedLevelDB;
1912                    theReplicatedLevelDB = this.getReplicatedLevelDB();
1913                    strategy.appendField(locator, this, "replicatedLevelDB", buffer, theReplicatedLevelDB);
1914                }
1915                {
1916                    Object theAny;
1917                    theAny = this.getAny();
1918                    strategy.appendField(locator, this, "any", buffer, theAny);
1919                }
1920                return buffer;
1921            }
1922    
1923            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1924                int currentHashCode = 1;
1925                {
1926                    DtoJdbcPersistenceAdapter theJdbcPersistenceAdapter;
1927                    theJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter();
1928                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jdbcPersistenceAdapter", theJdbcPersistenceAdapter), currentHashCode, theJdbcPersistenceAdapter);
1929                }
1930                {
1931                    DtoJournalPersistenceAdapter theJournalPersistenceAdapter;
1932                    theJournalPersistenceAdapter = this.getJournalPersistenceAdapter();
1933                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "journalPersistenceAdapter", theJournalPersistenceAdapter), currentHashCode, theJournalPersistenceAdapter);
1934                }
1935                {
1936                    DtoKahaDB theKahaDB;
1937                    theKahaDB = this.getKahaDB();
1938                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "kahaDB", theKahaDB), currentHashCode, theKahaDB);
1939                }
1940                {
1941                    DtoLevelDB theLevelDB;
1942                    theLevelDB = this.getLevelDB();
1943                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "levelDB", theLevelDB), currentHashCode, theLevelDB);
1944                }
1945                {
1946                    DtoMKahaDB theMKahaDB;
1947                    theMKahaDB = this.getMKahaDB();
1948                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mKahaDB", theMKahaDB), currentHashCode, theMKahaDB);
1949                }
1950                {
1951                    DtoMemoryPersistenceAdapter theMemoryPersistenceAdapter;
1952                    theMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter();
1953                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "memoryPersistenceAdapter", theMemoryPersistenceAdapter), currentHashCode, theMemoryPersistenceAdapter);
1954                }
1955                {
1956                    DtoReplicatedLevelDB theReplicatedLevelDB;
1957                    theReplicatedLevelDB = this.getReplicatedLevelDB();
1958                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "replicatedLevelDB", theReplicatedLevelDB), currentHashCode, theReplicatedLevelDB);
1959                }
1960                {
1961                    Object theAny;
1962                    theAny = this.getAny();
1963                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1964                }
1965                return currentHashCode;
1966            }
1967    
1968            public int hashCode() {
1969                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1970                return this.hashCode(null, strategy);
1971            }
1972    
1973            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1974                if (!(object instanceof DtoJournalPersistenceAdapter.PersistenceAdapter)) {
1975                    return false;
1976                }
1977                if (this == object) {
1978                    return true;
1979                }
1980                final DtoJournalPersistenceAdapter.PersistenceAdapter that = ((DtoJournalPersistenceAdapter.PersistenceAdapter) object);
1981                {
1982                    DtoJdbcPersistenceAdapter lhsJdbcPersistenceAdapter;
1983                    lhsJdbcPersistenceAdapter = this.getJdbcPersistenceAdapter();
1984                    DtoJdbcPersistenceAdapter rhsJdbcPersistenceAdapter;
1985                    rhsJdbcPersistenceAdapter = that.getJdbcPersistenceAdapter();
1986                    if (!strategy.equals(LocatorUtils.property(thisLocator, "jdbcPersistenceAdapter", lhsJdbcPersistenceAdapter), LocatorUtils.property(thatLocator, "jdbcPersistenceAdapter", rhsJdbcPersistenceAdapter), lhsJdbcPersistenceAdapter, rhsJdbcPersistenceAdapter)) {
1987                        return false;
1988                    }
1989                }
1990                {
1991                    DtoJournalPersistenceAdapter lhsJournalPersistenceAdapter;
1992                    lhsJournalPersistenceAdapter = this.getJournalPersistenceAdapter();
1993                    DtoJournalPersistenceAdapter rhsJournalPersistenceAdapter;
1994                    rhsJournalPersistenceAdapter = that.getJournalPersistenceAdapter();
1995                    if (!strategy.equals(LocatorUtils.property(thisLocator, "journalPersistenceAdapter", lhsJournalPersistenceAdapter), LocatorUtils.property(thatLocator, "journalPersistenceAdapter", rhsJournalPersistenceAdapter), lhsJournalPersistenceAdapter, rhsJournalPersistenceAdapter)) {
1996                        return false;
1997                    }
1998                }
1999                {
2000                    DtoKahaDB lhsKahaDB;
2001                    lhsKahaDB = this.getKahaDB();
2002                    DtoKahaDB rhsKahaDB;
2003                    rhsKahaDB = that.getKahaDB();
2004                    if (!strategy.equals(LocatorUtils.property(thisLocator, "kahaDB", lhsKahaDB), LocatorUtils.property(thatLocator, "kahaDB", rhsKahaDB), lhsKahaDB, rhsKahaDB)) {
2005                        return false;
2006                    }
2007                }
2008                {
2009                    DtoLevelDB lhsLevelDB;
2010                    lhsLevelDB = this.getLevelDB();
2011                    DtoLevelDB rhsLevelDB;
2012                    rhsLevelDB = that.getLevelDB();
2013                    if (!strategy.equals(LocatorUtils.property(thisLocator, "levelDB", lhsLevelDB), LocatorUtils.property(thatLocator, "levelDB", rhsLevelDB), lhsLevelDB, rhsLevelDB)) {
2014                        return false;
2015                    }
2016                }
2017                {
2018                    DtoMKahaDB lhsMKahaDB;
2019                    lhsMKahaDB = this.getMKahaDB();
2020                    DtoMKahaDB rhsMKahaDB;
2021                    rhsMKahaDB = that.getMKahaDB();
2022                    if (!strategy.equals(LocatorUtils.property(thisLocator, "mKahaDB", lhsMKahaDB), LocatorUtils.property(thatLocator, "mKahaDB", rhsMKahaDB), lhsMKahaDB, rhsMKahaDB)) {
2023                        return false;
2024                    }
2025                }
2026                {
2027                    DtoMemoryPersistenceAdapter lhsMemoryPersistenceAdapter;
2028                    lhsMemoryPersistenceAdapter = this.getMemoryPersistenceAdapter();
2029                    DtoMemoryPersistenceAdapter rhsMemoryPersistenceAdapter;
2030                    rhsMemoryPersistenceAdapter = that.getMemoryPersistenceAdapter();
2031                    if (!strategy.equals(LocatorUtils.property(thisLocator, "memoryPersistenceAdapter", lhsMemoryPersistenceAdapter), LocatorUtils.property(thatLocator, "memoryPersistenceAdapter", rhsMemoryPersistenceAdapter), lhsMemoryPersistenceAdapter, rhsMemoryPersistenceAdapter)) {
2032                        return false;
2033                    }
2034                }
2035                {
2036                    DtoReplicatedLevelDB lhsReplicatedLevelDB;
2037                    lhsReplicatedLevelDB = this.getReplicatedLevelDB();
2038                    DtoReplicatedLevelDB rhsReplicatedLevelDB;
2039                    rhsReplicatedLevelDB = that.getReplicatedLevelDB();
2040                    if (!strategy.equals(LocatorUtils.property(thisLocator, "replicatedLevelDB", lhsReplicatedLevelDB), LocatorUtils.property(thatLocator, "replicatedLevelDB", rhsReplicatedLevelDB), lhsReplicatedLevelDB, rhsReplicatedLevelDB)) {
2041                        return false;
2042                    }
2043                }
2044                {
2045                    Object lhsAny;
2046                    lhsAny = this.getAny();
2047                    Object rhsAny;
2048                    rhsAny = that.getAny();
2049                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
2050                        return false;
2051                    }
2052                }
2053                return true;
2054            }
2055    
2056            public boolean equals(Object object) {
2057                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2058                return equals(null, null, object, strategy);
2059            }
2060    
2061        }
2062    
2063    
2064        /**
2065         * <p>Java class for anonymous complex type.
2066         * 
2067         * <p>The following schema fragment specifies the expected content contained within this class.
2068         * 
2069         * <pre>
2070         * &lt;complexType>
2071         *   &lt;complexContent>
2072         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2073         *       &lt;choice minOccurs="0">
2074         *         &lt;element ref="{http://activemq.apache.org/schema/core}taskRunnerFactory"/>
2075         *         &lt;any namespace='##other'/>
2076         *       &lt;/choice>
2077         *     &lt;/restriction>
2078         *   &lt;/complexContent>
2079         * &lt;/complexType>
2080         * </pre>
2081         * 
2082         * 
2083         */
2084        @XmlAccessorType(XmlAccessType.FIELD)
2085        @XmlType(name = "", propOrder = {
2086            "taskRunnerFactory",
2087            "any"
2088        })
2089        public static class TaskRunnerFactory
2090            implements Equals, HashCode, ToString
2091        {
2092    
2093            protected DtoTaskRunnerFactory taskRunnerFactory;
2094            @XmlAnyElement(lax = true)
2095            protected Object any;
2096    
2097            /**
2098             * Gets the value of the taskRunnerFactory property.
2099             * 
2100             * @return
2101             *     possible object is
2102             *     {@link DtoTaskRunnerFactory }
2103             *     
2104             */
2105            public DtoTaskRunnerFactory getTaskRunnerFactory() {
2106                return taskRunnerFactory;
2107            }
2108    
2109            /**
2110             * Sets the value of the taskRunnerFactory property.
2111             * 
2112             * @param value
2113             *     allowed object is
2114             *     {@link DtoTaskRunnerFactory }
2115             *     
2116             */
2117            public void setTaskRunnerFactory(DtoTaskRunnerFactory value) {
2118                this.taskRunnerFactory = value;
2119            }
2120    
2121            /**
2122             * Gets the value of the any property.
2123             * 
2124             * @return
2125             *     possible object is
2126             *     {@link Object }
2127             *     
2128             */
2129            public Object getAny() {
2130                return any;
2131            }
2132    
2133            /**
2134             * Sets the value of the any property.
2135             * 
2136             * @param value
2137             *     allowed object is
2138             *     {@link Object }
2139             *     
2140             */
2141            public void setAny(Object value) {
2142                this.any = value;
2143            }
2144    
2145            public String toString() {
2146                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2147                final StringBuilder buffer = new StringBuilder();
2148                append(null, buffer, strategy);
2149                return buffer.toString();
2150            }
2151    
2152            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2153                strategy.appendStart(locator, this, buffer);
2154                appendFields(locator, buffer, strategy);
2155                strategy.appendEnd(locator, this, buffer);
2156                return buffer;
2157            }
2158    
2159            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2160                {
2161                    DtoTaskRunnerFactory theTaskRunnerFactory;
2162                    theTaskRunnerFactory = this.getTaskRunnerFactory();
2163                    strategy.appendField(locator, this, "taskRunnerFactory", buffer, theTaskRunnerFactory);
2164                }
2165                {
2166                    Object theAny;
2167                    theAny = this.getAny();
2168                    strategy.appendField(locator, this, "any", buffer, theAny);
2169                }
2170                return buffer;
2171            }
2172    
2173            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2174                int currentHashCode = 1;
2175                {
2176                    DtoTaskRunnerFactory theTaskRunnerFactory;
2177                    theTaskRunnerFactory = this.getTaskRunnerFactory();
2178                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "taskRunnerFactory", theTaskRunnerFactory), currentHashCode, theTaskRunnerFactory);
2179                }
2180                {
2181                    Object theAny;
2182                    theAny = this.getAny();
2183                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
2184                }
2185                return currentHashCode;
2186            }
2187    
2188            public int hashCode() {
2189                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2190                return this.hashCode(null, strategy);
2191            }
2192    
2193            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2194                if (!(object instanceof DtoJournalPersistenceAdapter.TaskRunnerFactory)) {
2195                    return false;
2196                }
2197                if (this == object) {
2198                    return true;
2199                }
2200                final DtoJournalPersistenceAdapter.TaskRunnerFactory that = ((DtoJournalPersistenceAdapter.TaskRunnerFactory) object);
2201                {
2202                    DtoTaskRunnerFactory lhsTaskRunnerFactory;
2203                    lhsTaskRunnerFactory = this.getTaskRunnerFactory();
2204                    DtoTaskRunnerFactory rhsTaskRunnerFactory;
2205                    rhsTaskRunnerFactory = that.getTaskRunnerFactory();
2206                    if (!strategy.equals(LocatorUtils.property(thisLocator, "taskRunnerFactory", lhsTaskRunnerFactory), LocatorUtils.property(thatLocator, "taskRunnerFactory", rhsTaskRunnerFactory), lhsTaskRunnerFactory, rhsTaskRunnerFactory)) {
2207                        return false;
2208                    }
2209                }
2210                {
2211                    Object lhsAny;
2212                    lhsAny = this.getAny();
2213                    Object rhsAny;
2214                    rhsAny = that.getAny();
2215                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
2216                        return false;
2217                    }
2218                }
2219                return true;
2220            }
2221    
2222            public boolean equals(Object object) {
2223                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2224                return equals(null, null, object, strategy);
2225            }
2226    
2227        }
2228    
2229    
2230        /**
2231         * <p>Java class for anonymous complex type.
2232         * 
2233         * <p>The following schema fragment specifies the expected content contained within this class.
2234         * 
2235         * <pre>
2236         * &lt;complexType>
2237         *   &lt;complexContent>
2238         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
2239         *       &lt;choice minOccurs="0">
2240         *         &lt;element ref="{http://activemq.apache.org/schema/core}systemUsage"/>
2241         *         &lt;any namespace='##other'/>
2242         *       &lt;/choice>
2243         *     &lt;/restriction>
2244         *   &lt;/complexContent>
2245         * &lt;/complexType>
2246         * </pre>
2247         * 
2248         * 
2249         */
2250        @XmlAccessorType(XmlAccessType.FIELD)
2251        @XmlType(name = "", propOrder = {
2252            "systemUsage",
2253            "any"
2254        })
2255        public static class UsageManager
2256            implements Equals, HashCode, ToString
2257        {
2258    
2259            protected DtoSystemUsage systemUsage;
2260            @XmlAnyElement(lax = true)
2261            protected Object any;
2262    
2263            /**
2264             * Gets the value of the systemUsage property.
2265             * 
2266             * @return
2267             *     possible object is
2268             *     {@link DtoSystemUsage }
2269             *     
2270             */
2271            public DtoSystemUsage getSystemUsage() {
2272                return systemUsage;
2273            }
2274    
2275            /**
2276             * Sets the value of the systemUsage property.
2277             * 
2278             * @param value
2279             *     allowed object is
2280             *     {@link DtoSystemUsage }
2281             *     
2282             */
2283            public void setSystemUsage(DtoSystemUsage value) {
2284                this.systemUsage = value;
2285            }
2286    
2287            /**
2288             * Gets the value of the any property.
2289             * 
2290             * @return
2291             *     possible object is
2292             *     {@link Object }
2293             *     
2294             */
2295            public Object getAny() {
2296                return any;
2297            }
2298    
2299            /**
2300             * Sets the value of the any property.
2301             * 
2302             * @param value
2303             *     allowed object is
2304             *     {@link Object }
2305             *     
2306             */
2307            public void setAny(Object value) {
2308                this.any = value;
2309            }
2310    
2311            public String toString() {
2312                final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
2313                final StringBuilder buffer = new StringBuilder();
2314                append(null, buffer, strategy);
2315                return buffer.toString();
2316            }
2317    
2318            public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2319                strategy.appendStart(locator, this, buffer);
2320                appendFields(locator, buffer, strategy);
2321                strategy.appendEnd(locator, this, buffer);
2322                return buffer;
2323            }
2324    
2325            public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
2326                {
2327                    DtoSystemUsage theSystemUsage;
2328                    theSystemUsage = this.getSystemUsage();
2329                    strategy.appendField(locator, this, "systemUsage", buffer, theSystemUsage);
2330                }
2331                {
2332                    Object theAny;
2333                    theAny = this.getAny();
2334                    strategy.appendField(locator, this, "any", buffer, theAny);
2335                }
2336                return buffer;
2337            }
2338    
2339            public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
2340                int currentHashCode = 1;
2341                {
2342                    DtoSystemUsage theSystemUsage;
2343                    theSystemUsage = this.getSystemUsage();
2344                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "systemUsage", theSystemUsage), currentHashCode, theSystemUsage);
2345                }
2346                {
2347                    Object theAny;
2348                    theAny = this.getAny();
2349                    currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
2350                }
2351                return currentHashCode;
2352            }
2353    
2354            public int hashCode() {
2355                final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
2356                return this.hashCode(null, strategy);
2357            }
2358    
2359            public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
2360                if (!(object instanceof DtoJournalPersistenceAdapter.UsageManager)) {
2361                    return false;
2362                }
2363                if (this == object) {
2364                    return true;
2365                }
2366                final DtoJournalPersistenceAdapter.UsageManager that = ((DtoJournalPersistenceAdapter.UsageManager) object);
2367                {
2368                    DtoSystemUsage lhsSystemUsage;
2369                    lhsSystemUsage = this.getSystemUsage();
2370                    DtoSystemUsage rhsSystemUsage;
2371                    rhsSystemUsage = that.getSystemUsage();
2372                    if (!strategy.equals(LocatorUtils.property(thisLocator, "systemUsage", lhsSystemUsage), LocatorUtils.property(thatLocator, "systemUsage", rhsSystemUsage), lhsSystemUsage, rhsSystemUsage)) {
2373                        return false;
2374                    }
2375                }
2376                {
2377                    Object lhsAny;
2378                    lhsAny = this.getAny();
2379                    Object rhsAny;
2380                    rhsAny = that.getAny();
2381                    if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
2382                        return false;
2383                    }
2384                }
2385                return true;
2386            }
2387    
2388            public boolean equals(Object object) {
2389                final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
2390                return equals(null, null, object, strategy);
2391            }
2392    
2393        }
2394    
2395    }