4206. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:51:22 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.

4206.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:22 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-svc-facility\src\main\java\gov\va\nvap\svc\facility\data Facility.java Fri Apr 21 20:03:30 2017 UTC

4206.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 190
Removed 0 0

4206.3 Comparison options

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

4206.4 Active regular expressions

No regular expressions were active.

4206.5 Comparison detail

        1   /*
        2    * To chan ge this te mplate, ch oose Tools  | Templat es
        3    * and ope n the temp late in th e editor.
        4    */
        5  
        6   package go v.va.nvap. svc.facili ty.data;
        7  
        8   import jav a.io.Seria lizable;
        9   import jav ax.persist ence.Basic ;
        10   import jav ax.persist ence.Colum n;
        11   import jav ax.persist ence.Entit y;
        12   import jav ax.persist ence.Gener atedValue;
        13   import jav ax.persist ence.Gener ationType;
        14   import jav ax.persist ence.Id;
        15   import jav ax.persist ence.Named Queries;
        16   import jav ax.persist ence.Named Query;
        17   import jav ax.persist ence.Table ;
        18  
        19   /**
        20    *
        21    * @author  vhaislegb erb
        22    */
        23   @Entity
        24   @Table(nam e = "FACIL ITY")
        25   @NamedQuer ies({
        26                    @Nam edQuery(na me = "Faci lity.findA ll", query  = "SELECT  f FROM Fa cility f o rder by lo wer(f.faci lityName)  asc"),
        27                    @Nam edQuery(na me = "Faci lity.findB yFacilityI d", query  = "SELECT  f FROM Fac ility f WH ERE f.faci lityId = : facilityId "),
        28                    @Nam edQuery(na me = "Faci lity.findB yFacilityN ame", quer y = "SELEC T f.facili tyStation  FROM Facil ity f WHER E f.facili tyName = : facilityNa me"),
        29                    @Nam edQuery(na me = "Faci lity.findB yFacilityS tation", q uery = "SE LECT f FRO M Facility  f WHERE f .facilityS tation = : facilitySt ation"),
        30                    @Nam edQuery(na me = "Faci lity.findB yFacilityD ns", query  = "SELECT  f FROM Fa cility f W HERE f.fac ilityDns =  :facility Dns"),
        31                    @Nam edQuery(na me = "Faci lity.findB yAllowed",  query = " SELECT f F ROM Facili ty f WHERE  f.allowed  = :allowe d order by  lower(f.f acilityNam e) asc") } )
        32   public cla ss Facilit y implemen ts Seriali zable {
        33           pr ivate stat ic final l ong serial VersionUID  = 1L;
        34           @B asic(optio nal = fals e)
        35           @C olumn(name  = "ALLOWE D")
        36           pr ivate bool ean allowe d;
        37           @C olumn(name  = "FACILI TY_DNS")
        38           pr ivate Stri ng facilit yDns;
        39           @I d
        40           @G eneratedVa lue(strate gy = Gener ationType. AUTO)
        41           @B asic(optio nal = fals e)
        42           @C olumn(name  = "FACILI TY_ID")
        43           pr ivate Long  facilityI d;
        44           @C olumn(name  = "FACILI TY_NAME")
        45           pr ivate Stri ng facilit yName;
        46           @C olumn(name  = "FACILI TY_STATION ")
        47           pr ivate Stri ng facilit yStation;
        48           @C olumn(name  = "VISN_I D")
        49           pr ivate Stri ng visnId;
        50  
        51       @Colum n(name = " FACILITY_P HONE")
        52       privat e String p hone;
        53       
        54       @Colum n(name = " FACILITY_A DDRESS")
        55       privat e String a ddress;
        56       
        57       @Colum n(name = " FACILITY_C ITY")
        58       privat e String c ity;
        59       
        60       @Colum n(name = " FACILITY_S TATE")
        61       privat e String s tate;
        62       
        63       @Colum n(name = " FACILITY_P OSTAL_CODE ")
        64       privat e String p ostalCode;
        65       
        66           pu blic Facil ity() {
        67           }
        68  
        69           pu blic Facil ity(final  Long facil ityId) {
        70                    this .facilityI d = facili tyId;
        71           }
        72  
        73           @O verride
        74           pu blic boole an equals( final Obje ct object)  {
        75                    // T ODO: Warni ng - this  method won 't work in  the case  the id fie lds are
        76                    // n ot set
        77                    if ( !(object i nstanceof  Facility))  {
        78                             return  false;
        79                    }
        80                    fina l Facility  other = ( Facility)  object;
        81                    if ( ((this.fac ilityId ==  null) &&  (other.fac ilityId !=  null))
        82                                      || ((thi s.facility Id != null ) && !this .facilityI d
        83                                                       .e quals(othe r.facility Id))) {
        84                             return  false;
        85                    }
        86                    retu rn true;
        87           }
        88  
        89           pu blic Boole an getAllo wed() {
        90                    retu rn this.al lowed;
        91           }
        92  
        93           pu blic Strin g getFacil ityDns() {
        94                    retu rn this.fa cilityDns;
        95           }
        96  
        97           pu blic Long  getFacilit yId() {
        98                    retu rn this.fa cilityId;
        99           }
        100  
        101           pu blic Strin g getFacil ityName()  {
        102                    retu rn this.fa cilityName ;
        103           }
        104  
        105           pu blic Strin g getFacil ityStation () {
        106                    retu rn this.fa cilityStat ion;
        107           }
        108  
        109           pu blic Strin g getVisnI d() {
        110                    retu rn this.vi snId;
        111           }
        112  
        113           @O verride
        114           pu blic int h ashCode()  {
        115                    int  hash = 0;
        116                    hash  += (this. facilityId  != null ?  this.faci lityId.has hCode() :  0);
        117                    retu rn hash;
        118           }
        119  
        120           pu blic void  setAllowed (final Boo lean allow ed) {
        121                    this .allowed =  allowed;
        122           }
        123  
        124           pu blic void  setFacilit yDns(final  String fa cilityDns)  {
        125                    this .facilityD ns = facil ityDns;
        126           }
        127  
        128           pu blic void  setFacilit yId(final  Long facil ityId) {
        129                    this .facilityI d = facili tyId;
        130           }
        131  
        132           pu blic void  setFacilit yName(fina l String f acilityNam e) {
        133                    this .facilityN ame = faci lityName;
        134           }
        135  
        136           pu blic void  setFacilit yStation(f inal Strin g facility Station) {
        137                    this .facilityS tation = f acilitySta tion;
        138           }
        139  
        140           pu blic void  setVisnId( final Stri ng visnId)  {
        141                    this .visnId =  visnId;
        142           }
        143  
        144       public  String ge tPhone() {
        145           re turn phone ;
        146       }
        147  
        148       public  void setP hone(Strin g phone) {
        149           th is.phone =  phone;
        150       }
        151  
        152       public  String ge tAddress()  {
        153           re turn addre ss;
        154       }
        155  
        156       public  void setA ddress(Str ing addres s) {
        157           th is.address  = address ;
        158       }
        159  
        160       public  String ge tCity() {
        161           re turn city;
        162       }
        163  
        164       public  void setC ity(String  city) {
        165           th is.city =  city;
        166       }
        167  
        168       public  String ge tState() {
        169           re turn state ;
        170       }
        171  
        172       public  void setS tate(Strin g state) {
        173           th is.state =  state;
        174       }
        175  
        176       public  String ge tPostalCod e() {
        177           re turn posta lCode;
        178       }
        179  
        180       public  void setP ostalCode( String pos talCode) {
        181           th is.postalC ode = post alCode;
        182       }
        183  
        184           @O verride
        185           pu blic Strin g toString () {
        186                    retu rn "gov.va .nvap.svc. facility.d ata[facili tyId="
        187                                      + this.f acilityId  + "]";
        188           }
        189  
        190   }