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