Produced by Araxis Merge on 6/9/2017 3:51:30 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:30 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-web\src\main\java\gov\va\nvap\web\visn | Visn.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 | 102 |
| 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 | * To chan ge this te mplate, ch oose Tools | Templat es | |||||
| 3 | * and ope n the temp late in th e editor. | |||||
| 4 | */ | |||||
| 5 | ||||||
| 6 | package go v.va.nvap. web.visn; | |||||
| 7 | ||||||
| 8 | import jav a.io.Seria lizable; | |||||
| 9 | ||||||
| 10 | import jav ax.persist ence.Basic ; | |||||
| 11 | import jav ax.persist ence.Colum n; | |||||
| 12 | import jav ax.persist ence.Entit y; | |||||
| 13 | import jav ax.persist ence.Id; | |||||
| 14 | import jav ax.persist ence.Named Queries; | |||||
| 15 | import jav ax.persist ence.Named Query; | |||||
| 16 | import jav ax.persist ence.Table ; | |||||
| 17 | ||||||
| 18 | /** | |||||
| 19 | * | |||||
| 20 | * @author darren he nderson | |||||
| 21 | */ | |||||
| 22 | @Entity | |||||
| 23 | @Table(nam e = "VISN" ) | |||||
| 24 | @NamedQuer ies({ | |||||
| 25 | @Nam edQuery(na me = "Visn .findAll", query = " SELECT v F ROM Visn v ORDER BY visnNumber ASC") }) | |||||
| 26 | ||||||
| 27 | public cla ss Visn im plements S erializabl e { | |||||
| 28 | pr ivate stat ic final l ong serial VersionUID = 1L; | |||||
| 29 | ||||||
| 30 | @I d | |||||
| 31 | @B asic(optio nal = fals e) | |||||
| 32 | @C olumn(name = "ID") | |||||
| 33 | pr ivate Long id; | |||||
| 34 | ||||||
| 35 | @B asic(optio nal = fals e) | |||||
| 36 | @C olumn(name = "VISN_N UMBER") | |||||
| 37 | pr ivate Long visnNumbe r; | |||||
| 38 | ||||||
| 39 | @B asic(optio nal = fals e) | |||||
| 40 | @C olumn(name = "VISN_N AME") | |||||
| 41 | pr ivate Stri ng visnNam e; | |||||
| 42 | ||||||
| 43 | pu blic Visn( ) { | |||||
| 44 | } | |||||
| 45 | ||||||
| 46 | pu blic Visn( final Long id) { | |||||
| 47 | this .id = id; | |||||
| 48 | } | |||||
| 49 | ||||||
| 50 | @O verride | |||||
| 51 | pu blic boole an equals( final Obje ct object) { | |||||
| 52 | // T ODO: Warni ng - this method won 't work in the case the id fie lds are | |||||
| 53 | // n ot set | |||||
| 54 | if ( !(object i nstanceof Visn)) { | |||||
| 55 | return false; | |||||
| 56 | } | |||||
| 57 | fina l Visn oth er = (Visn ) object; | |||||
| 58 | if ( ((this.id == null) & & (other.i d != null) ) | |||||
| 59 | || ((thi s.id != nu ll) && !th is.id | |||||
| 60 | .e quals(othe r.id))) { | |||||
| 61 | return false; | |||||
| 62 | } | |||||
| 63 | retu rn true; | |||||
| 64 | } | |||||
| 65 | ||||||
| 66 | pu blic Long getVisnNum ber() { | |||||
| 67 | retu rn this.vi snNumber; | |||||
| 68 | } | |||||
| 69 | ||||||
| 70 | pu blic Strin g getVisnN ame() { | |||||
| 71 | retu rn this.vi snName; | |||||
| 72 | } | |||||
| 73 | ||||||
| 74 | pu blic Long getId() { | |||||
| 75 | retu rn this.id ; | |||||
| 76 | } | |||||
| 77 | ||||||
| 78 | @O verride | |||||
| 79 | pu blic int h ashCode() { | |||||
| 80 | int hash = 0; | |||||
| 81 | hash += (this. id != null ? this.id .hashCode( ) : 0); | |||||
| 82 | retu rn hash; | |||||
| 83 | } | |||||
| 84 | ||||||
| 85 | pu blic void setVisnNum ber(final Long visnN umber) { | |||||
| 86 | this .visnNumbe r = visnNu mber; | |||||
| 87 | } | |||||
| 88 | ||||||
| 89 | pu blic void setVisnNam e(final St ring visnN ame) { | |||||
| 90 | this .visnName = visnName ; | |||||
| 91 | } | |||||
| 92 | ||||||
| 93 | pu blic void setId(fina l Long id) { | |||||
| 94 | this .id = id; | |||||
| 95 | } | |||||
| 96 | ||||||
| 97 | @O verride | |||||
| 98 | pu blic Strin g toString () { | |||||
| 99 | retu rn "gov.va .nvap.web. visn[id=" + this.id + "]"; | |||||
| 100 | } | |||||
| 101 | ||||||
| 102 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.