Produced by Araxis Merge on 3/24/2017 5:17:18 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 | MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_rxrefill\mhv-rx-refill-portal-main\src\main\java\gov\va\med\domain\persistence\jdbc\helper | DestinationEntry.java | Thu Feb 11 17:10:26 2016 UTC |
| 2 | MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_rxrefill\mhv-rx-refill-portal-main\src\main\java\gov\va\med\domain\persistence\jdbc\helper | DestinationEntry.java | Fri Mar 24 20:31:22 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 314 |
| 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.d omain.pers istence.jd bc.helper; | |
| 2 | ||
| 3 | import gov .va.med.do main.servi ce.messagi ng.environ ment.Desti nation; | |
| 4 | ||
| 5 | /** | |
| 6 | * Destina tionEntry | |
| 7 | * | |
| 8 | * @author
|
|
| 9 | * @versio n $Id: Des tinationEn try.java,v 1.4 2005/ 07/19 14:5 8:48 joel. goldberg E xp $ | |
| 10 | * @since MHV 2.0 <b r>Mar 1, 2 005 | |
| 11 | */ | |
| 12 | public cla ss Destina tionEntry | |
| 13 | { | |
| 14 | pr ivate long destinati onId; | |
| 15 | pr ivate long instituti onId; | |
| 16 | pr ivate Stri ng otherDe stinationN ame; | |
| 17 | pr ivate Stri ng station Number; | |
| 18 | pr ivate Stri ng vistaNa me; | |
| 19 | pr ivate Stri ng name; | |
| 20 | privat e String a ctive; | |
| 21 | privat e String p articipati ng; | |
| 22 | privat e String v ersion; | |
| 23 | ||
| 24 | public Destinati on getDest ination() { | |
| 25 | De stination destinatio n = new De stination( ); | |
| 26 | de stination. setDestina tionId(thi s.getDesti nationId() ); | |
| 27 | de stination. setInstitu tionId(thi s.getInsti tutionId() ); | |
| 28 | de stination. setActive( getActive( ).equalsIg noreCase(" Y")); | |
| 29 | ||
| 30 | if (destinat ion.getIns titutionId () == 0) { | |
| 31 | destinat ion.setDes tinationKe y(this.get OtherDesti nationName ()); | |
| 32 | destinat ion.setNam e(this.get OtherDesti nationName ()); | |
| 33 | } else { | |
| 34 | destinat ion.setDes tinationKe y(this.get StationNum ber()); | |
| 35 | destinat ion.setNam e(this.get Name()); | |
| 36 | } | |
| 37 | de stination. setPartici pating(par ticipating .equalsIgn oreCase("Y ")); | |
| 38 | de stination. setVersion (version); | |
| 39 | re turn desti nation; | |
| 40 | } | |
| 41 | ||
| 42 | /* * | |
| 43 | * @return R eturns the instituti onId. | |
| 44 | * / | |
| 45 | pu blic long getInstitu tionId() { | |
| 46 | retu rn institu tionId; | |
| 47 | } | |
| 48 | /* * | |
| 49 | * @param in stitutionI d The inst itutionId to set. | |
| 50 | * / | |
| 51 | pu blic void setInstitu tionId(lon g institut ionId) { | |
| 52 | this .instituti onId = ins titutionId ; | |
| 53 | } | |
| 54 | /* * | |
| 55 | * @return R eturns the name. | |
| 56 | * / | |
| 57 | pu blic Strin g getName( ) { | |
| 58 | retu rn name; | |
| 59 | } | |
| 60 | /* * | |
| 61 | * @param na me The nam e to set. | |
| 62 | * / | |
| 63 | pu blic void setName(St ring name) { | |
| 64 | this .name = na me; | |
| 65 | } | |
| 66 | /* * | |
| 67 | * @return R eturns the otherDest inationNam e. | |
| 68 | * / | |
| 69 | pu blic Strin g getOther Destinatio nName() { | |
| 70 | retu rn otherDe stinationN ame; | |
| 71 | } | |
| 72 | /* * | |
| 73 | * @param ot herDestina tionName T he otherDe stinationN ame to set . | |
| 74 | * / | |
| 75 | pu blic void setOtherDe stinationN ame(String otherDest inationNam e) { | |
| 76 | this .otherDest inationNam e = otherD estination Name; | |
| 77 | } | |
| 78 | /* * | |
| 79 | * @return R eturns the stationNu mber. | |
| 80 | * / | |
| 81 | pu blic Strin g getStati onNumber() { | |
| 82 | retu rn station Number; | |
| 83 | } | |
| 84 | /* * | |
| 85 | * @param st ationNumbe r The stat ionNumber to set. | |
| 86 | * / | |
| 87 | pu blic void setStation Number(Str ing statio nNumber) { | |
| 88 | this .stationNu mber = sta tionNumber ; | |
| 89 | } | |
| 90 | /* * | |
| 91 | * @return R eturns the vistaName . | |
| 92 | * / | |
| 93 | pu blic Strin g getVista Name() { | |
| 94 | retu rn vistaNa me; | |
| 95 | } | |
| 96 | /* * | |
| 97 | * @param vi staName Th e vistaNam e to set. | |
| 98 | * / | |
| 99 | pu blic void setVistaNa me(String vistaName) { | |
| 100 | this .vistaName = vistaNa me; | |
| 101 | } | |
| 102 | /* * | |
| 103 | * @return R eturns the destinati onId. | |
| 104 | * / | |
| 105 | pu blic long getDestina tionId() { | |
| 106 | retu rn destina tionId; | |
| 107 | } | |
| 108 | /* * | |
| 109 | * @param de stinationI d The dest inationId to set. | |
| 110 | * / | |
| 111 | pu blic void setDestina tionId(lon g destinat ionId) { | |
| 112 | this .destinati onId = des tinationId ; | |
| 113 | } | |
| 114 | ||
| 115 | /** | |
| 116 | * @re turn Retur ns the act ive. | |
| 117 | */ | |
| 118 | public String ge tActive() { | |
| 119 | re turn activ e; | |
| 120 | } | |
| 121 | ||
| 122 | ||
| 123 | /** | |
| 124 | * @pa ram active The activ e to set. | |
| 125 | */ | |
| 126 | public void setA ctive(Stri ng active) { | |
| 127 | th is.active = active; | |
| 128 | } | |
| 129 | ||
| 130 | /** | |
| 131 | * @re turn Retur ns the par ticipating . | |
| 132 | */ | |
| 133 | public String ge tParticipa ting() | |
| 134 | { | |
| 135 | re turn parti cipating; | |
| 136 | } | |
| 137 | /** | |
| 138 | * @pa ram partic ipating Th e particip ating to s et. | |
| 139 | */ | |
| 140 | public void setP articipati ng(String participat ing) | |
| 141 | { | |
| 142 | th is.partici pating = p articipati ng; | |
| 143 | } | |
| 144 | /** | |
| 145 | * @re turn Retur ns the ver sion. | |
| 146 | */ | |
| 147 | public String ge tVersion() | |
| 148 | { | |
| 149 | re turn versi on; | |
| 150 | } | |
| 151 | /** | |
| 152 | * @pa ram versio n The vers ion to set . | |
| 153 | */ | |
| 154 | public void setV ersion(Str ing versio n) | |
| 155 | { | |
| 156 | th is.version = version ; | |
| 157 | } | |
| 158 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.