4000. EPMO Open Source Coordination Office Redaction File Detail Report

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

4000.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:51:11 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-server\src\test\java\gov\va\nvap\server\test\endpoint\adapter Document.java Fri Apr 21 20:03:28 2017 UTC

4000.2 Comparison summary

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

4000.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

4000.4 Active regular expressions

No regular expressions were active.

4000.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   package go v.va.nvap. server.tes t.endpoint .adapter;
        6  
        7   import jav a.io.Seria lizable;
        8   import jav a.util.Dat e;
        9  
        10   import jav ax.persist ence.Basic ;
        11   import jav ax.persist ence.Colum n;
        12   import jav ax.persist ence.Fetch Type;
        13   import jav ax.persist ence.Gener atedValue;
        14   import jav ax.persist ence.Gener ationType;
        15   import jav ax.persist ence.Id;
        16   import jav ax.persist ence.Lob;
        17   import jav ax.persist ence.Tempo ral;
        18   import jav ax.persist ence.Tempo ralType;
        19  
        20   public cla ss Documen t implemen ts Seriali zable {
        21           /* *
        22            *
        23            * /
        24           pr ivate stat ic final l ong serial VersionUID  = 3536047 6959101921 99L;
        25           @I d
        26           @B asic(optio nal = fals e)
        27           @C olumn(name  = "DOCUME NT_ID")
        28           @G eneratedVa lue(strate gy = Gener ationType. SEQUENCE,  generator  = "documen tIdGenerat or")
        29           pr ivate Long  documentI d;
        30           @B asic(optio nal = true )
        31           @C olumn(name  = "DOCUME NT_UNIQUE_ ID")
        32           pr ivate Stri ng documen tUniqueId;
        33           @B asic(optio nal = true )
        34           @C olumn(name  = "CLASS_ CODE")
        35           pr ivate Stri ng classCo de;
        36           @B asic(optio nal = true )
        37           @C olumn(name  = "CLASS_ CODE_SCHEM E")
        38           pr ivate Stri ng classCo deScheme;
        39           @B asic(optio nal = true )
        40           @C olumn(name  = "CLASS_ CODE_DISPL AY_NAME")
        41           pr ivate Stri ng classCo deDisplayN ame;
        42           @B asic(optio nal = true )
        43           @C olumn(name  = "PATIEN T_ID")
        44           pr ivate Stri ng patient Id;
        45           @B asic(optio nal = true )
        46           @C olumn(name  = "TITLE" )
        47           pr ivate Stri ng title;
        48           @B asic(optio nal = true )
        49           @C olumn(name  = "CREATI ON_TIME")
        50           @T emporal(Te mporalType .TIMESTAMP )
        51           pr ivate Date  creationT ime;
        52           @B asic(optio nal = true )
        53           @C olumn(name  = "BEGIN_ DATE")
        54           @T emporal(Te mporalType .TIMESTAMP )
        55           pr ivate Date  beginDate ;
        56           @B asic(optio nal = true )
        57           @C olumn(name  = "END_DA TE")
        58           @T emporal(Te mporalType .TIMESTAMP )
        59           pr ivate Date  endDate;
        60           @B asic(optio nal = true )
        61           @C olumn(name  = "MIME_T YPE")
        62           pr ivate Stri ng mimeTyp e;
        63           @B asic(optio nal = true , fetch =  FetchType. EAGER)
        64           @L ob
        65           @C olumn(name  = "RAW_DA TA")
        66           pr ivate byte [] rawData ;
        67           @B asic(optio nal = true )
        68           @C olumn(name  = "RAW_DA TA_SIZE")
        69           pr ivate Inte ger size;
        70           @B asic(optio nal = true )
        71           @C olumn(name  = "RAW_DA TA_HASH")
        72           pr ivate Stri ng hash;
        73           @B asic(optio nal = true )
        74           @C olumn(name  = "LAST_A CCESSED_TI ME")
        75           @T emporal(Te mporalType .TIMESTAMP )
        76           pr ivate Date  lastAcces sedTime;
        77  
        78           pu blic Docum ent() {
        79           }
        80  
        81           @O verride
        82           pu blic boole an equals( final Obje ct obj) {
        83                    if ( !(obj inst anceof Doc ument)) {
        84                             return  false;
        85                    }
        86                    fina l Document  doc = (Do cument) ob j;
        87                    if ( (this != d oc)
        88                                      && ((thi s.document Id == null ) || (doc. documentId  == null)  || !this.d ocumentId
        89                                                       .e quals(doc. documentId ))) {
        90                             return  false;
        91                    }
        92                    retu rn true;
        93           }
        94  
        95           pu blic Date  getBeginDa te() {
        96                    retu rn this.be ginDate;
        97           }
        98  
        99           pu blic Strin g getClass Code() {
        100                    retu rn this.cl assCode;
        101           }
        102  
        103           pu blic Strin g getClass CodeDispla yName() {
        104                    retu rn this.cl assCodeDis playName;
        105           }
        106  
        107           pu blic Strin g getClass CodeScheme () {
        108                    retu rn this.cl assCodeSch eme;
        109           }
        110  
        111           pu blic Date  getCreatio nTime() {
        112                    retu rn this.cr eationTime ;
        113           }
        114  
        115           pu blic Long  getDocumen tId() {
        116                    retu rn this.do cumentId;
        117           }
        118  
        119           pu blic Strin g getDocum entUniqueI d() {
        120                    retu rn this.do cumentUniq ueId;
        121           }
        122  
        123           pu blic Date  getEndDate () {
        124                    retu rn this.en dDate;
        125           }
        126  
        127           pu blic Strin g getHash( ) {
        128                    retu rn this.ha sh;
        129           }
        130  
        131           pu blic Date  getLastAcc essedTime( ) {
        132                    retu rn this.la stAccessed Time;
        133           }
        134  
        135           pu blic Strin g getMimeT ype() {
        136                    retu rn this.mi meType;
        137           }
        138  
        139           pu blic Strin g getPatie ntId() {
        140                    retu rn this.pa tientId;
        141           }
        142  
        143           pu blic byte[ ] getRawDa ta() {
        144                    retu rn this.ra wData;
        145           }
        146  
        147           pu blic Integ er getSize () {
        148                    retu rn this.si ze;
        149           }
        150  
        151           pu blic Strin g getTitle () {
        152                    retu rn this.ti tle;
        153           }
        154  
        155           @O verride
        156           pu blic int h ashCode()  {
        157                    int  ret = 0;
        158                    ret  += (this.d ocumentId  != null ?  this.docum entId.hash Code() : 0 );
        159                    retu rn ret;
        160           }
        161  
        162           pu blic void  setBeginDa te(final D ate beginD ate) {
        163                    this .beginDate  = beginDa te;
        164           }
        165  
        166           pu blic void  setClassCo de(final S tring clas sCode) {
        167                    this .classCode  = classCo de;
        168           }
        169  
        170           pu blic void  setClassCo deDisplayN ame(final  String cla ssCodeDisp layName) {
        171                    this .classCode DisplayNam e = classC odeDisplay Name;
        172           }
        173  
        174           pu blic void  setClassCo deScheme(f inal Strin g classCod eScheme) {
        175                    this .classCode Scheme = c lassCodeSc heme;
        176           }
        177  
        178           pu blic void  setCreatio nTime(fina l Date cre ationTime)  {
        179                    this .creationT ime = crea tionTime;
        180           }
        181  
        182           pu blic void  setDocumen tId(final  Long docum entId) {
        183                    this .documentI d = docume ntId;
        184           }
        185  
        186           pu blic void  setDocumen tUniqueId( final Stri ng documen tUniqueId)  {
        187                    this .documentU niqueId =  documentUn iqueId;
        188           }
        189  
        190           pu blic void  setEndDate (final Dat e endDate)  {
        191                    this .endDate =  endDate;
        192           }
        193  
        194           pu blic void  setHash(fi nal String  hash) {
        195                    this .hash = ha sh;
        196           }
        197  
        198           pu blic void  setLastAcc essedTime( final Date  lastAcces sedTime) {
        199                    this .lastAcces sedTime =  lastAccess edTime;
        200           }
        201  
        202           pu blic void  setMimeTyp e(final St ring mimeT ype) {
        203                    this .mimeType  = mimeType ;
        204           }
        205  
        206           pu blic void  setPatient Id(final S tring pati entId) {
        207                    this .patientId  = patient Id;
        208           }
        209  
        210           pu blic void  setRawData (final byt e[] rawDat a) {
        211                    this .rawData =  rawData;
        212           }
        213  
        214           pu blic void  setSize(fi nal Intege r size) {
        215                    this .size = si ze;
        216           }
        217  
        218           pu blic void  setTitle(f inal Strin g title) {
        219                    this .title = t itle;
        220           }
        221   }