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