Produced by Araxis Merge on 6/9/2017 3:51:18 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:18 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-svc-consent-mgmt\src\main\java\gov\va\nvap\svc\consentmgmt\stub\data | MailLog.java | Fri Apr 21 20:03:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 96 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.nvap. svc.consen tmgmt.stub .data; | |||||
| 2 | ||||||
| 3 | import jav a.io.Seria lizable; | |||||
| 4 | import jav ax.persist ence.Basic ; | |||||
| 5 | import jav ax.persist ence.Colum n; | |||||
| 6 | import jav ax.persist ence.Entit y; | |||||
| 7 | import jav ax.persist ence.Gener atedValue; | |||||
| 8 | import jav ax.persist ence.Gener ationType; | |||||
| 9 | import jav ax.persist ence.Id; | |||||
| 10 | import jav ax.persist ence.Table ; | |||||
| 11 | ||||||
| 12 | /** | |||||
| 13 | * | |||||
| 14 | * @author Johann So nnenberg | |||||
| 15 | */ | |||||
| 16 | @Entity | |||||
| 17 | @Table(nam e = "MAIL_ LOG") | |||||
| 18 | public cla ss MailLog implement s Serializ able { | |||||
| 19 | ||||||
| 20 | privat e static f inal long serialVers ionUID = 1 L; | |||||
| 21 | ||||||
| 22 | @Id | |||||
| 23 | @Gener atedValue( strategy = Generatio nType.AUTO ) | |||||
| 24 | @Colum n(name = " LOG_ID") | |||||
| 25 | privat e Long mai lLogId; | |||||
| 26 | ||||||
| 27 | @Basic (optional = false) | |||||
| 28 | @Colum n(name = " LOG_ENTRY" ) | |||||
| 29 | privat e String l ogEntry; | |||||
| 30 | ||||||
| 31 | @Basic (optional = true) | |||||
| 32 | @Colum n(name = " DELAYED_CO NSENT_ID") | |||||
| 33 | privat e Long del ayedConsen tId; | |||||
| 34 | ||||||
| 35 | @Basic (optional = true) | |||||
| 36 | @Colum n(name = " CONSENT_DI R_ID") | |||||
| 37 | privat e Long con sentDirId; | |||||
| 38 | ||||||
| 39 | public Long getM ailLogId() { | |||||
| 40 | re turn mailL ogId; | |||||
| 41 | } | |||||
| 42 | ||||||
| 43 | public void setM ailLogId(L ong mailLo gId) { | |||||
| 44 | th is.mailLog Id = mailL ogId; | |||||
| 45 | } | |||||
| 46 | ||||||
| 47 | public String ge tLogEntry( ) { | |||||
| 48 | re turn logEn try; | |||||
| 49 | } | |||||
| 50 | ||||||
| 51 | public void setL ogEntry(St ring logEn try) { | |||||
| 52 | th is.logEntr y = logEnt ry; | |||||
| 53 | } | |||||
| 54 | ||||||
| 55 | public Long getD elayedCons entId() { | |||||
| 56 | re turn delay edConsentI d; | |||||
| 57 | } | |||||
| 58 | ||||||
| 59 | public void setD elayedCons entId(Long delayedCo nsentId) { | |||||
| 60 | th is.delayed ConsentId = delayedC onsentId; | |||||
| 61 | } | |||||
| 62 | ||||||
| 63 | public Long getC onsentDirI d() { | |||||
| 64 | re turn conse ntDirId; | |||||
| 65 | } | |||||
| 66 | ||||||
| 67 | public void setC onsentDirI d(Long con sentDirId) { | |||||
| 68 | th is.consent DirId = co nsentDirId ; | |||||
| 69 | } | |||||
| 70 | ||||||
| 71 | @Overr ide | |||||
| 72 | public int hashC ode() { | |||||
| 73 | in t hash = 0 ; | |||||
| 74 | ha sh += (mai lLogId != null ? mai lLogId.has hCode() : 0); | |||||
| 75 | re turn hash; | |||||
| 76 | } | |||||
| 77 | ||||||
| 78 | @Overr ide | |||||
| 79 | public boolean e quals(Obje ct object) { | |||||
| 80 | // TODO: War ning - thi s method w on't work in the cas e the id f ields are not set | |||||
| 81 | if (!(object instanceo f MailLog) ) { | |||||
| 82 | return f alse; | |||||
| 83 | } | |||||
| 84 | Ma ilLog othe r = (MailL og) object ; | |||||
| 85 | if ((this.ma ilLogId == null && o ther.mailL ogId != nu ll) || (th is.mailLog Id != null && !this. mailLogId. equals(oth er.mailLog Id))) { | |||||
| 86 | return f alse; | |||||
| 87 | } | |||||
| 88 | re turn true; | |||||
| 89 | } | |||||
| 90 | ||||||
| 91 | @Overr ide | |||||
| 92 | public String to String() { | |||||
| 93 | re turn "gov. va.nvap.sv c.consentm gmt.stub.d ata.MailLo g[ mailLog Id=" + mai lLogId + " ]"; | |||||
| 94 | } | |||||
| 95 | ||||||
| 96 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.