Produced by Araxis Merge on 12/21/2017 6:15:13 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 | Genisis_2.0_v7_bld7.zip\TS\Service\bookmarking-service\src\main\java\gov\va\genisis2\bs\data\model | Bookmark.java | Thu Dec 14 19:57:17 2017 UTC |
| 2 | Genisis_2.0_v7_bld7.zip\TS\Service\bookmarking-service\src\main\java\gov\va\genisis2\bs\data\model | Bookmark.java | Thu Dec 21 21:17:33 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 226 |
| 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.genis is2.bs.dat a.model; | |
| 2 | ||
| 3 | import jav a.io.Seria lizable; | |
| 4 | import jav a.util.Lis t; | |
| 5 | ||
| 6 | import jav ax.persist ence.Colum n; | |
| 7 | import jav ax.persist ence.Entit y; | |
| 8 | import jav ax.persist ence.Fetch Type; | |
| 9 | import jav ax.persist ence.Gener atedValue; | |
| 10 | import jav ax.persist ence.Gener ationType; | |
| 11 | import jav ax.persist ence.Id; | |
| 12 | import jav ax.persist ence.OneTo Many; | |
| 13 | import jav ax.persist ence.Table ; | |
| 14 | ||
| 15 | import org .hibernate .annotatio ns.Fetch; | |
| 16 | import org .hibernate .annotatio ns.FetchMo de; | |
| 17 | ||
| 18 | /** | |
| 19 | * Bookmar k - Stores data asso ciated wit h a bookma rk | |
| 20 | * @author PII | |
| 21 | */ | |
| 22 | @Entity | |
| 23 | @Table(nam e = "bookm arks") | |
| 24 | public cla ss Bookmar k implemen ts Seriali zable { | |
| 25 | ||
| 26 | pr ivate stat ic final l ong serial VersionUID = 1L; | |
| 27 | ||
| 28 | @I d | |
| 29 | @C olumn(name = "id") | |
| 30 | @G eneratedVa lue(strate gy = Gener ationType. AUTO) | |
| 31 | pr ivate int bookmarkId ; | |
| 32 | ||
| 33 | @C olumn(name = "concep t_name") | |
| 34 | pr ivate Stri ng concept Name; | |
| 35 | ||
| 36 | @C olumn(name = "concep t_uri") | |
| 37 | pr ivate Stri ng concept Uri; | |
| 38 | ||
| 39 | @C olumn(name = "create d_by") | |
| 40 | pr ivate Stri ng usernam e; | |
| 41 | ||
| 42 | @O neToMany(f etch = Fet chType.EAG ER, mapped By = "book mark") | |
| 43 | @F etch(Fetch Mode.SELEC T) | |
| 44 | pr ivate List <Label> la bels; | |
| 45 | /* * | |
| 46 | * @return t he concept Id | |
| 47 | * / | |
| 48 | pu blic int g etBookmark Id() { | |
| 49 | retu rn bookmar kId; | |
| 50 | } | |
| 51 | ||
| 52 | /* * | |
| 53 | * @param co nceptId th e concept_ id to set | |
| 54 | * / | |
| 55 | pu blic void setBookmar kId(int bo okmarkId) { | |
| 56 | this .bookmarkI d = bookma rkId; | |
| 57 | } | |
| 58 | ||
| 59 | /* * | |
| 60 | * @return t he bookmar k_name | |
| 61 | * / | |
| 62 | pu blic Strin g getConce ptName() { | |
| 63 | retu rn concept Name; | |
| 64 | } | |
| 65 | ||
| 66 | /* * | |
| 67 | * @param bo okmarkName the bookm ark_name t o set | |
| 68 | * / | |
| 69 | pu blic void setConcept Name(Strin g conceptN ame) { | |
| 70 | this .conceptNa me = conce ptName; | |
| 71 | } | |
| 72 | ||
| 73 | /* * | |
| 74 | * @return t he concept Uri | |
| 75 | * / | |
| 76 | pu blic Strin g getConce ptUri() { | |
| 77 | retu rn concept Uri; | |
| 78 | } | |
| 79 | ||
| 80 | /* * | |
| 81 | * @param co nceptUri t he concept Uri to set | |
| 82 | * / | |
| 83 | pu blic void setConcept Uri(String conceptUr i) { | |
| 84 | this .conceptUr i = concep tUri; | |
| 85 | } | |
| 86 | ||
| 87 | /* * | |
| 88 | * @return t he usernam e | |
| 89 | * / | |
| 90 | pu blic Strin g getUsern ame() { | |
| 91 | retu rn usernam e; | |
| 92 | } | |
| 93 | ||
| 94 | /* * | |
| 95 | * @param us ername the username to set | |
| 96 | * / | |
| 97 | pu blic void setUsernam e(String u sername) { | |
| 98 | this .username = username ; | |
| 99 | } | |
| 100 | ||
| 101 | /* * | |
| 102 | * @return t he labels | |
| 103 | * / | |
| 104 | pu blic List< Label> get Labels() { | |
| 105 | retu rn labels; | |
| 106 | } | |
| 107 | ||
| 108 | /* * | |
| 109 | * @param la bels the l abels to s et | |
| 110 | * / | |
| 111 | pu blic void setLabels( List<Label > labels) { | |
| 112 | this .labels = labels; | |
| 113 | } | |
| 114 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.