Produced by Araxis Merge on 6/9/2017 3:50:36 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:50:36 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-mock\src\main\java\gov\va\nvap\mock\endpoint\mvi | PatientProfile.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 133 |
| 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. mock.endpo int.mvi; | |||||
| 2 | ||||||
| 3 | import jav a.io.Seria lizable; | |||||
| 4 | import jav ax.persist ence.Colum n; | |||||
| 5 | import jav ax.persist ence.Entit y; | |||||
| 6 | import jav ax.persist ence.Id; | |||||
| 7 | import jav ax.persist ence.Named Queries; | |||||
| 8 | import jav ax.persist ence.Named Query; | |||||
| 9 | import jav ax.persist ence.Table ; | |||||
| 10 | ||||||
| 11 | /** | |||||
| 12 | * | |||||
| 13 | * @author Johann So nnenberg | |||||
| 14 | */ | |||||
| 15 | @Entity | |||||
| 16 | @Table(nam e = "PATIE NT_PROFILE ") | |||||
| 17 | @NamedQuer ies({ | |||||
| 18 | @Nam edQuery(na me = "Pati entProfile .findAll", query = " SELECT p F ROM Patien tProfile p "), | |||||
| 19 | @Nam edQuery(na me = "Pati entProfile .findByIEN ", query = "SELECT p FROM Pati entProfile p WHERE p .ien = :ie n") }) | |||||
| 20 | public cla ss Patient Profile im plements S erializabl e { | |||||
| 21 | privat e static f inal long serialVers ionUID = 1 L; | |||||
| 22 | ||||||
| 23 | @Id | |||||
| 24 | @Colum n(name = " IEN") | |||||
| 25 | privat e String i en; | |||||
| 26 | ||||||
| 27 | @Colum n(name = " LAST_NAME" ) | |||||
| 28 | privat e String l astName; | |||||
| 29 | ||||||
| 30 | @Colum n(name = " FIRST_NAME ") | |||||
| 31 | privat e String f irstName; | |||||
| 32 | ||||||
| 33 | @Colum n(name = " MIDDLE_INI TIAL") | |||||
| 34 | privat e String m iddleIniti al; | |||||
| 35 | ||||||
| 36 | @Colum n(name = " DOB") | |||||
| 37 | privat e String d ateOfBirth ; | |||||
| 38 | ||||||
| 39 | @Colum n(name = " GENDER") | |||||
| 40 | privat e String g ender; | |||||
| 41 | ||||||
| 42 | @Colum n(name = " SSN") | |||||
| 43 | privat e String s sn; | |||||
| 44 | ||||||
| 45 | public PatientPr ofile() { | |||||
| 46 | } | |||||
| 47 | ||||||
| 48 | public PatientPr ofile(fina l String i en) { | |||||
| 49 | this.ien = ien; | |||||
| 50 | } | |||||
| 51 | ||||||
| 52 | @Overr ide | |||||
| 53 | public boolean e quals(fina l Object o bject) { | |||||
| 54 | if (!(object instanceo f PatientP rofile)) { | |||||
| 55 | retu rn false; | |||||
| 56 | } | |||||
| 57 | ||||||
| 58 | fi nal Patien tProfile o ther = (Pa tientProfi le) object ; | |||||
| 59 | ||||||
| 60 | if (((this.i en == null ) && (othe r.ien != n ull)) | |||||
| 61 | || ((t his.ien != null) && !this.ien. equals(oth er.ien))) { | |||||
| 62 | retu rn false; | |||||
| 63 | } | |||||
| 64 | re turn true; | |||||
| 65 | } | |||||
| 66 | ||||||
| 67 | public String ge tIEN() { | |||||
| 68 | re turn this. ien; | |||||
| 69 | } | |||||
| 70 | ||||||
| 71 | public void setI EN(final S tring ien) { | |||||
| 72 | th is.ien = i en; | |||||
| 73 | } | |||||
| 74 | ||||||
| 75 | public String ge tLastName( ) { | |||||
| 76 | re turn this. lastName; | |||||
| 77 | } | |||||
| 78 | ||||||
| 79 | public void setL astName(fi nal String lastName) { | |||||
| 80 | th is.lastNam e = lastNa me; | |||||
| 81 | } | |||||
| 82 | ||||||
| 83 | public String ge tFirstName () { | |||||
| 84 | re turn this. firstName; | |||||
| 85 | } | |||||
| 86 | ||||||
| 87 | public void setF irstName(f inal Strin g firstNam e) { | |||||
| 88 | th is.firstNa me = first Name; | |||||
| 89 | } | |||||
| 90 | ||||||
| 91 | public String ge tMiddleIni tial() { | |||||
| 92 | if (this.midd leInitial == null) { | |||||
| 93 | return " "; | |||||
| 94 | } else { | |||||
| 95 | return t his.middle Initial; | |||||
| 96 | } | |||||
| 97 | } | |||||
| 98 | ||||||
| 99 | public void setM iddleIniti al(final S tring midd leInitial) { | |||||
| 100 | th is.middleI nitial = m iddleIniti al; | |||||
| 101 | } | |||||
| 102 | ||||||
| 103 | public String ge tDateOfBir th() { | |||||
| 104 | re turn this. dateOfBirt h; | |||||
| 105 | } | |||||
| 106 | ||||||
| 107 | public void setD ateOfBirth (final Str ing dateOf Birth) { | |||||
| 108 | th is.dateOfB irth = dat eOfBirth; | |||||
| 109 | } | |||||
| 110 | ||||||
| 111 | public String ge tGender() { | |||||
| 112 | re turn this. gender; | |||||
| 113 | } | |||||
| 114 | ||||||
| 115 | public void setg ender(fina l String g ender) { | |||||
| 116 | th is.gender = gender; | |||||
| 117 | } | |||||
| 118 | ||||||
| 119 | public String ge tSSN() { | |||||
| 120 | re turn this. ssn; | |||||
| 121 | } | |||||
| 122 | ||||||
| 123 | public void setS SN(final S tring ssn) { | |||||
| 124 | th is.ssn = s sn; | |||||
| 125 | } | |||||
| 126 | ||||||
| 127 | @Overr ide | |||||
| 128 | public int hashC ode() { | |||||
| 129 | in t hash = 0 ; | |||||
| 130 | ha sh += (thi s.ien != n ull ? this .ien.hashC ode() : 0) ; | |||||
| 131 | re turn hash; | |||||
| 132 | } | |||||
| 133 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.