View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2017.04.23 at 07:23:18 PM CEST 
6   //
7   
8   
9   package com.hack23.cia.model.internal.application.system.impl;
10  
11  import java.io.Serializable;
12  import java.util.Date;
13  import javax.persistence.Basic;
14  import javax.persistence.Column;
15  import javax.persistence.Entity;
16  import javax.persistence.EnumType;
17  import javax.persistence.Enumerated;
18  import javax.persistence.GeneratedValue;
19  import javax.persistence.GenerationType;
20  import javax.persistence.Id;
21  import javax.persistence.Inheritance;
22  import javax.persistence.InheritanceType;
23  import javax.persistence.Table;
24  import javax.persistence.Temporal;
25  import javax.persistence.TemporalType;
26  import javax.xml.bind.annotation.XmlAccessType;
27  import javax.xml.bind.annotation.XmlAccessorType;
28  import javax.xml.bind.annotation.XmlAttribute;
29  import javax.xml.bind.annotation.XmlElement;
30  import javax.xml.bind.annotation.XmlSchemaType;
31  import javax.xml.bind.annotation.XmlType;
32  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
33  import com.hack23.cia.model.common.api.ModelObject;
34  import org.jvnet.jaxb2_commons.lang.Equals;
35  import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
36  import org.jvnet.jaxb2_commons.lang.HashCode;
37  import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
38  import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
39  import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
40  import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
41  import org.jvnet.jaxb2_commons.lang.ToString;
42  import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
43  import org.jvnet.jaxb2_commons.locator.ObjectLocator;
44  import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
45  import org.w3._2001.xmlschema.Adapter1;
46  
47  
48  /**
49   * <p>Java class for ApplicationActionEvent complex type.
50   * 
51   * <p>The following schema fragment specifies the expected content contained within this class.
52   * 
53   * <pre>
54   * &lt;complexType name="ApplicationActionEvent"&gt;
55   *   &lt;complexContent&gt;
56   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
57   *       &lt;sequence&gt;
58   *         &lt;element name="modelObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/&gt;
59   *         &lt;element name="modelObjectVersion" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/&gt;
60   *         &lt;element name="applicationOperation" type="{http://system.application.internal.model.cia.hack23.com/impl}ApplicationOperationType" minOccurs="0"/&gt;
61   *         &lt;element name="eventGroup" type="{http://system.application.internal.model.cia.hack23.com/impl}ApplicationEventGroup" minOccurs="0"/&gt;
62   *         &lt;element name="page" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
63   *         &lt;element name="pageMode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
64   *         &lt;element name="elementId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
65   *         &lt;element name="actionName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
66   *         &lt;element name="sessionId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
67   *         &lt;element name="userId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
68   *         &lt;element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
69   *         &lt;element name="applicationMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
70   *         &lt;element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/&gt;
71   *       &lt;/sequence&gt;
72   *     &lt;/restriction&gt;
73   *   &lt;/complexContent&gt;
74   * &lt;/complexType&gt;
75   * </pre>
76   * 
77   * 
78   */
79  @XmlAccessorType(XmlAccessType.FIELD)
80  @XmlType(name = "ApplicationActionEvent", propOrder = {
81      "modelObjectId",
82      "modelObjectVersion",
83      "applicationOperation",
84      "eventGroup",
85      "page",
86      "pageMode",
87      "elementId",
88      "actionName",
89      "sessionId",
90      "userId",
91      "errorMessage",
92      "applicationMessage",
93      "createdDate"
94  })
95  @Entity(name = "ApplicationActionEvent")
96  @Table(name = "APPLICATION_ACTION_EVENT")
97  @Inheritance(strategy = InheritanceType.JOINED)
98  public class ApplicationActionEvent
99      implements Serializable, ModelObject, Equals, HashCode, ToString
100 {
101 
102     private final static long serialVersionUID = 1L;
103     protected Integer modelObjectId;
104     protected Integer modelObjectVersion;
105     @XmlSchemaType(name = "string")
106     protected ApplicationOperationType applicationOperation;
107     @XmlSchemaType(name = "string")
108     protected ApplicationEventGroup eventGroup;
109     protected String page;
110     protected String pageMode;
111     protected String elementId;
112     protected String actionName;
113     protected String sessionId;
114     protected String userId;
115     protected String errorMessage;
116     protected String applicationMessage;
117     @XmlElement(type = String.class)
118     @XmlJavaTypeAdapter(Adapter1 .class)
119     @XmlSchemaType(name = "dateTime")
120     protected Date createdDate;
121     @XmlAttribute(name = "Hjid")
122     protected Long hjid;
123 
124     /**
125      * Gets the value of the modelObjectId property.
126      * 
127      * @return
128      *     possible object is
129      *     {@link Integer }
130      *     
131      */
132     @Basic
133     @Column(name = "MODEL_OBJECT_ID", precision = 10, scale = 0)
134     public Integer getModelObjectId() {
135         return modelObjectId;
136     }
137 
138     /**
139      * Sets the value of the modelObjectId property.
140      * 
141      * @param value
142      *     allowed object is
143      *     {@link Integer }
144      *     
145      */
146     public void setModelObjectId(Integer value) {
147         this.modelObjectId = value;
148     }
149 
150     /**
151      * Gets the value of the modelObjectVersion property.
152      * 
153      * @return
154      *     possible object is
155      *     {@link Integer }
156      *     
157      */
158     @Basic
159     @Column(name = "MODEL_OBJECT_VERSION", precision = 10, scale = 0)
160     public Integer getModelObjectVersion() {
161         return modelObjectVersion;
162     }
163 
164     /**
165      * Sets the value of the modelObjectVersion property.
166      * 
167      * @param value
168      *     allowed object is
169      *     {@link Integer }
170      *     
171      */
172     public void setModelObjectVersion(Integer value) {
173         this.modelObjectVersion = value;
174     }
175 
176     /**
177      * Gets the value of the applicationOperation property.
178      * 
179      * @return
180      *     possible object is
181      *     {@link ApplicationOperationType }
182      *     
183      */
184     @Basic
185     @Column(name = "APPLICATION_OPERATION", length = 255)
186     @Enumerated(EnumType.STRING)
187     public ApplicationOperationType getApplicationOperation() {
188         return applicationOperation;
189     }
190 
191     /**
192      * Sets the value of the applicationOperation property.
193      * 
194      * @param value
195      *     allowed object is
196      *     {@link ApplicationOperationType }
197      *     
198      */
199     public void setApplicationOperation(ApplicationOperationType value) {
200         this.applicationOperation = value;
201     }
202 
203     /**
204      * Gets the value of the eventGroup property.
205      * 
206      * @return
207      *     possible object is
208      *     {@link ApplicationEventGroup }
209      *     
210      */
211     @Basic
212     @Column(name = "EVENT_GROUP", length = 255)
213     @Enumerated(EnumType.STRING)
214     public ApplicationEventGroup getEventGroup() {
215         return eventGroup;
216     }
217 
218     /**
219      * Sets the value of the eventGroup property.
220      * 
221      * @param value
222      *     allowed object is
223      *     {@link ApplicationEventGroup }
224      *     
225      */
226     public void setEventGroup(ApplicationEventGroup value) {
227         this.eventGroup = value;
228     }
229 
230     /**
231      * Gets the value of the page property.
232      * 
233      * @return
234      *     possible object is
235      *     {@link String }
236      *     
237      */
238     @Basic
239     @Column(name = "PAGE", length = 255)
240     public String getPage() {
241         return page;
242     }
243 
244     /**
245      * Sets the value of the page property.
246      * 
247      * @param value
248      *     allowed object is
249      *     {@link String }
250      *     
251      */
252     public void setPage(String value) {
253         this.page = value;
254     }
255 
256     /**
257      * Gets the value of the pageMode property.
258      * 
259      * @return
260      *     possible object is
261      *     {@link String }
262      *     
263      */
264     @Basic
265     @Column(name = "PAGE_MODE", length = 255)
266     public String getPageMode() {
267         return pageMode;
268     }
269 
270     /**
271      * Sets the value of the pageMode property.
272      * 
273      * @param value
274      *     allowed object is
275      *     {@link String }
276      *     
277      */
278     public void setPageMode(String value) {
279         this.pageMode = value;
280     }
281 
282     /**
283      * Gets the value of the elementId property.
284      * 
285      * @return
286      *     possible object is
287      *     {@link String }
288      *     
289      */
290     @Basic
291     @Column(name = "ELEMENT_ID", length = 255)
292     public String getElementId() {
293         return elementId;
294     }
295 
296     /**
297      * Sets the value of the elementId property.
298      * 
299      * @param value
300      *     allowed object is
301      *     {@link String }
302      *     
303      */
304     public void setElementId(String value) {
305         this.elementId = value;
306     }
307 
308     /**
309      * Gets the value of the actionName property.
310      * 
311      * @return
312      *     possible object is
313      *     {@link String }
314      *     
315      */
316     @Basic
317     @Column(name = "ACTION_NAME", length = 255)
318     public String getActionName() {
319         return actionName;
320     }
321 
322     /**
323      * Sets the value of the actionName property.
324      * 
325      * @param value
326      *     allowed object is
327      *     {@link String }
328      *     
329      */
330     public void setActionName(String value) {
331         this.actionName = value;
332     }
333 
334     /**
335      * Gets the value of the sessionId property.
336      * 
337      * @return
338      *     possible object is
339      *     {@link String }
340      *     
341      */
342     @Basic
343     @Column(name = "SESSION_ID", length = 255)
344     public String getSessionId() {
345         return sessionId;
346     }
347 
348     /**
349      * Sets the value of the sessionId property.
350      * 
351      * @param value
352      *     allowed object is
353      *     {@link String }
354      *     
355      */
356     public void setSessionId(String value) {
357         this.sessionId = value;
358     }
359 
360     /**
361      * Gets the value of the userId property.
362      * 
363      * @return
364      *     possible object is
365      *     {@link String }
366      *     
367      */
368     @Basic
369     @Column(name = "USER_ID", length = 255)
370     public String getUserId() {
371         return userId;
372     }
373 
374     /**
375      * Sets the value of the userId property.
376      * 
377      * @param value
378      *     allowed object is
379      *     {@link String }
380      *     
381      */
382     public void setUserId(String value) {
383         this.userId = value;
384     }
385 
386     /**
387      * Gets the value of the errorMessage property.
388      * 
389      * @return
390      *     possible object is
391      *     {@link String }
392      *     
393      */
394     @Basic
395     @Column(name = "ERROR_MESSAGE", length = 8192)
396     public String getErrorMessage() {
397         return errorMessage;
398     }
399 
400     /**
401      * Sets the value of the errorMessage property.
402      * 
403      * @param value
404      *     allowed object is
405      *     {@link String }
406      *     
407      */
408     public void setErrorMessage(String value) {
409         this.errorMessage = value;
410     }
411 
412     /**
413      * Gets the value of the applicationMessage property.
414      * 
415      * @return
416      *     possible object is
417      *     {@link String }
418      *     
419      */
420     @Basic
421     @Column(name = "APPLICATION_MESSAGE", length = 255)
422     public String getApplicationMessage() {
423         return applicationMessage;
424     }
425 
426     /**
427      * Sets the value of the applicationMessage property.
428      * 
429      * @param value
430      *     allowed object is
431      *     {@link String }
432      *     
433      */
434     public void setApplicationMessage(String value) {
435         this.applicationMessage = value;
436     }
437 
438     /**
439      * Gets the value of the createdDate property.
440      * 
441      * @return
442      *     possible object is
443      *     {@link String }
444      *     
445      */
446     @Basic
447     @Column(name = "CREATED_DATE")
448     @Temporal(TemporalType.TIMESTAMP)
449     public Date getCreatedDate() {
450         return createdDate;
451     }
452 
453     /**
454      * Sets the value of the createdDate property.
455      * 
456      * @param value
457      *     allowed object is
458      *     {@link String }
459      *     
460      */
461     public void setCreatedDate(Date value) {
462         this.createdDate = value;
463     }
464 
465     public ApplicationActionEvent withModelObjectId(Integer value) {
466         setModelObjectId(value);
467         return this;
468     }
469 
470     public ApplicationActionEvent withModelObjectVersion(Integer value) {
471         setModelObjectVersion(value);
472         return this;
473     }
474 
475     public ApplicationActionEvent withApplicationOperation(ApplicationOperationType value) {
476         setApplicationOperation(value);
477         return this;
478     }
479 
480     public ApplicationActionEvent withEventGroup(ApplicationEventGroup value) {
481         setEventGroup(value);
482         return this;
483     }
484 
485     public ApplicationActionEvent withPage(String value) {
486         setPage(value);
487         return this;
488     }
489 
490     public ApplicationActionEvent withPageMode(String value) {
491         setPageMode(value);
492         return this;
493     }
494 
495     public ApplicationActionEvent withElementId(String value) {
496         setElementId(value);
497         return this;
498     }
499 
500     public ApplicationActionEvent withActionName(String value) {
501         setActionName(value);
502         return this;
503     }
504 
505     public ApplicationActionEvent withSessionId(String value) {
506         setSessionId(value);
507         return this;
508     }
509 
510     public ApplicationActionEvent withUserId(String value) {
511         setUserId(value);
512         return this;
513     }
514 
515     public ApplicationActionEvent withErrorMessage(String value) {
516         setErrorMessage(value);
517         return this;
518     }
519 
520     public ApplicationActionEvent withApplicationMessage(String value) {
521         setApplicationMessage(value);
522         return this;
523     }
524 
525     public ApplicationActionEvent withCreatedDate(Date value) {
526         setCreatedDate(value);
527         return this;
528     }
529 
530     public String toString() {
531         final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
532         final StringBuilder buffer = new StringBuilder();
533         append(null, buffer, strategy);
534         return buffer.toString();
535     }
536 
537     public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
538         strategy.appendStart(locator, this, buffer);
539         appendFields(locator, buffer, strategy);
540         strategy.appendEnd(locator, this, buffer);
541         return buffer;
542     }
543 
544     public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
545         {
546             Integer theModelObjectId;
547             theModelObjectId = this.getModelObjectId();
548             strategy.appendField(locator, this, "modelObjectId", buffer, theModelObjectId);
549         }
550         {
551             Integer theModelObjectVersion;
552             theModelObjectVersion = this.getModelObjectVersion();
553             strategy.appendField(locator, this, "modelObjectVersion", buffer, theModelObjectVersion);
554         }
555         {
556             ApplicationOperationType theApplicationOperation;
557             theApplicationOperation = this.getApplicationOperation();
558             strategy.appendField(locator, this, "applicationOperation", buffer, theApplicationOperation);
559         }
560         {
561             ApplicationEventGroup theEventGroup;
562             theEventGroup = this.getEventGroup();
563             strategy.appendField(locator, this, "eventGroup", buffer, theEventGroup);
564         }
565         {
566             String thePage;
567             thePage = this.getPage();
568             strategy.appendField(locator, this, "page", buffer, thePage);
569         }
570         {
571             String thePageMode;
572             thePageMode = this.getPageMode();
573             strategy.appendField(locator, this, "pageMode", buffer, thePageMode);
574         }
575         {
576             String theElementId;
577             theElementId = this.getElementId();
578             strategy.appendField(locator, this, "elementId", buffer, theElementId);
579         }
580         {
581             String theActionName;
582             theActionName = this.getActionName();
583             strategy.appendField(locator, this, "actionName", buffer, theActionName);
584         }
585         {
586             String theSessionId;
587             theSessionId = this.getSessionId();
588             strategy.appendField(locator, this, "sessionId", buffer, theSessionId);
589         }
590         {
591             String theUserId;
592             theUserId = this.getUserId();
593             strategy.appendField(locator, this, "userId", buffer, theUserId);
594         }
595         {
596             String theErrorMessage;
597             theErrorMessage = this.getErrorMessage();
598             strategy.appendField(locator, this, "errorMessage", buffer, theErrorMessage);
599         }
600         {
601             String theApplicationMessage;
602             theApplicationMessage = this.getApplicationMessage();
603             strategy.appendField(locator, this, "applicationMessage", buffer, theApplicationMessage);
604         }
605         {
606             Date theCreatedDate;
607             theCreatedDate = this.getCreatedDate();
608             strategy.appendField(locator, this, "createdDate", buffer, theCreatedDate);
609         }
610         return buffer;
611     }
612 
613     /**
614      * Gets the value of the hjid property.
615      * 
616      * @return
617      *     possible object is
618      *     {@link Long }
619      *     
620      */
621     @Id
622     @Column(name = "HJID")
623     @GeneratedValue(strategy = GenerationType.AUTO)
624     public Long getHjid() {
625         return hjid;
626     }
627 
628     /**
629      * Sets the value of the hjid property.
630      * 
631      * @param value
632      *     allowed object is
633      *     {@link Long }
634      *     
635      */
636     public void setHjid(Long value) {
637         this.hjid = value;
638     }
639 
640     public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
641         if ((object == null)||(this.getClass()!= object.getClass())) {
642             return false;
643         }
644         if (this == object) {
645             return true;
646         }
647         final ApplicationActionEvent that = ((ApplicationActionEvent) object);
648         {
649             Integer lhsModelObjectId;
650             lhsModelObjectId = this.getModelObjectId();
651             Integer rhsModelObjectId;
652             rhsModelObjectId = that.getModelObjectId();
653             if (!strategy.equals(LocatorUtils.property(thisLocator, "modelObjectId", lhsModelObjectId), LocatorUtils.property(thatLocator, "modelObjectId", rhsModelObjectId), lhsModelObjectId, rhsModelObjectId)) {
654                 return false;
655             }
656         }
657         {
658             Integer lhsModelObjectVersion;
659             lhsModelObjectVersion = this.getModelObjectVersion();
660             Integer rhsModelObjectVersion;
661             rhsModelObjectVersion = that.getModelObjectVersion();
662             if (!strategy.equals(LocatorUtils.property(thisLocator, "modelObjectVersion", lhsModelObjectVersion), LocatorUtils.property(thatLocator, "modelObjectVersion", rhsModelObjectVersion), lhsModelObjectVersion, rhsModelObjectVersion)) {
663                 return false;
664             }
665         }
666         {
667             ApplicationOperationType lhsApplicationOperation;
668             lhsApplicationOperation = this.getApplicationOperation();
669             ApplicationOperationType rhsApplicationOperation;
670             rhsApplicationOperation = that.getApplicationOperation();
671             if (!strategy.equals(LocatorUtils.property(thisLocator, "applicationOperation", lhsApplicationOperation), LocatorUtils.property(thatLocator, "applicationOperation", rhsApplicationOperation), lhsApplicationOperation, rhsApplicationOperation)) {
672                 return false;
673             }
674         }
675         {
676             ApplicationEventGroup lhsEventGroup;
677             lhsEventGroup = this.getEventGroup();
678             ApplicationEventGroup rhsEventGroup;
679             rhsEventGroup = that.getEventGroup();
680             if (!strategy.equals(LocatorUtils.property(thisLocator, "eventGroup", lhsEventGroup), LocatorUtils.property(thatLocator, "eventGroup", rhsEventGroup), lhsEventGroup, rhsEventGroup)) {
681                 return false;
682             }
683         }
684         {
685             String lhsPage;
686             lhsPage = this.getPage();
687             String rhsPage;
688             rhsPage = that.getPage();
689             if (!strategy.equals(LocatorUtils.property(thisLocator, "page", lhsPage), LocatorUtils.property(thatLocator, "page", rhsPage), lhsPage, rhsPage)) {
690                 return false;
691             }
692         }
693         {
694             String lhsPageMode;
695             lhsPageMode = this.getPageMode();
696             String rhsPageMode;
697             rhsPageMode = that.getPageMode();
698             if (!strategy.equals(LocatorUtils.property(thisLocator, "pageMode", lhsPageMode), LocatorUtils.property(thatLocator, "pageMode", rhsPageMode), lhsPageMode, rhsPageMode)) {
699                 return false;
700             }
701         }
702         {
703             String lhsElementId;
704             lhsElementId = this.getElementId();
705             String rhsElementId;
706             rhsElementId = that.getElementId();
707             if (!strategy.equals(LocatorUtils.property(thisLocator, "elementId", lhsElementId), LocatorUtils.property(thatLocator, "elementId", rhsElementId), lhsElementId, rhsElementId)) {
708                 return false;
709             }
710         }
711         {
712             String lhsActionName;
713             lhsActionName = this.getActionName();
714             String rhsActionName;
715             rhsActionName = that.getActionName();
716             if (!strategy.equals(LocatorUtils.property(thisLocator, "actionName", lhsActionName), LocatorUtils.property(thatLocator, "actionName", rhsActionName), lhsActionName, rhsActionName)) {
717                 return false;
718             }
719         }
720         {
721             String lhsSessionId;
722             lhsSessionId = this.getSessionId();
723             String rhsSessionId;
724             rhsSessionId = that.getSessionId();
725             if (!strategy.equals(LocatorUtils.property(thisLocator, "sessionId", lhsSessionId), LocatorUtils.property(thatLocator, "sessionId", rhsSessionId), lhsSessionId, rhsSessionId)) {
726                 return false;
727             }
728         }
729         {
730             String lhsUserId;
731             lhsUserId = this.getUserId();
732             String rhsUserId;
733             rhsUserId = that.getUserId();
734             if (!strategy.equals(LocatorUtils.property(thisLocator, "userId", lhsUserId), LocatorUtils.property(thatLocator, "userId", rhsUserId), lhsUserId, rhsUserId)) {
735                 return false;
736             }
737         }
738         {
739             String lhsErrorMessage;
740             lhsErrorMessage = this.getErrorMessage();
741             String rhsErrorMessage;
742             rhsErrorMessage = that.getErrorMessage();
743             if (!strategy.equals(LocatorUtils.property(thisLocator, "errorMessage", lhsErrorMessage), LocatorUtils.property(thatLocator, "errorMessage", rhsErrorMessage), lhsErrorMessage, rhsErrorMessage)) {
744                 return false;
745             }
746         }
747         {
748             String lhsApplicationMessage;
749             lhsApplicationMessage = this.getApplicationMessage();
750             String rhsApplicationMessage;
751             rhsApplicationMessage = that.getApplicationMessage();
752             if (!strategy.equals(LocatorUtils.property(thisLocator, "applicationMessage", lhsApplicationMessage), LocatorUtils.property(thatLocator, "applicationMessage", rhsApplicationMessage), lhsApplicationMessage, rhsApplicationMessage)) {
753                 return false;
754             }
755         }
756         {
757             Date lhsCreatedDate;
758             lhsCreatedDate = this.getCreatedDate();
759             Date rhsCreatedDate;
760             rhsCreatedDate = that.getCreatedDate();
761             if (!strategy.equals(LocatorUtils.property(thisLocator, "createdDate", lhsCreatedDate), LocatorUtils.property(thatLocator, "createdDate", rhsCreatedDate), lhsCreatedDate, rhsCreatedDate)) {
762                 return false;
763             }
764         }
765         return true;
766     }
767 
768     public boolean equals(Object object) {
769         final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
770         return equals(null, null, object, strategy);
771     }
772 
773     public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
774         int currentHashCode = 1;
775         {
776             Integer theModelObjectId;
777             theModelObjectId = this.getModelObjectId();
778             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "modelObjectId", theModelObjectId), currentHashCode, theModelObjectId);
779         }
780         {
781             Integer theModelObjectVersion;
782             theModelObjectVersion = this.getModelObjectVersion();
783             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "modelObjectVersion", theModelObjectVersion), currentHashCode, theModelObjectVersion);
784         }
785         {
786             ApplicationOperationType theApplicationOperation;
787             theApplicationOperation = this.getApplicationOperation();
788             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "applicationOperation", theApplicationOperation), currentHashCode, theApplicationOperation);
789         }
790         {
791             ApplicationEventGroup theEventGroup;
792             theEventGroup = this.getEventGroup();
793             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "eventGroup", theEventGroup), currentHashCode, theEventGroup);
794         }
795         {
796             String thePage;
797             thePage = this.getPage();
798             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "page", thePage), currentHashCode, thePage);
799         }
800         {
801             String thePageMode;
802             thePageMode = this.getPageMode();
803             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pageMode", thePageMode), currentHashCode, thePageMode);
804         }
805         {
806             String theElementId;
807             theElementId = this.getElementId();
808             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "elementId", theElementId), currentHashCode, theElementId);
809         }
810         {
811             String theActionName;
812             theActionName = this.getActionName();
813             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "actionName", theActionName), currentHashCode, theActionName);
814         }
815         {
816             String theSessionId;
817             theSessionId = this.getSessionId();
818             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sessionId", theSessionId), currentHashCode, theSessionId);
819         }
820         {
821             String theUserId;
822             theUserId = this.getUserId();
823             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "userId", theUserId), currentHashCode, theUserId);
824         }
825         {
826             String theErrorMessage;
827             theErrorMessage = this.getErrorMessage();
828             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "errorMessage", theErrorMessage), currentHashCode, theErrorMessage);
829         }
830         {
831             String theApplicationMessage;
832             theApplicationMessage = this.getApplicationMessage();
833             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "applicationMessage", theApplicationMessage), currentHashCode, theApplicationMessage);
834         }
835         {
836             Date theCreatedDate;
837             theCreatedDate = this.getCreatedDate();
838             currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "createdDate", theCreatedDate), currentHashCode, theCreatedDate);
839         }
840         return currentHashCode;
841     }
842 
843     public int hashCode() {
844         final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
845         return this.hashCode(null, strategy);
846     }
847 
848 }