Produced by Araxis Merge on 11/28/2017 4:44:48 PM Eastern Standard 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 | admin_portal_reeng_2018.1.0.0.zip\admin portal reeng\mhv_source\mhv_admin\mhv-admin-main\src\main\java\gov\va\med\mhv\admin\registry | Name.java | Wed Aug 23 04:11:24 2017 UTC |
2 | admin_portal_reeng_2018.1.0.0.zip\admin portal reeng\mhv_source\mhv_admin\mhv-admin-main\src\main\java\gov\va\med\mhv\admin\registry | Name.java | Tue Nov 28 20:42:36 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 204 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
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 | /** | |
2 | * | |
3 | */ | |
4 | package go v.va.med.m hv.admin.r egistry; | |
5 | ||
6 | /** | |
7 | * @author
|
|
8 | * | |
9 | */ | |
10 | public cla ss Name ex tends Mode lObject { | |
11 | ||
12 | privat e String l astName = null; | |
13 | privat e String f irstName = null; | |
14 | privat e String m iddleName = null; | |
15 | privat e String p refix = nu ll; | |
16 | privat e String s uffix = nu ll; | |
17 | ||
18 | /** | |
19 | * @re turn Retur ns the fir stName. | |
20 | */ | |
21 | public String ge tFirstName () { | |
22 | re turn first Name; | |
23 | } | |
24 | /** | |
25 | * @pa ram firstN ame The fi rstName to set. | |
26 | */ | |
27 | public void setF irstName(S tring firs tName) { | |
28 | th is.firstNa me = first Name; | |
29 | } | |
30 | /** | |
31 | * @re turn Retur ns the las tName. | |
32 | */ | |
33 | public String ge tLastName( ) { | |
34 | re turn lastN ame; | |
35 | } | |
36 | /** | |
37 | * @pa ram lastNa me The las tName to s et. | |
38 | */ | |
39 | public void setL astName(St ring lastN ame) { | |
40 | th is.lastNam e = lastNa me; | |
41 | } | |
42 | /** | |
43 | * @re turn Retur ns the mid dleName. | |
44 | */ | |
45 | public String ge tMiddleNam e() { | |
46 | re turn middl eName; | |
47 | } | |
48 | /** | |
49 | * @pa ram middle Name The m iddleName to set. | |
50 | */ | |
51 | public void setM iddleName( String mid dleName) { | |
52 | th is.middleN ame = midd leName; | |
53 | } | |
54 | /** | |
55 | * @re turn Retur ns the pre fix. | |
56 | */ | |
57 | public String ge tPrefix() { | |
58 | re turn prefi x; | |
59 | } | |
60 | /** | |
61 | * @pa ram prefix The prefi x to set. | |
62 | */ | |
63 | public void setP refix(Stri ng prefix) { | |
64 | th is.prefix = prefix; | |
65 | } | |
66 | /** | |
67 | * @re turn Retur ns the suf fix. | |
68 | */ | |
69 | public String ge tSuffix() { | |
70 | re turn suffi x; | |
71 | } | |
72 | /** | |
73 | * @pa ram suffix The suffi x to set. | |
74 | */ | |
75 | public void setS uffix(Stri ng suffix) { | |
76 | th is.suffix = suffix; | |
77 | } | |
78 | ||
79 | @Overr ide | |
80 | public int hashC ode() { | |
81 | Ob ject[] fie lds = { la stName, fi rstName, m iddleName }; | |
82 | re turn hashC ode(fields ); | |
83 | } | |
84 | ||
85 | @Overr ide | |
86 | public boolean e quals(Obje ct obj) { | |
87 | if (this == obj) { | |
88 | return t rue; | |
89 | } | |
90 | if (obj == n ull) { | |
91 | return f alse; | |
92 | } | |
93 | if (getClass () != obj. getClass() ) { | |
94 | return f alse; | |
95 | } | |
96 | fi nal Name o ther = (Na me) obj; | |
97 | re turn areEq ual(lastNa me, other. lastName) | |
98 | && areEq ual(firstN ame, other .firstName ) | |
99 | && areEq ual(middle Name, othe r.middleNa me) | |
100 | && areEq ual(prefix , other.pr efix) | |
101 | && areEq ual(suffix , other.su ffix); | |
102 | } | |
103 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.