Produced by Araxis Merge on 6/11/2019 10:54:08 AM 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 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\model\qir | QIRAttachment.java | Wed May 29 15:26:28 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\model\qir | QIRAttachment.java | Mon Jun 10 19:19:21 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 158 |
| 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.c cht.model. qir; | |
| 5 | ||
| 6 | import jav a.util.Dat e; | |
| 7 | ||
| 8 | import jav ax.persist ence.Colum n; | |
| 9 | import jav ax.persist ence.Entit y; | |
| 10 | import jav ax.persist ence.Gener atedValue; | |
| 11 | import jav ax.persist ence.Gener ationType; | |
| 12 | import jav ax.persist ence.Id; | |
| 13 | import jav ax.persist ence.Table ; | |
| 14 | ||
| 15 | import gov .va.med.cc ht.model.A ttachment; | |
| 16 | import gov .va.med.cc ht.model.t erminology .DocumentT ype; | |
| 17 | ||
| 18 | /** | |
| 19 | * @author DNS | |
| 20 | * | |
| 21 | */ | |
| 22 | @Entity | |
| 23 | @Table(sch ema="qir", name="QIR _DOC_ATTAC HMENTS") | |
| 24 | public cla ss QIRAtta chment ext ends Attac hment { | |
| 25 | ||
| 26 | pr ivate Long id; | |
| 27 | pr ivate Long qirId; | |
| 28 | pr ivate byte [] data; | |
| 29 | pr ivate Inte ger length ; | |
| 30 | ||
| 31 | pu blic QIRAt tachment() { | |
| 32 | } | |
| 33 | ||
| 34 | pu blic QIRAt tachment(L ong qirId, byte[] da ta, Intege r length, Date date, DocumentT ype docume ntType, | |
| 35 | String documentN ame) { | |
| 36 | supe r(date, do cumentType , document Name); | |
| 37 | ||
| 38 | this .qirId = q irId; | |
| 39 | this .data = da ta; | |
| 40 | this .length = length; | |
| 41 | } | |
| 42 | ||
| 43 | @I d | |
| 44 | @G eneratedVa lue(strate gy = Gener ationType. IDENTITY) | |
| 45 | @C olumn(name = "QIR_DO C_ATTCHMNT _ID", uniq ue = true, nullable = false) | |
| 46 | pu blic Long getId() { | |
| 47 | retu rn id; | |
| 48 | } | |
| 49 | ||
| 50 | pu blic void setId(Long id) { | |
| 51 | this .id = id; | |
| 52 | } | |
| 53 | ||
| 54 | @C olumn(name = "QIR_ID ") | |
| 55 | pu blic Long getQirId() { | |
| 56 | retu rn qirId; | |
| 57 | } | |
| 58 | ||
| 59 | pu blic void setQirId(L ong qirId) { | |
| 60 | this .qirId = q irId; | |
| 61 | } | |
| 62 | ||
| 63 | @C olumn(name = "DOCUME NT_DATA") | |
| 64 | pu blic byte[ ] getData( ) { | |
| 65 | retu rn data; | |
| 66 | } | |
| 67 | ||
| 68 | pu blic void setData(by te[] data) { | |
| 69 | this .data = da ta; | |
| 70 | } | |
| 71 | ||
| 72 | @C olumn(name = "DOCUME NT_SIZE") | |
| 73 | pu blic Integ er getLeng th() { | |
| 74 | retu rn this.le ngth; | |
| 75 | } | |
| 76 | ||
| 77 | pu blic void setLength( Integer le ngth) { | |
| 78 | this .length = length; | |
| 79 | } | |
| 80 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.