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\common | DeviceType.java | Wed May 29 15:26:30 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\model\common | DeviceType.java | Mon Jun 10 19:19:20 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 108 |
| 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 | package go v.va.med.c cht.model. common; | |
| 2 | ||
| 3 | import jav ax.persist ence.Attri buteOverri de; | |
| 4 | import jav ax.persist ence.Colum n; | |
| 5 | import jav ax.persist ence.Entit y; | |
| 6 | import jav ax.persist ence.Gener atedValue; | |
| 7 | import jav ax.persist ence.Gener ationType; | |
| 8 | import jav ax.persist ence.Id; | |
| 9 | import jav ax.persist ence.JoinC olumn; | |
| 10 | import jav ax.persist ence.ManyT oOne; | |
| 11 | import jav ax.persist ence.Table ; | |
| 12 | ||
| 13 | import gov .va.med.fw .model.loo kup.Abstra ctLookup; | |
| 14 | ||
| 15 | /** | |
| 16 | * @author DNS | |
| 17 | * | |
| 18 | */ | |
| 19 | @Entity | |
| 20 | @Table(sch ema="dbo", name="MED ICAL_DEVIC E_MODEL_TY PE") | |
| 21 | @Attribute Override(n ame = "id" , column = @Column(n ame = "ID" )) | |
| 22 | public cla ss DeviceT ype extend s Abstract Lookup { | |
| 23 | ||
| 24 | pr ivate stat ic final l ong serial VersionUID = 1408398 3268254235 66L; | |
| 25 | ||
| 26 | pu blic stati c final St ring NULL_ DEVICE_NAM E = "{none }"; | |
| 27 | ||
| 28 | pr ivate Long id; | |
| 29 | pr ivate Vend or vendor; | |
| 30 | ||
| 31 | @I d | |
| 32 | @C olumn(name = "ID") | |
| 33 | @G eneratedVa lue(strate gy=Generat ionType.ID ENTITY) | |
| 34 | pu blic Long getId() { | |
| 35 | retu rn this.id ; | |
| 36 | } | |
| 37 | ||
| 38 | pu blic void setId(Long id) { | |
| 39 | this .id = id; | |
| 40 | } | |
| 41 | ||
| 42 | @M anyToOne(t argetEntit y=Vendor.c lass) | |
| 43 | @J oinColumn( name="VEND OR_ID") | |
| 44 | pu blic Vendo r getVendo r() { | |
| 45 | retu rn vendor; | |
| 46 | } | |
| 47 | pu blic void setVendor( Vendor ven dor) { | |
| 48 | this .vendor = vendor; | |
| 49 | } | |
| 50 | ||
| 51 | pu blic Strin g toString () | |
| 52 | { | |
| 53 | retu rn getName (); | |
| 54 | } | |
| 55 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.