Produced by Araxis Merge on 6/9/2017 3:51:29 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:29 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\user\role | AllowedRole.java | Fri Apr 21 20:15:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 60 |
| 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.nvap. web.user.r ole; | |||||
| 2 | ||||||
| 3 | import jav a.io.Seria lizable; | |||||
| 4 | ||||||
| 5 | import jav ax.persist ence.Basic ; | |||||
| 6 | import jav ax.persist ence.Colum n; | |||||
| 7 | import jav ax.persist ence.Entit y; | |||||
| 8 | import jav ax.persist ence.Gener atedValue; | |||||
| 9 | import jav ax.persist ence.Gener ationType; | |||||
| 10 | import jav ax.persist ence.Id; | |||||
| 11 | import jav ax.persist ence.Named Queries; | |||||
| 12 | import jav ax.persist ence.Named Query; | |||||
| 13 | import jav ax.persist ence.Table ; | |||||
| 14 | ||||||
| 15 | /** | |||||
| 16 | * | |||||
| 17 | * @author Zack Pete rson | |||||
| 18 | */ | |||||
| 19 | @Entity | |||||
| 20 | @Table(nam e = "ALLOW ED_ROLE") | |||||
| 21 | @NamedQuer ies({ | |||||
| 22 | @Nam edQuery(na me = "Allo wedRole.fi ndAll", qu ery = "SEL ECT r FROM AllowedRo le r"), | |||||
| 23 | @Nam edQuery(na me = "Allo wedRole.fi ndRoleInCo llection", query = " SELECT r F ROM Allowe dRole r WH ERE r.role Name in (: roleNames) "), | |||||
| 24 | @Nam edQuery(na me = "Allo wedRole.fi ndByRoleId ", query = "SELECT r FROM Allo wedRole r WHERE r.ro leId = :ro leId"), | |||||
| 25 | @Nam edQuery(na me = "Allo wedRole.fi ndByRoleNa me", query = "SELECT r FROM Al lowedRole r WHERE r. roleName = :roleName ")}) | |||||
| 26 | public cla ss Allowed Role imple ments Seri alizable { | |||||
| 27 | pr ivate stat ic final l ong serial VersionUID = 1L; | |||||
| 28 | ||||||
| 29 | @I d | |||||
| 30 | @G eneratedVa lue(strate gy = Gener ationType. AUTO) | |||||
| 31 | @B asic(optio nal = fals e) | |||||
| 32 | @C olumn(name = "ROLE_I D") | |||||
| 33 | pr ivate Long roleId; | |||||
| 34 | @Basic (optional = false) | |||||
| 35 | @C olumn(name = "ROLE_N AME") | |||||
| 36 | pr ivate Stri ng roleNam e; | |||||
| 37 | ||||||
| 38 | pu blic Allow edRole() { | |||||
| 39 | } | |||||
| 40 | ||||||
| 41 | public AllowedRo le(final S tring role Name) { | |||||
| 42 | this .roleName = roleName ; | |||||
| 43 | } | |||||
| 44 | ||||||
| 45 | public Long getR oleId() { | |||||
| 46 | re turn roleI d; | |||||
| 47 | } | |||||
| 48 | ||||||
| 49 | public void setR oleId(Long roleId) { | |||||
| 50 | th is.roleId = roleId; | |||||
| 51 | } | |||||
| 52 | ||||||
| 53 | public String ge tRoleName( ) { | |||||
| 54 | re turn roleN ame; | |||||
| 55 | } | |||||
| 56 | ||||||
| 57 | public void setR oleName(St ring roleN ame) { | |||||
| 58 | th is.roleNam e = roleNa me; | |||||
| 59 | } | |||||
| 60 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.