001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2019.12.02 at 07:37:45 AM EST 
006//
007
008
009package org.apache.activemq.schema.core;
010
011import java.util.ArrayList;
012import java.util.HashMap;
013import java.util.List;
014import java.util.Map;
015import javax.xml.bind.JAXBElement;
016import javax.xml.bind.annotation.XmlAccessType;
017import javax.xml.bind.annotation.XmlAccessorType;
018import javax.xml.bind.annotation.XmlAnyAttribute;
019import javax.xml.bind.annotation.XmlAnyElement;
020import javax.xml.bind.annotation.XmlAttribute;
021import javax.xml.bind.annotation.XmlElementRef;
022import javax.xml.bind.annotation.XmlElementRefs;
023import javax.xml.bind.annotation.XmlID;
024import javax.xml.bind.annotation.XmlRootElement;
025import javax.xml.bind.annotation.XmlSchemaType;
026import javax.xml.bind.annotation.XmlType;
027import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
028import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
029import javax.xml.namespace.QName;
030import org.jvnet.jaxb2_commons.lang.Equals;
031import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
032import org.jvnet.jaxb2_commons.lang.HashCode;
033import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
034import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
035import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
036import org.jvnet.jaxb2_commons.lang.ToString;
037import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
038import org.jvnet.jaxb2_commons.locator.ObjectLocator;
039import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
040
041
042/**
043 * <p>Java class for anonymous complex type.
044 * 
045 * <p>The following schema fragment specifies the expected content contained within this class.
046 * 
047 * <pre>
048 * &lt;complexType>
049 *   &lt;complexContent>
050 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
051 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
052 *         &lt;choice>
053 *           &lt;element name="MBeanServer" minOccurs="0">
054 *             &lt;complexType>
055 *               &lt;complexContent>
056 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
057 *                   &lt;sequence minOccurs="0">
058 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
059 *                   &lt;/sequence>
060 *                 &lt;/restriction>
061 *               &lt;/complexContent>
062 *             &lt;/complexType>
063 *           &lt;/element>
064 *           &lt;element name="environment" maxOccurs="unbounded" minOccurs="0">
065 *             &lt;complexType>
066 *               &lt;complexContent>
067 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
068 *                   &lt;sequence maxOccurs="unbounded" minOccurs="0">
069 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
070 *                   &lt;/sequence>
071 *                 &lt;/restriction>
072 *               &lt;/complexContent>
073 *             &lt;/complexType>
074 *           &lt;/element>
075 *           &lt;element name="server" minOccurs="0">
076 *             &lt;complexType>
077 *               &lt;complexContent>
078 *                 &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
079 *                   &lt;sequence minOccurs="0">
080 *                     &lt;any maxOccurs="unbounded" minOccurs="0"/>
081 *                   &lt;/sequence>
082 *                 &lt;/restriction>
083 *               &lt;/complexContent>
084 *             &lt;/complexType>
085 *           &lt;/element>
086 *           &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
087 *         &lt;/choice>
088 *       &lt;/choice>
089 *       &lt;attribute name="MBeanServer" type="{http://www.w3.org/2001/XMLSchema}string" />
090 *       &lt;attribute name="allowRemoteAddressInMBeanNames" type="{http://www.w3.org/2001/XMLSchema}boolean" />
091 *       &lt;attribute name="brokerName" type="{http://www.w3.org/2001/XMLSchema}string" />
092 *       &lt;attribute name="connectorHost" type="{http://www.w3.org/2001/XMLSchema}string" />
093 *       &lt;attribute name="connectorPath" type="{http://www.w3.org/2001/XMLSchema}string" />
094 *       &lt;attribute name="connectorPort" type="{http://www.w3.org/2001/XMLSchema}string" />
095 *       &lt;attribute name="createConnector" type="{http://www.w3.org/2001/XMLSchema}string" />
096 *       &lt;attribute name="createMBeanServer" type="{http://www.w3.org/2001/XMLSchema}boolean" />
097 *       &lt;attribute name="environment" type="{http://www.w3.org/2001/XMLSchema}string" />
098 *       &lt;attribute name="findTigerMbeanServer" type="{http://www.w3.org/2001/XMLSchema}boolean" />
099 *       &lt;attribute name="jmxDomainName" type="{http://www.w3.org/2001/XMLSchema}string" />
100 *       &lt;attribute name="rmiServerPort" type="{http://www.w3.org/2001/XMLSchema}string" />
101 *       &lt;attribute name="server" type="{http://www.w3.org/2001/XMLSchema}string" />
102 *       &lt;attribute name="suppressMBean" type="{http://www.w3.org/2001/XMLSchema}string" />
103 *       &lt;attribute name="useMBeanServer" type="{http://www.w3.org/2001/XMLSchema}boolean" />
104 *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
105 *       &lt;anyAttribute processContents='lax' namespace='##other'/>
106 *     &lt;/restriction>
107 *   &lt;/complexContent>
108 * &lt;/complexType>
109 * </pre>
110 * 
111 * 
112 */
113@XmlAccessorType(XmlAccessType.FIELD)
114@XmlType(name = "", propOrder = {
115    "mBeanServerOrEnvironmentOrServer"
116})
117@XmlRootElement(name = "managementContext")
118public class DtoManagementContext implements Equals, HashCode, ToString
119{
120
121    @XmlElementRefs({
122        @XmlElementRef(name = "environment", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
123        @XmlElementRef(name = "server", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false),
124        @XmlElementRef(name = "MBeanServer", namespace = "http://activemq.apache.org/schema/core", type = JAXBElement.class, required = false)
125    })
126    @XmlAnyElement(lax = true)
127    protected List<Object> mBeanServerOrEnvironmentOrServer;
128    @XmlAttribute(name = "MBeanServer")
129    protected String mBeanServer;
130    @XmlAttribute(name = "allowRemoteAddressInMBeanNames")
131    protected Boolean allowRemoteAddressInMBeanNames;
132    @XmlAttribute(name = "brokerName")
133    protected String brokerName;
134    @XmlAttribute(name = "connectorHost")
135    protected String connectorHost;
136    @XmlAttribute(name = "connectorPath")
137    protected String connectorPath;
138    @XmlAttribute(name = "connectorPort")
139    protected String connectorPort;
140    @XmlAttribute(name = "createConnector")
141    protected String createConnector;
142    @XmlAttribute(name = "createMBeanServer")
143    protected Boolean createMBeanServer;
144    @XmlAttribute(name = "environment")
145    protected String environment;
146    @XmlAttribute(name = "findTigerMbeanServer")
147    protected Boolean findTigerMbeanServer;
148    @XmlAttribute(name = "jmxDomainName")
149    protected String jmxDomainName;
150    @XmlAttribute(name = "rmiServerPort")
151    protected String rmiServerPort;
152    @XmlAttribute(name = "server")
153    protected String server;
154    @XmlAttribute(name = "suppressMBean")
155    protected String suppressMBean;
156    @XmlAttribute(name = "useMBeanServer")
157    protected Boolean useMBeanServer;
158    @XmlAttribute(name = "id")
159    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
160    @XmlID
161    @XmlSchemaType(name = "ID")
162    protected String id;
163    @XmlAnyAttribute
164    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
165
166    /**
167     * Gets the value of the mBeanServerOrEnvironmentOrServer property.
168     * 
169     * <p>
170     * This accessor method returns a reference to the live list,
171     * not a snapshot. Therefore any modification you make to the
172     * returned list will be present inside the JAXB object.
173     * This is why there is not a <CODE>set</CODE> method for the mBeanServerOrEnvironmentOrServer property.
174     * 
175     * <p>
176     * For example, to add a new item, do as follows:
177     * <pre>
178     *    getMBeanServerOrEnvironmentOrServer().add(newItem);
179     * </pre>
180     * 
181     * 
182     * <p>
183     * Objects of the following type(s) are allowed in the list
184     * {@link JAXBElement }{@code <}{@link DtoManagementContext.Environment }{@code >}
185     * {@link Object }
186     * {@link JAXBElement }{@code <}{@link DtoManagementContext.MBeanServer }{@code >}
187     * {@link JAXBElement }{@code <}{@link DtoManagementContext.Server }{@code >}
188     * 
189     * 
190     */
191    public List<Object> getMBeanServerOrEnvironmentOrServer() {
192        if (mBeanServerOrEnvironmentOrServer == null) {
193            mBeanServerOrEnvironmentOrServer = new ArrayList<Object>();
194        }
195        return this.mBeanServerOrEnvironmentOrServer;
196    }
197
198    /**
199     * Gets the value of the mBeanServer property.
200     * 
201     * @return
202     *     possible object is
203     *     {@link String }
204     *     
205     */
206    public String getMBeanServer() {
207        return mBeanServer;
208    }
209
210    /**
211     * Sets the value of the mBeanServer property.
212     * 
213     * @param value
214     *     allowed object is
215     *     {@link String }
216     *     
217     */
218    public void setMBeanServer(String value) {
219        this.mBeanServer = value;
220    }
221
222    /**
223     * Gets the value of the allowRemoteAddressInMBeanNames property.
224     * 
225     * @return
226     *     possible object is
227     *     {@link Boolean }
228     *     
229     */
230    public Boolean isAllowRemoteAddressInMBeanNames() {
231        return allowRemoteAddressInMBeanNames;
232    }
233
234    /**
235     * Sets the value of the allowRemoteAddressInMBeanNames property.
236     * 
237     * @param value
238     *     allowed object is
239     *     {@link Boolean }
240     *     
241     */
242    public void setAllowRemoteAddressInMBeanNames(Boolean value) {
243        this.allowRemoteAddressInMBeanNames = value;
244    }
245
246    /**
247     * Gets the value of the brokerName property.
248     * 
249     * @return
250     *     possible object is
251     *     {@link String }
252     *     
253     */
254    public String getBrokerName() {
255        return brokerName;
256    }
257
258    /**
259     * Sets the value of the brokerName property.
260     * 
261     * @param value
262     *     allowed object is
263     *     {@link String }
264     *     
265     */
266    public void setBrokerName(String value) {
267        this.brokerName = value;
268    }
269
270    /**
271     * Gets the value of the connectorHost property.
272     * 
273     * @return
274     *     possible object is
275     *     {@link String }
276     *     
277     */
278    public String getConnectorHost() {
279        return connectorHost;
280    }
281
282    /**
283     * Sets the value of the connectorHost property.
284     * 
285     * @param value
286     *     allowed object is
287     *     {@link String }
288     *     
289     */
290    public void setConnectorHost(String value) {
291        this.connectorHost = value;
292    }
293
294    /**
295     * Gets the value of the connectorPath property.
296     * 
297     * @return
298     *     possible object is
299     *     {@link String }
300     *     
301     */
302    public String getConnectorPath() {
303        return connectorPath;
304    }
305
306    /**
307     * Sets the value of the connectorPath property.
308     * 
309     * @param value
310     *     allowed object is
311     *     {@link String }
312     *     
313     */
314    public void setConnectorPath(String value) {
315        this.connectorPath = value;
316    }
317
318    /**
319     * Gets the value of the connectorPort property.
320     * 
321     * @return
322     *     possible object is
323     *     {@link String }
324     *     
325     */
326    public String getConnectorPort() {
327        return connectorPort;
328    }
329
330    /**
331     * Sets the value of the connectorPort property.
332     * 
333     * @param value
334     *     allowed object is
335     *     {@link String }
336     *     
337     */
338    public void setConnectorPort(String value) {
339        this.connectorPort = value;
340    }
341
342    /**
343     * Gets the value of the createConnector property.
344     * 
345     * @return
346     *     possible object is
347     *     {@link String }
348     *     
349     */
350    public String getCreateConnector() {
351        return createConnector;
352    }
353
354    /**
355     * Sets the value of the createConnector property.
356     * 
357     * @param value
358     *     allowed object is
359     *     {@link String }
360     *     
361     */
362    public void setCreateConnector(String value) {
363        this.createConnector = value;
364    }
365
366    /**
367     * Gets the value of the createMBeanServer property.
368     * 
369     * @return
370     *     possible object is
371     *     {@link Boolean }
372     *     
373     */
374    public Boolean isCreateMBeanServer() {
375        return createMBeanServer;
376    }
377
378    /**
379     * Sets the value of the createMBeanServer property.
380     * 
381     * @param value
382     *     allowed object is
383     *     {@link Boolean }
384     *     
385     */
386    public void setCreateMBeanServer(Boolean value) {
387        this.createMBeanServer = value;
388    }
389
390    /**
391     * Gets the value of the environment property.
392     * 
393     * @return
394     *     possible object is
395     *     {@link String }
396     *     
397     */
398    public String getEnvironment() {
399        return environment;
400    }
401
402    /**
403     * Sets the value of the environment property.
404     * 
405     * @param value
406     *     allowed object is
407     *     {@link String }
408     *     
409     */
410    public void setEnvironment(String value) {
411        this.environment = value;
412    }
413
414    /**
415     * Gets the value of the findTigerMbeanServer property.
416     * 
417     * @return
418     *     possible object is
419     *     {@link Boolean }
420     *     
421     */
422    public Boolean isFindTigerMbeanServer() {
423        return findTigerMbeanServer;
424    }
425
426    /**
427     * Sets the value of the findTigerMbeanServer property.
428     * 
429     * @param value
430     *     allowed object is
431     *     {@link Boolean }
432     *     
433     */
434    public void setFindTigerMbeanServer(Boolean value) {
435        this.findTigerMbeanServer = value;
436    }
437
438    /**
439     * Gets the value of the jmxDomainName property.
440     * 
441     * @return
442     *     possible object is
443     *     {@link String }
444     *     
445     */
446    public String getJmxDomainName() {
447        return jmxDomainName;
448    }
449
450    /**
451     * Sets the value of the jmxDomainName property.
452     * 
453     * @param value
454     *     allowed object is
455     *     {@link String }
456     *     
457     */
458    public void setJmxDomainName(String value) {
459        this.jmxDomainName = value;
460    }
461
462    /**
463     * Gets the value of the rmiServerPort property.
464     * 
465     * @return
466     *     possible object is
467     *     {@link String }
468     *     
469     */
470    public String getRmiServerPort() {
471        return rmiServerPort;
472    }
473
474    /**
475     * Sets the value of the rmiServerPort property.
476     * 
477     * @param value
478     *     allowed object is
479     *     {@link String }
480     *     
481     */
482    public void setRmiServerPort(String value) {
483        this.rmiServerPort = value;
484    }
485
486    /**
487     * Gets the value of the server property.
488     * 
489     * @return
490     *     possible object is
491     *     {@link String }
492     *     
493     */
494    public String getServer() {
495        return server;
496    }
497
498    /**
499     * Sets the value of the server property.
500     * 
501     * @param value
502     *     allowed object is
503     *     {@link String }
504     *     
505     */
506    public void setServer(String value) {
507        this.server = value;
508    }
509
510    /**
511     * Gets the value of the suppressMBean property.
512     * 
513     * @return
514     *     possible object is
515     *     {@link String }
516     *     
517     */
518    public String getSuppressMBean() {
519        return suppressMBean;
520    }
521
522    /**
523     * Sets the value of the suppressMBean property.
524     * 
525     * @param value
526     *     allowed object is
527     *     {@link String }
528     *     
529     */
530    public void setSuppressMBean(String value) {
531        this.suppressMBean = value;
532    }
533
534    /**
535     * Gets the value of the useMBeanServer property.
536     * 
537     * @return
538     *     possible object is
539     *     {@link Boolean }
540     *     
541     */
542    public Boolean isUseMBeanServer() {
543        return useMBeanServer;
544    }
545
546    /**
547     * Sets the value of the useMBeanServer property.
548     * 
549     * @param value
550     *     allowed object is
551     *     {@link Boolean }
552     *     
553     */
554    public void setUseMBeanServer(Boolean value) {
555        this.useMBeanServer = value;
556    }
557
558    /**
559     * Gets the value of the id property.
560     * 
561     * @return
562     *     possible object is
563     *     {@link String }
564     *     
565     */
566    public String getId() {
567        return id;
568    }
569
570    /**
571     * Sets the value of the id property.
572     * 
573     * @param value
574     *     allowed object is
575     *     {@link String }
576     *     
577     */
578    public void setId(String value) {
579        this.id = value;
580    }
581
582    /**
583     * Gets a map that contains attributes that aren't bound to any typed property on this class.
584     * 
585     * <p>
586     * the map is keyed by the name of the attribute and 
587     * the value is the string value of the attribute.
588     * 
589     * the map returned by this method is live, and you can add new attribute
590     * by updating the map directly. Because of this design, there's no setter.
591     * 
592     * 
593     * @return
594     *     always non-null
595     */
596    public Map<QName, String> getOtherAttributes() {
597        return otherAttributes;
598    }
599
600    public String toString() {
601        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
602        final StringBuilder buffer = new StringBuilder();
603        append(null, buffer, strategy);
604        return buffer.toString();
605    }
606
607    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
608        strategy.appendStart(locator, this, buffer);
609        appendFields(locator, buffer, strategy);
610        strategy.appendEnd(locator, this, buffer);
611        return buffer;
612    }
613
614    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
615        {
616            List<Object> theMBeanServerOrEnvironmentOrServer;
617            theMBeanServerOrEnvironmentOrServer = (((this.mBeanServerOrEnvironmentOrServer!= null)&&(!this.mBeanServerOrEnvironmentOrServer.isEmpty()))?this.getMBeanServerOrEnvironmentOrServer():null);
618            strategy.appendField(locator, this, "mBeanServerOrEnvironmentOrServer", buffer, theMBeanServerOrEnvironmentOrServer);
619        }
620        {
621            String theMBeanServer;
622            theMBeanServer = this.getMBeanServer();
623            strategy.appendField(locator, this, "mBeanServer", buffer, theMBeanServer);
624        }
625        {
626            Boolean theAllowRemoteAddressInMBeanNames;
627            theAllowRemoteAddressInMBeanNames = this.isAllowRemoteAddressInMBeanNames();
628            strategy.appendField(locator, this, "allowRemoteAddressInMBeanNames", buffer, theAllowRemoteAddressInMBeanNames);
629        }
630        {
631            String theBrokerName;
632            theBrokerName = this.getBrokerName();
633            strategy.appendField(locator, this, "brokerName", buffer, theBrokerName);
634        }
635        {
636            String theConnectorHost;
637            theConnectorHost = this.getConnectorHost();
638            strategy.appendField(locator, this, "connectorHost", buffer, theConnectorHost);
639        }
640        {
641            String theConnectorPath;
642            theConnectorPath = this.getConnectorPath();
643            strategy.appendField(locator, this, "connectorPath", buffer, theConnectorPath);
644        }
645        {
646            String theConnectorPort;
647            theConnectorPort = this.getConnectorPort();
648            strategy.appendField(locator, this, "connectorPort", buffer, theConnectorPort);
649        }
650        {
651            String theCreateConnector;
652            theCreateConnector = this.getCreateConnector();
653            strategy.appendField(locator, this, "createConnector", buffer, theCreateConnector);
654        }
655        {
656            Boolean theCreateMBeanServer;
657            theCreateMBeanServer = this.isCreateMBeanServer();
658            strategy.appendField(locator, this, "createMBeanServer", buffer, theCreateMBeanServer);
659        }
660        {
661            String theEnvironment;
662            theEnvironment = this.getEnvironment();
663            strategy.appendField(locator, this, "environment", buffer, theEnvironment);
664        }
665        {
666            Boolean theFindTigerMbeanServer;
667            theFindTigerMbeanServer = this.isFindTigerMbeanServer();
668            strategy.appendField(locator, this, "findTigerMbeanServer", buffer, theFindTigerMbeanServer);
669        }
670        {
671            String theJmxDomainName;
672            theJmxDomainName = this.getJmxDomainName();
673            strategy.appendField(locator, this, "jmxDomainName", buffer, theJmxDomainName);
674        }
675        {
676            String theRmiServerPort;
677            theRmiServerPort = this.getRmiServerPort();
678            strategy.appendField(locator, this, "rmiServerPort", buffer, theRmiServerPort);
679        }
680        {
681            String theServer;
682            theServer = this.getServer();
683            strategy.appendField(locator, this, "server", buffer, theServer);
684        }
685        {
686            String theSuppressMBean;
687            theSuppressMBean = this.getSuppressMBean();
688            strategy.appendField(locator, this, "suppressMBean", buffer, theSuppressMBean);
689        }
690        {
691            Boolean theUseMBeanServer;
692            theUseMBeanServer = this.isUseMBeanServer();
693            strategy.appendField(locator, this, "useMBeanServer", buffer, theUseMBeanServer);
694        }
695        {
696            String theId;
697            theId = this.getId();
698            strategy.appendField(locator, this, "id", buffer, theId);
699        }
700        return buffer;
701    }
702
703    public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
704        int currentHashCode = 1;
705        {
706            List<Object> theMBeanServerOrEnvironmentOrServer;
707            theMBeanServerOrEnvironmentOrServer = (((this.mBeanServerOrEnvironmentOrServer!= null)&&(!this.mBeanServerOrEnvironmentOrServer.isEmpty()))?this.getMBeanServerOrEnvironmentOrServer():null);
708            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mBeanServerOrEnvironmentOrServer", theMBeanServerOrEnvironmentOrServer), currentHashCode, theMBeanServerOrEnvironmentOrServer);
709        }
710        {
711            String theMBeanServer;
712            theMBeanServer = this.getMBeanServer();
713            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "mBeanServer", theMBeanServer), currentHashCode, theMBeanServer);
714        }
715        {
716            Boolean theAllowRemoteAddressInMBeanNames;
717            theAllowRemoteAddressInMBeanNames = this.isAllowRemoteAddressInMBeanNames();
718            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "allowRemoteAddressInMBeanNames", theAllowRemoteAddressInMBeanNames), currentHashCode, theAllowRemoteAddressInMBeanNames);
719        }
720        {
721            String theBrokerName;
722            theBrokerName = this.getBrokerName();
723            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "brokerName", theBrokerName), currentHashCode, theBrokerName);
724        }
725        {
726            String theConnectorHost;
727            theConnectorHost = this.getConnectorHost();
728            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectorHost", theConnectorHost), currentHashCode, theConnectorHost);
729        }
730        {
731            String theConnectorPath;
732            theConnectorPath = this.getConnectorPath();
733            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectorPath", theConnectorPath), currentHashCode, theConnectorPath);
734        }
735        {
736            String theConnectorPort;
737            theConnectorPort = this.getConnectorPort();
738            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectorPort", theConnectorPort), currentHashCode, theConnectorPort);
739        }
740        {
741            String theCreateConnector;
742            theCreateConnector = this.getCreateConnector();
743            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createConnector", theCreateConnector), currentHashCode, theCreateConnector);
744        }
745        {
746            Boolean theCreateMBeanServer;
747            theCreateMBeanServer = this.isCreateMBeanServer();
748            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createMBeanServer", theCreateMBeanServer), currentHashCode, theCreateMBeanServer);
749        }
750        {
751            String theEnvironment;
752            theEnvironment = this.getEnvironment();
753            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "environment", theEnvironment), currentHashCode, theEnvironment);
754        }
755        {
756            Boolean theFindTigerMbeanServer;
757            theFindTigerMbeanServer = this.isFindTigerMbeanServer();
758            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "findTigerMbeanServer", theFindTigerMbeanServer), currentHashCode, theFindTigerMbeanServer);
759        }
760        {
761            String theJmxDomainName;
762            theJmxDomainName = this.getJmxDomainName();
763            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "jmxDomainName", theJmxDomainName), currentHashCode, theJmxDomainName);
764        }
765        {
766            String theRmiServerPort;
767            theRmiServerPort = this.getRmiServerPort();
768            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rmiServerPort", theRmiServerPort), currentHashCode, theRmiServerPort);
769        }
770        {
771            String theServer;
772            theServer = this.getServer();
773            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "server", theServer), currentHashCode, theServer);
774        }
775        {
776            String theSuppressMBean;
777            theSuppressMBean = this.getSuppressMBean();
778            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "suppressMBean", theSuppressMBean), currentHashCode, theSuppressMBean);
779        }
780        {
781            Boolean theUseMBeanServer;
782            theUseMBeanServer = this.isUseMBeanServer();
783            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "useMBeanServer", theUseMBeanServer), currentHashCode, theUseMBeanServer);
784        }
785        {
786            String theId;
787            theId = this.getId();
788            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
789        }
790        return currentHashCode;
791    }
792
793    public int hashCode() {
794        final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
795        return this.hashCode(null, strategy);
796    }
797
798    public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
799        if (!(object instanceof DtoManagementContext)) {
800            return false;
801        }
802        if (this == object) {
803            return true;
804        }
805        final DtoManagementContext that = ((DtoManagementContext) object);
806        {
807            List<Object> lhsMBeanServerOrEnvironmentOrServer;
808            lhsMBeanServerOrEnvironmentOrServer = (((this.mBeanServerOrEnvironmentOrServer!= null)&&(!this.mBeanServerOrEnvironmentOrServer.isEmpty()))?this.getMBeanServerOrEnvironmentOrServer():null);
809            List<Object> rhsMBeanServerOrEnvironmentOrServer;
810            rhsMBeanServerOrEnvironmentOrServer = (((that.mBeanServerOrEnvironmentOrServer!= null)&&(!that.mBeanServerOrEnvironmentOrServer.isEmpty()))?that.getMBeanServerOrEnvironmentOrServer():null);
811            if (!strategy.equals(LocatorUtils.property(thisLocator, "mBeanServerOrEnvironmentOrServer", lhsMBeanServerOrEnvironmentOrServer), LocatorUtils.property(thatLocator, "mBeanServerOrEnvironmentOrServer", rhsMBeanServerOrEnvironmentOrServer), lhsMBeanServerOrEnvironmentOrServer, rhsMBeanServerOrEnvironmentOrServer)) {
812                return false;
813            }
814        }
815        {
816            String lhsMBeanServer;
817            lhsMBeanServer = this.getMBeanServer();
818            String rhsMBeanServer;
819            rhsMBeanServer = that.getMBeanServer();
820            if (!strategy.equals(LocatorUtils.property(thisLocator, "mBeanServer", lhsMBeanServer), LocatorUtils.property(thatLocator, "mBeanServer", rhsMBeanServer), lhsMBeanServer, rhsMBeanServer)) {
821                return false;
822            }
823        }
824        {
825            Boolean lhsAllowRemoteAddressInMBeanNames;
826            lhsAllowRemoteAddressInMBeanNames = this.isAllowRemoteAddressInMBeanNames();
827            Boolean rhsAllowRemoteAddressInMBeanNames;
828            rhsAllowRemoteAddressInMBeanNames = that.isAllowRemoteAddressInMBeanNames();
829            if (!strategy.equals(LocatorUtils.property(thisLocator, "allowRemoteAddressInMBeanNames", lhsAllowRemoteAddressInMBeanNames), LocatorUtils.property(thatLocator, "allowRemoteAddressInMBeanNames", rhsAllowRemoteAddressInMBeanNames), lhsAllowRemoteAddressInMBeanNames, rhsAllowRemoteAddressInMBeanNames)) {
830                return false;
831            }
832        }
833        {
834            String lhsBrokerName;
835            lhsBrokerName = this.getBrokerName();
836            String rhsBrokerName;
837            rhsBrokerName = that.getBrokerName();
838            if (!strategy.equals(LocatorUtils.property(thisLocator, "brokerName", lhsBrokerName), LocatorUtils.property(thatLocator, "brokerName", rhsBrokerName), lhsBrokerName, rhsBrokerName)) {
839                return false;
840            }
841        }
842        {
843            String lhsConnectorHost;
844            lhsConnectorHost = this.getConnectorHost();
845            String rhsConnectorHost;
846            rhsConnectorHost = that.getConnectorHost();
847            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectorHost", lhsConnectorHost), LocatorUtils.property(thatLocator, "connectorHost", rhsConnectorHost), lhsConnectorHost, rhsConnectorHost)) {
848                return false;
849            }
850        }
851        {
852            String lhsConnectorPath;
853            lhsConnectorPath = this.getConnectorPath();
854            String rhsConnectorPath;
855            rhsConnectorPath = that.getConnectorPath();
856            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectorPath", lhsConnectorPath), LocatorUtils.property(thatLocator, "connectorPath", rhsConnectorPath), lhsConnectorPath, rhsConnectorPath)) {
857                return false;
858            }
859        }
860        {
861            String lhsConnectorPort;
862            lhsConnectorPort = this.getConnectorPort();
863            String rhsConnectorPort;
864            rhsConnectorPort = that.getConnectorPort();
865            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectorPort", lhsConnectorPort), LocatorUtils.property(thatLocator, "connectorPort", rhsConnectorPort), lhsConnectorPort, rhsConnectorPort)) {
866                return false;
867            }
868        }
869        {
870            String lhsCreateConnector;
871            lhsCreateConnector = this.getCreateConnector();
872            String rhsCreateConnector;
873            rhsCreateConnector = that.getCreateConnector();
874            if (!strategy.equals(LocatorUtils.property(thisLocator, "createConnector", lhsCreateConnector), LocatorUtils.property(thatLocator, "createConnector", rhsCreateConnector), lhsCreateConnector, rhsCreateConnector)) {
875                return false;
876            }
877        }
878        {
879            Boolean lhsCreateMBeanServer;
880            lhsCreateMBeanServer = this.isCreateMBeanServer();
881            Boolean rhsCreateMBeanServer;
882            rhsCreateMBeanServer = that.isCreateMBeanServer();
883            if (!strategy.equals(LocatorUtils.property(thisLocator, "createMBeanServer", lhsCreateMBeanServer), LocatorUtils.property(thatLocator, "createMBeanServer", rhsCreateMBeanServer), lhsCreateMBeanServer, rhsCreateMBeanServer)) {
884                return false;
885            }
886        }
887        {
888            String lhsEnvironment;
889            lhsEnvironment = this.getEnvironment();
890            String rhsEnvironment;
891            rhsEnvironment = that.getEnvironment();
892            if (!strategy.equals(LocatorUtils.property(thisLocator, "environment", lhsEnvironment), LocatorUtils.property(thatLocator, "environment", rhsEnvironment), lhsEnvironment, rhsEnvironment)) {
893                return false;
894            }
895        }
896        {
897            Boolean lhsFindTigerMbeanServer;
898            lhsFindTigerMbeanServer = this.isFindTigerMbeanServer();
899            Boolean rhsFindTigerMbeanServer;
900            rhsFindTigerMbeanServer = that.isFindTigerMbeanServer();
901            if (!strategy.equals(LocatorUtils.property(thisLocator, "findTigerMbeanServer", lhsFindTigerMbeanServer), LocatorUtils.property(thatLocator, "findTigerMbeanServer", rhsFindTigerMbeanServer), lhsFindTigerMbeanServer, rhsFindTigerMbeanServer)) {
902                return false;
903            }
904        }
905        {
906            String lhsJmxDomainName;
907            lhsJmxDomainName = this.getJmxDomainName();
908            String rhsJmxDomainName;
909            rhsJmxDomainName = that.getJmxDomainName();
910            if (!strategy.equals(LocatorUtils.property(thisLocator, "jmxDomainName", lhsJmxDomainName), LocatorUtils.property(thatLocator, "jmxDomainName", rhsJmxDomainName), lhsJmxDomainName, rhsJmxDomainName)) {
911                return false;
912            }
913        }
914        {
915            String lhsRmiServerPort;
916            lhsRmiServerPort = this.getRmiServerPort();
917            String rhsRmiServerPort;
918            rhsRmiServerPort = that.getRmiServerPort();
919            if (!strategy.equals(LocatorUtils.property(thisLocator, "rmiServerPort", lhsRmiServerPort), LocatorUtils.property(thatLocator, "rmiServerPort", rhsRmiServerPort), lhsRmiServerPort, rhsRmiServerPort)) {
920                return false;
921            }
922        }
923        {
924            String lhsServer;
925            lhsServer = this.getServer();
926            String rhsServer;
927            rhsServer = that.getServer();
928            if (!strategy.equals(LocatorUtils.property(thisLocator, "server", lhsServer), LocatorUtils.property(thatLocator, "server", rhsServer), lhsServer, rhsServer)) {
929                return false;
930            }
931        }
932        {
933            String lhsSuppressMBean;
934            lhsSuppressMBean = this.getSuppressMBean();
935            String rhsSuppressMBean;
936            rhsSuppressMBean = that.getSuppressMBean();
937            if (!strategy.equals(LocatorUtils.property(thisLocator, "suppressMBean", lhsSuppressMBean), LocatorUtils.property(thatLocator, "suppressMBean", rhsSuppressMBean), lhsSuppressMBean, rhsSuppressMBean)) {
938                return false;
939            }
940        }
941        {
942            Boolean lhsUseMBeanServer;
943            lhsUseMBeanServer = this.isUseMBeanServer();
944            Boolean rhsUseMBeanServer;
945            rhsUseMBeanServer = that.isUseMBeanServer();
946            if (!strategy.equals(LocatorUtils.property(thisLocator, "useMBeanServer", lhsUseMBeanServer), LocatorUtils.property(thatLocator, "useMBeanServer", rhsUseMBeanServer), lhsUseMBeanServer, rhsUseMBeanServer)) {
947                return false;
948            }
949        }
950        {
951            String lhsId;
952            lhsId = this.getId();
953            String rhsId;
954            rhsId = that.getId();
955            if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
956                return false;
957            }
958        }
959        return true;
960    }
961
962    public boolean equals(Object object) {
963        final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
964        return equals(null, null, object, strategy);
965    }
966
967
968    /**
969     * <p>Java class for anonymous complex type.
970     * 
971     * <p>The following schema fragment specifies the expected content contained within this class.
972     * 
973     * <pre>
974     * &lt;complexType>
975     *   &lt;complexContent>
976     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
977     *       &lt;sequence maxOccurs="unbounded" minOccurs="0">
978     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
979     *       &lt;/sequence>
980     *     &lt;/restriction>
981     *   &lt;/complexContent>
982     * &lt;/complexType>
983     * </pre>
984     * 
985     * 
986     */
987    @XmlAccessorType(XmlAccessType.FIELD)
988    @XmlType(name = "", propOrder = {
989        "any"
990    })
991    public static class Environment
992        implements Equals, HashCode, ToString
993    {
994
995        @XmlAnyElement(lax = true)
996        protected List<Object> any;
997
998        /**
999         * Gets the value of the any property.
1000         * 
1001         * <p>
1002         * This accessor method returns a reference to the live list,
1003         * not a snapshot. Therefore any modification you make to the
1004         * returned list will be present inside the JAXB object.
1005         * This is why there is not a <CODE>set</CODE> method for the any property.
1006         * 
1007         * <p>
1008         * For example, to add a new item, do as follows:
1009         * <pre>
1010         *    getAny().add(newItem);
1011         * </pre>
1012         * 
1013         * 
1014         * <p>
1015         * Objects of the following type(s) are allowed in the list
1016         * {@link Object }
1017         * 
1018         * 
1019         */
1020        public List<Object> getAny() {
1021            if (any == null) {
1022                any = new ArrayList<Object>();
1023            }
1024            return this.any;
1025        }
1026
1027        public String toString() {
1028            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1029            final StringBuilder buffer = new StringBuilder();
1030            append(null, buffer, strategy);
1031            return buffer.toString();
1032        }
1033
1034        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1035            strategy.appendStart(locator, this, buffer);
1036            appendFields(locator, buffer, strategy);
1037            strategy.appendEnd(locator, this, buffer);
1038            return buffer;
1039        }
1040
1041        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1042            {
1043                List<Object> theAny;
1044                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1045                strategy.appendField(locator, this, "any", buffer, theAny);
1046            }
1047            return buffer;
1048        }
1049
1050        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1051            int currentHashCode = 1;
1052            {
1053                List<Object> theAny;
1054                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1055                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1056            }
1057            return currentHashCode;
1058        }
1059
1060        public int hashCode() {
1061            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1062            return this.hashCode(null, strategy);
1063        }
1064
1065        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1066            if (!(object instanceof DtoManagementContext.Environment)) {
1067                return false;
1068            }
1069            if (this == object) {
1070                return true;
1071            }
1072            final DtoManagementContext.Environment that = ((DtoManagementContext.Environment) object);
1073            {
1074                List<Object> lhsAny;
1075                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1076                List<Object> rhsAny;
1077                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1078                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1079                    return false;
1080                }
1081            }
1082            return true;
1083        }
1084
1085        public boolean equals(Object object) {
1086            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1087            return equals(null, null, object, strategy);
1088        }
1089
1090    }
1091
1092
1093    /**
1094     * <p>Java class for anonymous complex type.
1095     * 
1096     * <p>The following schema fragment specifies the expected content contained within this class.
1097     * 
1098     * <pre>
1099     * &lt;complexType>
1100     *   &lt;complexContent>
1101     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1102     *       &lt;sequence minOccurs="0">
1103     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1104     *       &lt;/sequence>
1105     *     &lt;/restriction>
1106     *   &lt;/complexContent>
1107     * &lt;/complexType>
1108     * </pre>
1109     * 
1110     * 
1111     */
1112    @XmlAccessorType(XmlAccessType.FIELD)
1113    @XmlType(name = "", propOrder = {
1114        "any"
1115    })
1116    public static class MBeanServer
1117        implements Equals, HashCode, ToString
1118    {
1119
1120        @XmlAnyElement(lax = true)
1121        protected List<Object> any;
1122
1123        /**
1124         * Gets the value of the any property.
1125         * 
1126         * <p>
1127         * This accessor method returns a reference to the live list,
1128         * not a snapshot. Therefore any modification you make to the
1129         * returned list will be present inside the JAXB object.
1130         * This is why there is not a <CODE>set</CODE> method for the any property.
1131         * 
1132         * <p>
1133         * For example, to add a new item, do as follows:
1134         * <pre>
1135         *    getAny().add(newItem);
1136         * </pre>
1137         * 
1138         * 
1139         * <p>
1140         * Objects of the following type(s) are allowed in the list
1141         * {@link Object }
1142         * 
1143         * 
1144         */
1145        public List<Object> getAny() {
1146            if (any == null) {
1147                any = new ArrayList<Object>();
1148            }
1149            return this.any;
1150        }
1151
1152        public String toString() {
1153            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1154            final StringBuilder buffer = new StringBuilder();
1155            append(null, buffer, strategy);
1156            return buffer.toString();
1157        }
1158
1159        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1160            strategy.appendStart(locator, this, buffer);
1161            appendFields(locator, buffer, strategy);
1162            strategy.appendEnd(locator, this, buffer);
1163            return buffer;
1164        }
1165
1166        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1167            {
1168                List<Object> theAny;
1169                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1170                strategy.appendField(locator, this, "any", buffer, theAny);
1171            }
1172            return buffer;
1173        }
1174
1175        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1176            int currentHashCode = 1;
1177            {
1178                List<Object> theAny;
1179                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1180                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1181            }
1182            return currentHashCode;
1183        }
1184
1185        public int hashCode() {
1186            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1187            return this.hashCode(null, strategy);
1188        }
1189
1190        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1191            if (!(object instanceof DtoManagementContext.MBeanServer)) {
1192                return false;
1193            }
1194            if (this == object) {
1195                return true;
1196            }
1197            final DtoManagementContext.MBeanServer that = ((DtoManagementContext.MBeanServer) object);
1198            {
1199                List<Object> lhsAny;
1200                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1201                List<Object> rhsAny;
1202                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1203                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1204                    return false;
1205                }
1206            }
1207            return true;
1208        }
1209
1210        public boolean equals(Object object) {
1211            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1212            return equals(null, null, object, strategy);
1213        }
1214
1215    }
1216
1217
1218    /**
1219     * <p>Java class for anonymous complex type.
1220     * 
1221     * <p>The following schema fragment specifies the expected content contained within this class.
1222     * 
1223     * <pre>
1224     * &lt;complexType>
1225     *   &lt;complexContent>
1226     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1227     *       &lt;sequence minOccurs="0">
1228     *         &lt;any maxOccurs="unbounded" minOccurs="0"/>
1229     *       &lt;/sequence>
1230     *     &lt;/restriction>
1231     *   &lt;/complexContent>
1232     * &lt;/complexType>
1233     * </pre>
1234     * 
1235     * 
1236     */
1237    @XmlAccessorType(XmlAccessType.FIELD)
1238    @XmlType(name = "", propOrder = {
1239        "any"
1240    })
1241    public static class Server
1242        implements Equals, HashCode, ToString
1243    {
1244
1245        @XmlAnyElement(lax = true)
1246        protected List<Object> any;
1247
1248        /**
1249         * Gets the value of the any property.
1250         * 
1251         * <p>
1252         * This accessor method returns a reference to the live list,
1253         * not a snapshot. Therefore any modification you make to the
1254         * returned list will be present inside the JAXB object.
1255         * This is why there is not a <CODE>set</CODE> method for the any property.
1256         * 
1257         * <p>
1258         * For example, to add a new item, do as follows:
1259         * <pre>
1260         *    getAny().add(newItem);
1261         * </pre>
1262         * 
1263         * 
1264         * <p>
1265         * Objects of the following type(s) are allowed in the list
1266         * {@link Object }
1267         * 
1268         * 
1269         */
1270        public List<Object> getAny() {
1271            if (any == null) {
1272                any = new ArrayList<Object>();
1273            }
1274            return this.any;
1275        }
1276
1277        public String toString() {
1278            final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
1279            final StringBuilder buffer = new StringBuilder();
1280            append(null, buffer, strategy);
1281            return buffer.toString();
1282        }
1283
1284        public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1285            strategy.appendStart(locator, this, buffer);
1286            appendFields(locator, buffer, strategy);
1287            strategy.appendEnd(locator, this, buffer);
1288            return buffer;
1289        }
1290
1291        public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
1292            {
1293                List<Object> theAny;
1294                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1295                strategy.appendField(locator, this, "any", buffer, theAny);
1296            }
1297            return buffer;
1298        }
1299
1300        public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
1301            int currentHashCode = 1;
1302            {
1303                List<Object> theAny;
1304                theAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1305                currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "any", theAny), currentHashCode, theAny);
1306            }
1307            return currentHashCode;
1308        }
1309
1310        public int hashCode() {
1311            final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
1312            return this.hashCode(null, strategy);
1313        }
1314
1315        public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
1316            if (!(object instanceof DtoManagementContext.Server)) {
1317                return false;
1318            }
1319            if (this == object) {
1320                return true;
1321            }
1322            final DtoManagementContext.Server that = ((DtoManagementContext.Server) object);
1323            {
1324                List<Object> lhsAny;
1325                lhsAny = (((this.any!= null)&&(!this.any.isEmpty()))?this.getAny():null);
1326                List<Object> rhsAny;
1327                rhsAny = (((that.any!= null)&&(!that.any.isEmpty()))?that.getAny():null);
1328                if (!strategy.equals(LocatorUtils.property(thisLocator, "any", lhsAny), LocatorUtils.property(thatLocator, "any", rhsAny), lhsAny, rhsAny)) {
1329                    return false;
1330                }
1331            }
1332            return true;
1333        }
1334
1335        public boolean equals(Object object) {
1336            final EqualsStrategy strategy = new org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy();
1337            return equals(null, null, object, strategy);
1338        }
1339
1340    }
1341
1342}