3795. EPMO Open Source Coordination Office Redaction File Detail Report

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

3795.1 Files compared

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

3795.2 Comparison summary

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

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

3795.4 Active regular expressions

No regular expressions were active.

3795.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. mock.endpo int.adapte r;
        6  
        7   import jav a.io.Seria lizable;
        8   import jav a.util.Dat e;
        9  
        10   public cla ss Documen t implemen ts Seriali zable {
        11           /* *
        12            *  
        13            * /
        14           pr ivate stat ic final l ong serial VersionUID  = 3536047 6959101921 99L;
        15           pr ivate Date  beginDate ;
        16           pr ivate Stri ng classCo de;
        17           pr ivate Stri ng classCo deDisplayN ame;
        18           pr ivate Stri ng classCo deScheme;
        19           pr ivate Date  creationT ime;
        20           pr ivate Long  documentI d;
        21           pr ivate Stri ng documen tUniqueId;
        22           pr ivate Date  endDate;
        23           pr ivate Stri ng hash;
        24           pr ivate Date  lastAcces sedTime;
        25           pr ivate Stri ng mimeTyp e;
        26           pr ivate Stri ng patient Id;
        27           pr ivate byte [] rawData ;
        28           pr ivate Inte ger size;
        29           pr ivate Stri ng title;
        30  
        31           pu blic Docum ent() {
        32           }
        33  
        34           @O verride
        35           pu blic boole an equals( final Obje ct obj) {
        36                    if ( !(obj inst anceof Doc ument)) {
        37                             return  false;
        38                    }
        39                    fina l Document  doc = (Do cument) ob j;
        40                    if ( (this != d oc)
        41                                      && ((thi s.document Id == null ) || (doc. documentId  == null)  || !this.d ocumentId
        42                                                       .e quals(doc. documentId ))) {
        43                             return  false;
        44                    }
        45                    retu rn true;
        46           }
        47  
        48           pu blic Date  getBeginDa te() {
        49                    retu rn this.be ginDate;
        50           }
        51  
        52           pu blic Strin g getClass Code() {
        53                    retu rn this.cl assCode;
        54           }
        55  
        56           pu blic Strin g getClass CodeDispla yName() {
        57                    retu rn this.cl assCodeDis playName;
        58           }
        59  
        60           pu blic Strin g getClass CodeScheme () {
        61                    retu rn this.cl assCodeSch eme;
        62           }
        63  
        64           pu blic Date  getCreatio nTime() {
        65                    retu rn this.cr eationTime ;
        66           }
        67  
        68           pu blic Long  getDocumen tId() {
        69                    retu rn this.do cumentId;
        70           }
        71  
        72           pu blic Strin g getDocum entUniqueI d() {
        73                    retu rn this.do cumentUniq ueId;
        74           }
        75  
        76           pu blic Date  getEndDate () {
        77                    retu rn this.en dDate;
        78           }
        79  
        80           pu blic Strin g getHash( ) {
        81                    retu rn this.ha sh;
        82           }
        83  
        84           pu blic Date  getLastAcc essedTime( ) {
        85                    retu rn this.la stAccessed Time;
        86           }
        87  
        88           pu blic Strin g getMimeT ype() {
        89                    retu rn this.mi meType;
        90           }
        91  
        92           pu blic Strin g getPatie ntId() {
        93                    retu rn this.pa tientId;
        94           }
        95  
        96           pu blic byte[ ] getRawDa ta() {
        97                    retu rn this.ra wData;
        98           }
        99  
        100           pu blic Integ er getSize () {
        101                    retu rn this.si ze;
        102           }
        103  
        104           pu blic Strin g getTitle () {
        105                    retu rn this.ti tle;
        106           }
        107  
        108           @O verride
        109           pu blic int h ashCode()  {
        110                    int  ret = 0;
        111                    ret  += (this.d ocumentId  != null ?  this.docum entId.hash Code() : 0 );
        112                    retu rn ret;
        113           }
        114  
        115           pu blic void  setBeginDa te(final D ate beginD ate) {
        116                    this .beginDate  = beginDa te;
        117           }
        118  
        119           pu blic void  setClassCo de(final S tring clas sCode) {
        120                    this .classCode  = classCo de;
        121           }
        122  
        123           pu blic void  setClassCo deDisplayN ame(final  String cla ssCodeDisp layName) {
        124                    this .classCode DisplayNam e = classC odeDisplay Name;
        125           }
        126  
        127           pu blic void  setClassCo deScheme(f inal Strin g classCod eScheme) {
        128                    this .classCode Scheme = c lassCodeSc heme;
        129           }
        130  
        131           pu blic void  setCreatio nTime(fina l Date cre ationTime)  {
        132                    this .creationT ime = crea tionTime;
        133           }
        134  
        135           pu blic void  setDocumen tId(final  Long docum entId) {
        136                    this .documentI d = docume ntId;
        137           }
        138  
        139           pu blic void  setDocumen tUniqueId( final Stri ng documen tUniqueId)  {
        140                    this .documentU niqueId =  documentUn iqueId;
        141           }
        142  
        143           pu blic void  setEndDate (final Dat e endDate)  {
        144                    this .endDate =  endDate;
        145           }
        146  
        147           pu blic void  setHash(fi nal String  hash) {
        148                    this .hash = ha sh;
        149           }
        150  
        151           pu blic void  setLastAcc essedTime( final Date  lastAcces sedTime) {
        152                    this .lastAcces sedTime =  lastAccess edTime;
        153           }
        154  
        155           pu blic void  setMimeTyp e(final St ring mimeT ype) {
        156                    this .mimeType  = mimeType ;
        157           }
        158  
        159           pu blic void  setPatient Id(final S tring pati entId) {
        160                    this .patientId  = patient Id;
        161           }
        162  
        163           pu blic void  setRawData (final byt e[] rawDat a) {
        164                    this .rawData =  rawData;
        165           }
        166  
        167           pu blic void  setSize(fi nal Intege r size) {
        168                    this .size = si ze;
        169           }
        170  
        171           pu blic void  setTitle(f inal Strin g title) {
        172                    this .title = t itle;
        173           }
        174   }