4159. EPMO Open Source Coordination Office Redaction File Detail Report

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

4159.1 Files compared

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

4159.2 Comparison summary

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

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

4159.4 Active regular expressions

No regular expressions were active.

4159.5 Comparison detail

        1   package go v.va.nvap. svc.consen tmgmt.stub .data;
        2  
        3   import jav a.io.Seria lizable;
        4   import jav a.util.Col lection;
        5   import jav ax.persist ence.Basic ;
        6   import jav ax.persist ence.Casca deType;
        7   import jav ax.persist ence.Colum n;
        8   import jav ax.persist ence.Entit y;
        9   import jav ax.persist ence.Gener atedValue;
        10   import jav ax.persist ence.Gener ationType;
        11   import jav ax.persist ence.Id;
        12   import jav ax.persist ence.OneTo Many;
        13   import jav ax.persist ence.Table ;
        14  
        15   /**
        16    *
        17    * @since  06/02/2016
        18    * @author  Johann So nnenberg
        19    */
        20   @Entity
        21   @Table(nam e = "LETTE R_TYPE")
        22   public cla ss LetterT ype implem ents Seria lizable {
        23  
        24       privat e static f inal long  serialVers ionUID = 1 L;
        25  
        26       @Id
        27       @Gener atedValue( strategy =  Generatio nType.AUTO )
        28       @Colum n(name = " LETTER_TYP E_ID")
        29       privat e Long let terTypeId;
        30  
        31       @Basic (optional  = false)
        32       @Colum n(name = " NAME")
        33       privat e String n ame;
        34  
        35       @OneTo Many(casca de = Casca deType.ALL , mappedBy  = "Letter Type")
        36       privat e Collecti on<MailTem plate> mai lTemplateC ollection;
        37       
        38       public  Long getL etterTypeI d() {
        39           re turn lette rTypeId;
        40       }
        41  
        42       public  void setL etterTypeI d(Long let terTypeId)  {
        43           th is.letterT ypeId = le tterTypeId ;
        44       }
        45       
        46       public  Collectio n<MailTemp late> getM ailTemplat eCollectio n() {
        47           re turn this. mailTempla teCollecti on;
        48       }
        49  
        50       public  void setM ailTemplat eCollectio n(Collecti on<MailTem plate> mai lTemplateC ollection)  {
        51           th is.mailTem plateColle ction = ma ilTemplate Collection ;
        52       }
        53       
        54       public  String ge tName() {
        55           re turn name;
        56       }
        57  
        58       public  void setN ame(String  name) {
        59           th is.name =  name;
        60       }
        61       
        62       @Overr ide
        63       public  int hashC ode() {
        64           in t hash = 0 ;
        65           ha sh += (let terTypeId  != null ?  letterType Id.hashCod e() : 0);
        66           re turn hash;
        67       }
        68  
        69       @Overr ide
        70       public  boolean e quals(Obje ct object)  {
        71           //  TODO: War ning - thi s method w on't work  in the cas e the lett erTypeId f ields are  not set
        72           if  (!(object  instanceo f LetterTy pe)) {
        73                return f alse;
        74           }
        75           Le tterType o ther = (Le tterType)  object;
        76           if  ((this.le tterTypeId  == null & & other.le tterTypeId  != null)  || (this.l etterTypeI d != null  && !this.l etterTypeI d.equals(o ther.lette rTypeId)))  {
        77                return f alse;
        78           }
        79           re turn true;
        80       }
        81  
        82       @Overr ide
        83       public  String to String() {
        84           re turn "gov. va.nvap.sv c.consentm gmt.stub.d ata.Letter Type[ id="  + letterT ypeId + "  ]";
        85       }
        86  
        87   }