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: 2021.01.20 at 07:26:32 AM EST 
006//
007
008
009package org.apache.activemq.schema.core;
010
011import java.math.BigInteger;
012import java.util.HashMap;
013import java.util.Map;
014import javax.xml.bind.annotation.XmlAccessType;
015import javax.xml.bind.annotation.XmlAccessorType;
016import javax.xml.bind.annotation.XmlAnyAttribute;
017import javax.xml.bind.annotation.XmlAttribute;
018import javax.xml.bind.annotation.XmlID;
019import javax.xml.bind.annotation.XmlRootElement;
020import javax.xml.bind.annotation.XmlSchemaType;
021import javax.xml.bind.annotation.XmlType;
022import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
023import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
024import javax.xml.namespace.QName;
025import org.apache.activemq.plugin.jaxb2_commons.ElementAwareEqualsStrategy;
026import org.jvnet.jaxb2_commons.lang.Equals;
027import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
028import org.jvnet.jaxb2_commons.lang.HashCode;
029import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
030import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
031import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
032import org.jvnet.jaxb2_commons.lang.ToString;
033import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
034import org.jvnet.jaxb2_commons.locator.ObjectLocator;
035import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
036
037
038/**
039 * <p>Java class for anonymous complex type.
040 * 
041 * <p>The following schema fragment specifies the expected content contained within this class.
042 * 
043 * <pre>
044 * &lt;complexType>
045 *   &lt;complexContent>
046 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
047 *       &lt;attribute name="adminPermissionGroupSearchFilter" type="{http://www.w3.org/2001/XMLSchema}string" />
048 *       &lt;attribute name="authentication" type="{http://www.w3.org/2001/XMLSchema}string" />
049 *       &lt;attribute name="connectionPassword" type="{http://www.w3.org/2001/XMLSchema}string" />
050 *       &lt;attribute name="connectionProtocol" type="{http://www.w3.org/2001/XMLSchema}string" />
051 *       &lt;attribute name="connectionURL" type="{http://www.w3.org/2001/XMLSchema}string" />
052 *       &lt;attribute name="connectionUsername" type="{http://www.w3.org/2001/XMLSchema}string" />
053 *       &lt;attribute name="groupClass" type="{http://www.w3.org/2001/XMLSchema}string" />
054 *       &lt;attribute name="groupNameAttribute" type="{http://www.w3.org/2001/XMLSchema}string" />
055 *       &lt;attribute name="groupObjectClass" type="{http://www.w3.org/2001/XMLSchema}string" />
056 *       &lt;attribute name="legacyGroupMapping" type="{http://www.w3.org/2001/XMLSchema}boolean" />
057 *       &lt;attribute name="permissionGroupMemberAttribute" type="{http://www.w3.org/2001/XMLSchema}string" />
058 *       &lt;attribute name="queueSearchBase" type="{http://www.w3.org/2001/XMLSchema}string" />
059 *       &lt;attribute name="readPermissionGroupSearchFilter" type="{http://www.w3.org/2001/XMLSchema}string" />
060 *       &lt;attribute name="refreshDisabled" type="{http://www.w3.org/2001/XMLSchema}boolean" />
061 *       &lt;attribute name="refreshInterval" type="{http://www.w3.org/2001/XMLSchema}integer" />
062 *       &lt;attribute name="tempSearchBase" type="{http://www.w3.org/2001/XMLSchema}string" />
063 *       &lt;attribute name="topicSearchBase" type="{http://www.w3.org/2001/XMLSchema}string" />
064 *       &lt;attribute name="userNameAttribute" type="{http://www.w3.org/2001/XMLSchema}string" />
065 *       &lt;attribute name="userObjectClass" type="{http://www.w3.org/2001/XMLSchema}string" />
066 *       &lt;attribute name="writePermissionGroupSearchFilter" type="{http://www.w3.org/2001/XMLSchema}string" />
067 *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
068 *       &lt;anyAttribute processContents='lax' namespace='##other'/>
069 *     &lt;/restriction>
070 *   &lt;/complexContent>
071 * &lt;/complexType>
072 * </pre>
073 * 
074 * 
075 */
076@XmlAccessorType(XmlAccessType.FIELD)
077@XmlType(name = "")
078@XmlRootElement(name = "cachedLDAPAuthorizationMap")
079public class DtoCachedLDAPAuthorizationMap
080    implements Equals, HashCode, ToString
081{
082
083    @XmlAttribute(name = "adminPermissionGroupSearchFilter")
084    protected String adminPermissionGroupSearchFilter;
085    @XmlAttribute(name = "authentication")
086    protected String authentication;
087    @XmlAttribute(name = "connectionPassword")
088    protected String connectionPassword;
089    @XmlAttribute(name = "connectionProtocol")
090    protected String connectionProtocol;
091    @XmlAttribute(name = "connectionURL")
092    protected String connectionURL;
093    @XmlAttribute(name = "connectionUsername")
094    protected String connectionUsername;
095    @XmlAttribute(name = "groupClass")
096    protected String groupClass;
097    @XmlAttribute(name = "groupNameAttribute")
098    protected String groupNameAttribute;
099    @XmlAttribute(name = "groupObjectClass")
100    protected String groupObjectClass;
101    @XmlAttribute(name = "legacyGroupMapping")
102    protected Boolean legacyGroupMapping;
103    @XmlAttribute(name = "permissionGroupMemberAttribute")
104    protected String permissionGroupMemberAttribute;
105    @XmlAttribute(name = "queueSearchBase")
106    protected String queueSearchBase;
107    @XmlAttribute(name = "readPermissionGroupSearchFilter")
108    protected String readPermissionGroupSearchFilter;
109    @XmlAttribute(name = "refreshDisabled")
110    protected Boolean refreshDisabled;
111    @XmlAttribute(name = "refreshInterval")
112    protected BigInteger refreshInterval;
113    @XmlAttribute(name = "tempSearchBase")
114    protected String tempSearchBase;
115    @XmlAttribute(name = "topicSearchBase")
116    protected String topicSearchBase;
117    @XmlAttribute(name = "userNameAttribute")
118    protected String userNameAttribute;
119    @XmlAttribute(name = "userObjectClass")
120    protected String userObjectClass;
121    @XmlAttribute(name = "writePermissionGroupSearchFilter")
122    protected String writePermissionGroupSearchFilter;
123    @XmlAttribute(name = "id")
124    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
125    @XmlID
126    @XmlSchemaType(name = "ID")
127    protected String id;
128    @XmlAnyAttribute
129    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
130
131    /**
132     * Gets the value of the adminPermissionGroupSearchFilter property.
133     * 
134     * @return
135     *     possible object is
136     *     {@link String }
137     *     
138     */
139    public String getAdminPermissionGroupSearchFilter() {
140        return adminPermissionGroupSearchFilter;
141    }
142
143    /**
144     * Sets the value of the adminPermissionGroupSearchFilter property.
145     * 
146     * @param value
147     *     allowed object is
148     *     {@link String }
149     *     
150     */
151    public void setAdminPermissionGroupSearchFilter(String value) {
152        this.adminPermissionGroupSearchFilter = value;
153    }
154
155    /**
156     * Gets the value of the authentication property.
157     * 
158     * @return
159     *     possible object is
160     *     {@link String }
161     *     
162     */
163    public String getAuthentication() {
164        return authentication;
165    }
166
167    /**
168     * Sets the value of the authentication property.
169     * 
170     * @param value
171     *     allowed object is
172     *     {@link String }
173     *     
174     */
175    public void setAuthentication(String value) {
176        this.authentication = value;
177    }
178
179    /**
180     * Gets the value of the connectionPassword property.
181     * 
182     * @return
183     *     possible object is
184     *     {@link String }
185     *     
186     */
187    public String getConnectionPassword() {
188        return connectionPassword;
189    }
190
191    /**
192     * Sets the value of the connectionPassword property.
193     * 
194     * @param value
195     *     allowed object is
196     *     {@link String }
197     *     
198     */
199    public void setConnectionPassword(String value) {
200        this.connectionPassword = value;
201    }
202
203    /**
204     * Gets the value of the connectionProtocol property.
205     * 
206     * @return
207     *     possible object is
208     *     {@link String }
209     *     
210     */
211    public String getConnectionProtocol() {
212        return connectionProtocol;
213    }
214
215    /**
216     * Sets the value of the connectionProtocol property.
217     * 
218     * @param value
219     *     allowed object is
220     *     {@link String }
221     *     
222     */
223    public void setConnectionProtocol(String value) {
224        this.connectionProtocol = value;
225    }
226
227    /**
228     * Gets the value of the connectionURL property.
229     * 
230     * @return
231     *     possible object is
232     *     {@link String }
233     *     
234     */
235    public String getConnectionURL() {
236        return connectionURL;
237    }
238
239    /**
240     * Sets the value of the connectionURL property.
241     * 
242     * @param value
243     *     allowed object is
244     *     {@link String }
245     *     
246     */
247    public void setConnectionURL(String value) {
248        this.connectionURL = value;
249    }
250
251    /**
252     * Gets the value of the connectionUsername property.
253     * 
254     * @return
255     *     possible object is
256     *     {@link String }
257     *     
258     */
259    public String getConnectionUsername() {
260        return connectionUsername;
261    }
262
263    /**
264     * Sets the value of the connectionUsername property.
265     * 
266     * @param value
267     *     allowed object is
268     *     {@link String }
269     *     
270     */
271    public void setConnectionUsername(String value) {
272        this.connectionUsername = value;
273    }
274
275    /**
276     * Gets the value of the groupClass property.
277     * 
278     * @return
279     *     possible object is
280     *     {@link String }
281     *     
282     */
283    public String getGroupClass() {
284        return groupClass;
285    }
286
287    /**
288     * Sets the value of the groupClass property.
289     * 
290     * @param value
291     *     allowed object is
292     *     {@link String }
293     *     
294     */
295    public void setGroupClass(String value) {
296        this.groupClass = value;
297    }
298
299    /**
300     * Gets the value of the groupNameAttribute property.
301     * 
302     * @return
303     *     possible object is
304     *     {@link String }
305     *     
306     */
307    public String getGroupNameAttribute() {
308        return groupNameAttribute;
309    }
310
311    /**
312     * Sets the value of the groupNameAttribute property.
313     * 
314     * @param value
315     *     allowed object is
316     *     {@link String }
317     *     
318     */
319    public void setGroupNameAttribute(String value) {
320        this.groupNameAttribute = value;
321    }
322
323    /**
324     * Gets the value of the groupObjectClass property.
325     * 
326     * @return
327     *     possible object is
328     *     {@link String }
329     *     
330     */
331    public String getGroupObjectClass() {
332        return groupObjectClass;
333    }
334
335    /**
336     * Sets the value of the groupObjectClass property.
337     * 
338     * @param value
339     *     allowed object is
340     *     {@link String }
341     *     
342     */
343    public void setGroupObjectClass(String value) {
344        this.groupObjectClass = value;
345    }
346
347    /**
348     * Gets the value of the legacyGroupMapping property.
349     * 
350     * @return
351     *     possible object is
352     *     {@link Boolean }
353     *     
354     */
355    public Boolean isLegacyGroupMapping() {
356        return legacyGroupMapping;
357    }
358
359    /**
360     * Sets the value of the legacyGroupMapping property.
361     * 
362     * @param value
363     *     allowed object is
364     *     {@link Boolean }
365     *     
366     */
367    public void setLegacyGroupMapping(Boolean value) {
368        this.legacyGroupMapping = value;
369    }
370
371    /**
372     * Gets the value of the permissionGroupMemberAttribute property.
373     * 
374     * @return
375     *     possible object is
376     *     {@link String }
377     *     
378     */
379    public String getPermissionGroupMemberAttribute() {
380        return permissionGroupMemberAttribute;
381    }
382
383    /**
384     * Sets the value of the permissionGroupMemberAttribute property.
385     * 
386     * @param value
387     *     allowed object is
388     *     {@link String }
389     *     
390     */
391    public void setPermissionGroupMemberAttribute(String value) {
392        this.permissionGroupMemberAttribute = value;
393    }
394
395    /**
396     * Gets the value of the queueSearchBase property.
397     * 
398     * @return
399     *     possible object is
400     *     {@link String }
401     *     
402     */
403    public String getQueueSearchBase() {
404        return queueSearchBase;
405    }
406
407    /**
408     * Sets the value of the queueSearchBase property.
409     * 
410     * @param value
411     *     allowed object is
412     *     {@link String }
413     *     
414     */
415    public void setQueueSearchBase(String value) {
416        this.queueSearchBase = value;
417    }
418
419    /**
420     * Gets the value of the readPermissionGroupSearchFilter property.
421     * 
422     * @return
423     *     possible object is
424     *     {@link String }
425     *     
426     */
427    public String getReadPermissionGroupSearchFilter() {
428        return readPermissionGroupSearchFilter;
429    }
430
431    /**
432     * Sets the value of the readPermissionGroupSearchFilter property.
433     * 
434     * @param value
435     *     allowed object is
436     *     {@link String }
437     *     
438     */
439    public void setReadPermissionGroupSearchFilter(String value) {
440        this.readPermissionGroupSearchFilter = value;
441    }
442
443    /**
444     * Gets the value of the refreshDisabled property.
445     * 
446     * @return
447     *     possible object is
448     *     {@link Boolean }
449     *     
450     */
451    public Boolean isRefreshDisabled() {
452        return refreshDisabled;
453    }
454
455    /**
456     * Sets the value of the refreshDisabled property.
457     * 
458     * @param value
459     *     allowed object is
460     *     {@link Boolean }
461     *     
462     */
463    public void setRefreshDisabled(Boolean value) {
464        this.refreshDisabled = value;
465    }
466
467    /**
468     * Gets the value of the refreshInterval property.
469     * 
470     * @return
471     *     possible object is
472     *     {@link BigInteger }
473     *     
474     */
475    public BigInteger getRefreshInterval() {
476        return refreshInterval;
477    }
478
479    /**
480     * Sets the value of the refreshInterval property.
481     * 
482     * @param value
483     *     allowed object is
484     *     {@link BigInteger }
485     *     
486     */
487    public void setRefreshInterval(BigInteger value) {
488        this.refreshInterval = value;
489    }
490
491    /**
492     * Gets the value of the tempSearchBase property.
493     * 
494     * @return
495     *     possible object is
496     *     {@link String }
497     *     
498     */
499    public String getTempSearchBase() {
500        return tempSearchBase;
501    }
502
503    /**
504     * Sets the value of the tempSearchBase property.
505     * 
506     * @param value
507     *     allowed object is
508     *     {@link String }
509     *     
510     */
511    public void setTempSearchBase(String value) {
512        this.tempSearchBase = value;
513    }
514
515    /**
516     * Gets the value of the topicSearchBase property.
517     * 
518     * @return
519     *     possible object is
520     *     {@link String }
521     *     
522     */
523    public String getTopicSearchBase() {
524        return topicSearchBase;
525    }
526
527    /**
528     * Sets the value of the topicSearchBase property.
529     * 
530     * @param value
531     *     allowed object is
532     *     {@link String }
533     *     
534     */
535    public void setTopicSearchBase(String value) {
536        this.topicSearchBase = value;
537    }
538
539    /**
540     * Gets the value of the userNameAttribute property.
541     * 
542     * @return
543     *     possible object is
544     *     {@link String }
545     *     
546     */
547    public String getUserNameAttribute() {
548        return userNameAttribute;
549    }
550
551    /**
552     * Sets the value of the userNameAttribute property.
553     * 
554     * @param value
555     *     allowed object is
556     *     {@link String }
557     *     
558     */
559    public void setUserNameAttribute(String value) {
560        this.userNameAttribute = value;
561    }
562
563    /**
564     * Gets the value of the userObjectClass property.
565     * 
566     * @return
567     *     possible object is
568     *     {@link String }
569     *     
570     */
571    public String getUserObjectClass() {
572        return userObjectClass;
573    }
574
575    /**
576     * Sets the value of the userObjectClass property.
577     * 
578     * @param value
579     *     allowed object is
580     *     {@link String }
581     *     
582     */
583    public void setUserObjectClass(String value) {
584        this.userObjectClass = value;
585    }
586
587    /**
588     * Gets the value of the writePermissionGroupSearchFilter property.
589     * 
590     * @return
591     *     possible object is
592     *     {@link String }
593     *     
594     */
595    public String getWritePermissionGroupSearchFilter() {
596        return writePermissionGroupSearchFilter;
597    }
598
599    /**
600     * Sets the value of the writePermissionGroupSearchFilter property.
601     * 
602     * @param value
603     *     allowed object is
604     *     {@link String }
605     *     
606     */
607    public void setWritePermissionGroupSearchFilter(String value) {
608        this.writePermissionGroupSearchFilter = value;
609    }
610
611    /**
612     * Gets the value of the id property.
613     * 
614     * @return
615     *     possible object is
616     *     {@link String }
617     *     
618     */
619    public String getId() {
620        return id;
621    }
622
623    /**
624     * Sets the value of the id property.
625     * 
626     * @param value
627     *     allowed object is
628     *     {@link String }
629     *     
630     */
631    public void setId(String value) {
632        this.id = value;
633    }
634
635    /**
636     * Gets a map that contains attributes that aren't bound to any typed property on this class.
637     * 
638     * <p>
639     * the map is keyed by the name of the attribute and 
640     * the value is the string value of the attribute.
641     * 
642     * the map returned by this method is live, and you can add new attribute
643     * by updating the map directly. Because of this design, there's no setter.
644     * 
645     * 
646     * @return
647     *     always non-null
648     */
649    public Map<QName, String> getOtherAttributes() {
650        return otherAttributes;
651    }
652
653    public String toString() {
654        final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
655        final StringBuilder buffer = new StringBuilder();
656        append(null, buffer, strategy);
657        return buffer.toString();
658    }
659
660    public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
661        strategy.appendStart(locator, this, buffer);
662        appendFields(locator, buffer, strategy);
663        strategy.appendEnd(locator, this, buffer);
664        return buffer;
665    }
666
667    public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
668        {
669            String theAdminPermissionGroupSearchFilter;
670            theAdminPermissionGroupSearchFilter = this.getAdminPermissionGroupSearchFilter();
671            strategy.appendField(locator, this, "adminPermissionGroupSearchFilter", buffer, theAdminPermissionGroupSearchFilter);
672        }
673        {
674            String theAuthentication;
675            theAuthentication = this.getAuthentication();
676            strategy.appendField(locator, this, "authentication", buffer, theAuthentication);
677        }
678        {
679            String theConnectionPassword;
680            theConnectionPassword = this.getConnectionPassword();
681            strategy.appendField(locator, this, "connectionPassword", buffer, theConnectionPassword);
682        }
683        {
684            String theConnectionProtocol;
685            theConnectionProtocol = this.getConnectionProtocol();
686            strategy.appendField(locator, this, "connectionProtocol", buffer, theConnectionProtocol);
687        }
688        {
689            String theConnectionURL;
690            theConnectionURL = this.getConnectionURL();
691            strategy.appendField(locator, this, "connectionURL", buffer, theConnectionURL);
692        }
693        {
694            String theConnectionUsername;
695            theConnectionUsername = this.getConnectionUsername();
696            strategy.appendField(locator, this, "connectionUsername", buffer, theConnectionUsername);
697        }
698        {
699            String theGroupClass;
700            theGroupClass = this.getGroupClass();
701            strategy.appendField(locator, this, "groupClass", buffer, theGroupClass);
702        }
703        {
704            String theGroupNameAttribute;
705            theGroupNameAttribute = this.getGroupNameAttribute();
706            strategy.appendField(locator, this, "groupNameAttribute", buffer, theGroupNameAttribute);
707        }
708        {
709            String theGroupObjectClass;
710            theGroupObjectClass = this.getGroupObjectClass();
711            strategy.appendField(locator, this, "groupObjectClass", buffer, theGroupObjectClass);
712        }
713        {
714            Boolean theLegacyGroupMapping;
715            theLegacyGroupMapping = this.isLegacyGroupMapping();
716            strategy.appendField(locator, this, "legacyGroupMapping", buffer, theLegacyGroupMapping);
717        }
718        {
719            String thePermissionGroupMemberAttribute;
720            thePermissionGroupMemberAttribute = this.getPermissionGroupMemberAttribute();
721            strategy.appendField(locator, this, "permissionGroupMemberAttribute", buffer, thePermissionGroupMemberAttribute);
722        }
723        {
724            String theQueueSearchBase;
725            theQueueSearchBase = this.getQueueSearchBase();
726            strategy.appendField(locator, this, "queueSearchBase", buffer, theQueueSearchBase);
727        }
728        {
729            String theReadPermissionGroupSearchFilter;
730            theReadPermissionGroupSearchFilter = this.getReadPermissionGroupSearchFilter();
731            strategy.appendField(locator, this, "readPermissionGroupSearchFilter", buffer, theReadPermissionGroupSearchFilter);
732        }
733        {
734            Boolean theRefreshDisabled;
735            theRefreshDisabled = this.isRefreshDisabled();
736            strategy.appendField(locator, this, "refreshDisabled", buffer, theRefreshDisabled);
737        }
738        {
739            BigInteger theRefreshInterval;
740            theRefreshInterval = this.getRefreshInterval();
741            strategy.appendField(locator, this, "refreshInterval", buffer, theRefreshInterval);
742        }
743        {
744            String theTempSearchBase;
745            theTempSearchBase = this.getTempSearchBase();
746            strategy.appendField(locator, this, "tempSearchBase", buffer, theTempSearchBase);
747        }
748        {
749            String theTopicSearchBase;
750            theTopicSearchBase = this.getTopicSearchBase();
751            strategy.appendField(locator, this, "topicSearchBase", buffer, theTopicSearchBase);
752        }
753        {
754            String theUserNameAttribute;
755            theUserNameAttribute = this.getUserNameAttribute();
756            strategy.appendField(locator, this, "userNameAttribute", buffer, theUserNameAttribute);
757        }
758        {
759            String theUserObjectClass;
760            theUserObjectClass = this.getUserObjectClass();
761            strategy.appendField(locator, this, "userObjectClass", buffer, theUserObjectClass);
762        }
763        {
764            String theWritePermissionGroupSearchFilter;
765            theWritePermissionGroupSearchFilter = this.getWritePermissionGroupSearchFilter();
766            strategy.appendField(locator, this, "writePermissionGroupSearchFilter", buffer, theWritePermissionGroupSearchFilter);
767        }
768        {
769            String theId;
770            theId = this.getId();
771            strategy.appendField(locator, this, "id", buffer, theId);
772        }
773        return buffer;
774    }
775
776    public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
777        int currentHashCode = 1;
778        {
779            String theAdminPermissionGroupSearchFilter;
780            theAdminPermissionGroupSearchFilter = this.getAdminPermissionGroupSearchFilter();
781            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "adminPermissionGroupSearchFilter", theAdminPermissionGroupSearchFilter), currentHashCode, theAdminPermissionGroupSearchFilter);
782        }
783        {
784            String theAuthentication;
785            theAuthentication = this.getAuthentication();
786            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "authentication", theAuthentication), currentHashCode, theAuthentication);
787        }
788        {
789            String theConnectionPassword;
790            theConnectionPassword = this.getConnectionPassword();
791            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionPassword", theConnectionPassword), currentHashCode, theConnectionPassword);
792        }
793        {
794            String theConnectionProtocol;
795            theConnectionProtocol = this.getConnectionProtocol();
796            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionProtocol", theConnectionProtocol), currentHashCode, theConnectionProtocol);
797        }
798        {
799            String theConnectionURL;
800            theConnectionURL = this.getConnectionURL();
801            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionURL", theConnectionURL), currentHashCode, theConnectionURL);
802        }
803        {
804            String theConnectionUsername;
805            theConnectionUsername = this.getConnectionUsername();
806            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "connectionUsername", theConnectionUsername), currentHashCode, theConnectionUsername);
807        }
808        {
809            String theGroupClass;
810            theGroupClass = this.getGroupClass();
811            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "groupClass", theGroupClass), currentHashCode, theGroupClass);
812        }
813        {
814            String theGroupNameAttribute;
815            theGroupNameAttribute = this.getGroupNameAttribute();
816            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "groupNameAttribute", theGroupNameAttribute), currentHashCode, theGroupNameAttribute);
817        }
818        {
819            String theGroupObjectClass;
820            theGroupObjectClass = this.getGroupObjectClass();
821            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "groupObjectClass", theGroupObjectClass), currentHashCode, theGroupObjectClass);
822        }
823        {
824            Boolean theLegacyGroupMapping;
825            theLegacyGroupMapping = this.isLegacyGroupMapping();
826            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "legacyGroupMapping", theLegacyGroupMapping), currentHashCode, theLegacyGroupMapping);
827        }
828        {
829            String thePermissionGroupMemberAttribute;
830            thePermissionGroupMemberAttribute = this.getPermissionGroupMemberAttribute();
831            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "permissionGroupMemberAttribute", thePermissionGroupMemberAttribute), currentHashCode, thePermissionGroupMemberAttribute);
832        }
833        {
834            String theQueueSearchBase;
835            theQueueSearchBase = this.getQueueSearchBase();
836            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "queueSearchBase", theQueueSearchBase), currentHashCode, theQueueSearchBase);
837        }
838        {
839            String theReadPermissionGroupSearchFilter;
840            theReadPermissionGroupSearchFilter = this.getReadPermissionGroupSearchFilter();
841            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "readPermissionGroupSearchFilter", theReadPermissionGroupSearchFilter), currentHashCode, theReadPermissionGroupSearchFilter);
842        }
843        {
844            Boolean theRefreshDisabled;
845            theRefreshDisabled = this.isRefreshDisabled();
846            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "refreshDisabled", theRefreshDisabled), currentHashCode, theRefreshDisabled);
847        }
848        {
849            BigInteger theRefreshInterval;
850            theRefreshInterval = this.getRefreshInterval();
851            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "refreshInterval", theRefreshInterval), currentHashCode, theRefreshInterval);
852        }
853        {
854            String theTempSearchBase;
855            theTempSearchBase = this.getTempSearchBase();
856            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tempSearchBase", theTempSearchBase), currentHashCode, theTempSearchBase);
857        }
858        {
859            String theTopicSearchBase;
860            theTopicSearchBase = this.getTopicSearchBase();
861            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "topicSearchBase", theTopicSearchBase), currentHashCode, theTopicSearchBase);
862        }
863        {
864            String theUserNameAttribute;
865            theUserNameAttribute = this.getUserNameAttribute();
866            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "userNameAttribute", theUserNameAttribute), currentHashCode, theUserNameAttribute);
867        }
868        {
869            String theUserObjectClass;
870            theUserObjectClass = this.getUserObjectClass();
871            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "userObjectClass", theUserObjectClass), currentHashCode, theUserObjectClass);
872        }
873        {
874            String theWritePermissionGroupSearchFilter;
875            theWritePermissionGroupSearchFilter = this.getWritePermissionGroupSearchFilter();
876            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "writePermissionGroupSearchFilter", theWritePermissionGroupSearchFilter), currentHashCode, theWritePermissionGroupSearchFilter);
877        }
878        {
879            String theId;
880            theId = this.getId();
881            currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId);
882        }
883        return currentHashCode;
884    }
885
886    public int hashCode() {
887        final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
888        return this.hashCode(null, strategy);
889    }
890
891    public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
892        if (!(object instanceof DtoCachedLDAPAuthorizationMap)) {
893            return false;
894        }
895        if (this == object) {
896            return true;
897        }
898        final DtoCachedLDAPAuthorizationMap that = ((DtoCachedLDAPAuthorizationMap) object);
899        {
900            String lhsAdminPermissionGroupSearchFilter;
901            lhsAdminPermissionGroupSearchFilter = this.getAdminPermissionGroupSearchFilter();
902            String rhsAdminPermissionGroupSearchFilter;
903            rhsAdminPermissionGroupSearchFilter = that.getAdminPermissionGroupSearchFilter();
904            if (!strategy.equals(LocatorUtils.property(thisLocator, "adminPermissionGroupSearchFilter", lhsAdminPermissionGroupSearchFilter), LocatorUtils.property(thatLocator, "adminPermissionGroupSearchFilter", rhsAdminPermissionGroupSearchFilter), lhsAdminPermissionGroupSearchFilter, rhsAdminPermissionGroupSearchFilter)) {
905                return false;
906            }
907        }
908        {
909            String lhsAuthentication;
910            lhsAuthentication = this.getAuthentication();
911            String rhsAuthentication;
912            rhsAuthentication = that.getAuthentication();
913            if (!strategy.equals(LocatorUtils.property(thisLocator, "authentication", lhsAuthentication), LocatorUtils.property(thatLocator, "authentication", rhsAuthentication), lhsAuthentication, rhsAuthentication)) {
914                return false;
915            }
916        }
917        {
918            String lhsConnectionPassword;
919            lhsConnectionPassword = this.getConnectionPassword();
920            String rhsConnectionPassword;
921            rhsConnectionPassword = that.getConnectionPassword();
922            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionPassword", lhsConnectionPassword), LocatorUtils.property(thatLocator, "connectionPassword", rhsConnectionPassword), lhsConnectionPassword, rhsConnectionPassword)) {
923                return false;
924            }
925        }
926        {
927            String lhsConnectionProtocol;
928            lhsConnectionProtocol = this.getConnectionProtocol();
929            String rhsConnectionProtocol;
930            rhsConnectionProtocol = that.getConnectionProtocol();
931            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionProtocol", lhsConnectionProtocol), LocatorUtils.property(thatLocator, "connectionProtocol", rhsConnectionProtocol), lhsConnectionProtocol, rhsConnectionProtocol)) {
932                return false;
933            }
934        }
935        {
936            String lhsConnectionURL;
937            lhsConnectionURL = this.getConnectionURL();
938            String rhsConnectionURL;
939            rhsConnectionURL = that.getConnectionURL();
940            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionURL", lhsConnectionURL), LocatorUtils.property(thatLocator, "connectionURL", rhsConnectionURL), lhsConnectionURL, rhsConnectionURL)) {
941                return false;
942            }
943        }
944        {
945            String lhsConnectionUsername;
946            lhsConnectionUsername = this.getConnectionUsername();
947            String rhsConnectionUsername;
948            rhsConnectionUsername = that.getConnectionUsername();
949            if (!strategy.equals(LocatorUtils.property(thisLocator, "connectionUsername", lhsConnectionUsername), LocatorUtils.property(thatLocator, "connectionUsername", rhsConnectionUsername), lhsConnectionUsername, rhsConnectionUsername)) {
950                return false;
951            }
952        }
953        {
954            String lhsGroupClass;
955            lhsGroupClass = this.getGroupClass();
956            String rhsGroupClass;
957            rhsGroupClass = that.getGroupClass();
958            if (!strategy.equals(LocatorUtils.property(thisLocator, "groupClass", lhsGroupClass), LocatorUtils.property(thatLocator, "groupClass", rhsGroupClass), lhsGroupClass, rhsGroupClass)) {
959                return false;
960            }
961        }
962        {
963            String lhsGroupNameAttribute;
964            lhsGroupNameAttribute = this.getGroupNameAttribute();
965            String rhsGroupNameAttribute;
966            rhsGroupNameAttribute = that.getGroupNameAttribute();
967            if (!strategy.equals(LocatorUtils.property(thisLocator, "groupNameAttribute", lhsGroupNameAttribute), LocatorUtils.property(thatLocator, "groupNameAttribute", rhsGroupNameAttribute), lhsGroupNameAttribute, rhsGroupNameAttribute)) {
968                return false;
969            }
970        }
971        {
972            String lhsGroupObjectClass;
973            lhsGroupObjectClass = this.getGroupObjectClass();
974            String rhsGroupObjectClass;
975            rhsGroupObjectClass = that.getGroupObjectClass();
976            if (!strategy.equals(LocatorUtils.property(thisLocator, "groupObjectClass", lhsGroupObjectClass), LocatorUtils.property(thatLocator, "groupObjectClass", rhsGroupObjectClass), lhsGroupObjectClass, rhsGroupObjectClass)) {
977                return false;
978            }
979        }
980        {
981            Boolean lhsLegacyGroupMapping;
982            lhsLegacyGroupMapping = this.isLegacyGroupMapping();
983            Boolean rhsLegacyGroupMapping;
984            rhsLegacyGroupMapping = that.isLegacyGroupMapping();
985            if (!strategy.equals(LocatorUtils.property(thisLocator, "legacyGroupMapping", lhsLegacyGroupMapping), LocatorUtils.property(thatLocator, "legacyGroupMapping", rhsLegacyGroupMapping), lhsLegacyGroupMapping, rhsLegacyGroupMapping)) {
986                return false;
987            }
988        }
989        {
990            String lhsPermissionGroupMemberAttribute;
991            lhsPermissionGroupMemberAttribute = this.getPermissionGroupMemberAttribute();
992            String rhsPermissionGroupMemberAttribute;
993            rhsPermissionGroupMemberAttribute = that.getPermissionGroupMemberAttribute();
994            if (!strategy.equals(LocatorUtils.property(thisLocator, "permissionGroupMemberAttribute", lhsPermissionGroupMemberAttribute), LocatorUtils.property(thatLocator, "permissionGroupMemberAttribute", rhsPermissionGroupMemberAttribute), lhsPermissionGroupMemberAttribute, rhsPermissionGroupMemberAttribute)) {
995                return false;
996            }
997        }
998        {
999            String lhsQueueSearchBase;
1000            lhsQueueSearchBase = this.getQueueSearchBase();
1001            String rhsQueueSearchBase;
1002            rhsQueueSearchBase = that.getQueueSearchBase();
1003            if (!strategy.equals(LocatorUtils.property(thisLocator, "queueSearchBase", lhsQueueSearchBase), LocatorUtils.property(thatLocator, "queueSearchBase", rhsQueueSearchBase), lhsQueueSearchBase, rhsQueueSearchBase)) {
1004                return false;
1005            }
1006        }
1007        {
1008            String lhsReadPermissionGroupSearchFilter;
1009            lhsReadPermissionGroupSearchFilter = this.getReadPermissionGroupSearchFilter();
1010            String rhsReadPermissionGroupSearchFilter;
1011            rhsReadPermissionGroupSearchFilter = that.getReadPermissionGroupSearchFilter();
1012            if (!strategy.equals(LocatorUtils.property(thisLocator, "readPermissionGroupSearchFilter", lhsReadPermissionGroupSearchFilter), LocatorUtils.property(thatLocator, "readPermissionGroupSearchFilter", rhsReadPermissionGroupSearchFilter), lhsReadPermissionGroupSearchFilter, rhsReadPermissionGroupSearchFilter)) {
1013                return false;
1014            }
1015        }
1016        {
1017            Boolean lhsRefreshDisabled;
1018            lhsRefreshDisabled = this.isRefreshDisabled();
1019            Boolean rhsRefreshDisabled;
1020            rhsRefreshDisabled = that.isRefreshDisabled();
1021            if (!strategy.equals(LocatorUtils.property(thisLocator, "refreshDisabled", lhsRefreshDisabled), LocatorUtils.property(thatLocator, "refreshDisabled", rhsRefreshDisabled), lhsRefreshDisabled, rhsRefreshDisabled)) {
1022                return false;
1023            }
1024        }
1025        {
1026            BigInteger lhsRefreshInterval;
1027            lhsRefreshInterval = this.getRefreshInterval();
1028            BigInteger rhsRefreshInterval;
1029            rhsRefreshInterval = that.getRefreshInterval();
1030            if (!strategy.equals(LocatorUtils.property(thisLocator, "refreshInterval", lhsRefreshInterval), LocatorUtils.property(thatLocator, "refreshInterval", rhsRefreshInterval), lhsRefreshInterval, rhsRefreshInterval)) {
1031                return false;
1032            }
1033        }
1034        {
1035            String lhsTempSearchBase;
1036            lhsTempSearchBase = this.getTempSearchBase();
1037            String rhsTempSearchBase;
1038            rhsTempSearchBase = that.getTempSearchBase();
1039            if (!strategy.equals(LocatorUtils.property(thisLocator, "tempSearchBase", lhsTempSearchBase), LocatorUtils.property(thatLocator, "tempSearchBase", rhsTempSearchBase), lhsTempSearchBase, rhsTempSearchBase)) {
1040                return false;
1041            }
1042        }
1043        {
1044            String lhsTopicSearchBase;
1045            lhsTopicSearchBase = this.getTopicSearchBase();
1046            String rhsTopicSearchBase;
1047            rhsTopicSearchBase = that.getTopicSearchBase();
1048            if (!strategy.equals(LocatorUtils.property(thisLocator, "topicSearchBase", lhsTopicSearchBase), LocatorUtils.property(thatLocator, "topicSearchBase", rhsTopicSearchBase), lhsTopicSearchBase, rhsTopicSearchBase)) {
1049                return false;
1050            }
1051        }
1052        {
1053            String lhsUserNameAttribute;
1054            lhsUserNameAttribute = this.getUserNameAttribute();
1055            String rhsUserNameAttribute;
1056            rhsUserNameAttribute = that.getUserNameAttribute();
1057            if (!strategy.equals(LocatorUtils.property(thisLocator, "userNameAttribute", lhsUserNameAttribute), LocatorUtils.property(thatLocator, "userNameAttribute", rhsUserNameAttribute), lhsUserNameAttribute, rhsUserNameAttribute)) {
1058                return false;
1059            }
1060        }
1061        {
1062            String lhsUserObjectClass;
1063            lhsUserObjectClass = this.getUserObjectClass();
1064            String rhsUserObjectClass;
1065            rhsUserObjectClass = that.getUserObjectClass();
1066            if (!strategy.equals(LocatorUtils.property(thisLocator, "userObjectClass", lhsUserObjectClass), LocatorUtils.property(thatLocator, "userObjectClass", rhsUserObjectClass), lhsUserObjectClass, rhsUserObjectClass)) {
1067                return false;
1068            }
1069        }
1070        {
1071            String lhsWritePermissionGroupSearchFilter;
1072            lhsWritePermissionGroupSearchFilter = this.getWritePermissionGroupSearchFilter();
1073            String rhsWritePermissionGroupSearchFilter;
1074            rhsWritePermissionGroupSearchFilter = that.getWritePermissionGroupSearchFilter();
1075            if (!strategy.equals(LocatorUtils.property(thisLocator, "writePermissionGroupSearchFilter", lhsWritePermissionGroupSearchFilter), LocatorUtils.property(thatLocator, "writePermissionGroupSearchFilter", rhsWritePermissionGroupSearchFilter), lhsWritePermissionGroupSearchFilter, rhsWritePermissionGroupSearchFilter)) {
1076                return false;
1077            }
1078        }
1079        {
1080            String lhsId;
1081            lhsId = this.getId();
1082            String rhsId;
1083            rhsId = that.getId();
1084            if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) {
1085                return false;
1086            }
1087        }
1088        return true;
1089    }
1090
1091    public boolean equals(Object object) {
1092        final EqualsStrategy strategy = new ElementAwareEqualsStrategy();
1093        return equals(null, null, object, strategy);
1094    }
1095
1096}