4. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/8/2017 1:33:39 PM Central Standard 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.

4.1 Files compared

# Location File Last Modified
1 PC_CP4_CiF.zip\FPPS_Backend\fpps_app\src\main\java\gov\va\med\fee\model\request PrivacyRestrictionRequest.java Fri Dec 8 17:53:52 2017 UTC
2 PC_CP4_CiF.zip\FPPS_Backend\fpps_app\src\main\java\gov\va\med\fee\model\request PrivacyRestrictionRequest.java Fri Dec 8 18:28:51 2017 UTC

4.2 Comparison summary

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

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

4.4 Active regular expressions

No regular expressions were active.

4.5 Comparison detail

  1   package go v.va.med.f ee.model.r equest;
  2  
  3   import jav ax.validat ion.constr aints.NotN ull;
  4   import jav ax.validat ion.constr aints.Size ;
  5  
  6   import gov .va.med.do main.fee.A ppUser;
  7  
  8   /**
  9    * 
  10    * @author   DN S      YIBRIK
  11    * yibrie. kedir@gmai l.com
  12    *
  13    */
  14   public cla ss Privacy Restrictio nRequest {
  15  
  16           @N otNull
  17           pr ivate AppU ser appuse r;
  18           @N otNull
  19           pr ivate Stri ng ntName;
  20           @N otNull
  21       @Size( min=1, max =200, mess age="Reaso n  Max len gth is 200 ")
  22           pr ivate Stri ng reason;
  23           @N otNull
  24           pr ivate Stri ng ssn;
  25           @N otNull
  26           pr ivate Stri ng type;
  27           
  28           /* *
  29            *  Construct or using a ll fields 
  30            *  @param ap puser
  31            *  @param nt Name
  32            *  @param re ason
  33            *  @param ss n
  34            *  @param ty pe
  35            * /
  36           pu blic Priva cyRestrict ionRequest (AppUser a ppuser, St ring ntNam e, String  reason, St ring ssn,  String typ e) {
  37  
  38                    this .appuser =  appuser;
  39                    this .ntName =  ntName;
  40                    this .reason =  reason;
  41                    this .ssn = ssn ;
  42                    this .type = ty pe;
  43           }
  44            
  45           /* *
  46            *  default c onstructor  
  47            * /
  48           pu blic Priva cyRestrict ionRequest (){}
  49  
  50           
  51           /* *
  52            *  getter an d setters  for all fi elds -- au to generat ed 
  53            * /
  54           
  55           pu blic AppUs er getAppu ser() {
  56                    retu rn appuser ;
  57           }
  58  
  59           pu blic void  setAppuser (AppUser a ppuser) {
  60                    this .appuser =  appuser;
  61           }
  62  
  63           pu blic Strin g getNtNam e() {
  64                    retu rn ntName;
  65           }
  66  
  67           pu blic void  setNtName( String ntN ame) {
  68                    this .ntName =  ntName;
  69           }
  70  
  71           pu blic Strin g getReaso n() {
  72                    retu rn reason;
  73           }
  74  
  75           pu blic void  setReason( String rea son) {
  76                    this .reason =  reason;
  77           }
  78  
  79           pu blic Strin g getSsn()  {
  80                    retu rn ssn;
  81           }
  82  
  83           pu blic void  setSsn(Str ing ssn) {
  84                    this .ssn = ssn ;
  85           }
  86  
  87           pu blic Strin g getType( ) {
  88                    retu rn type;
  89           }
  90  
  91           pu blic void  setType(St ring type)  {
  92                    this .type = ty pe;
  93           }
  94  
  95           
  96           
  97           @O verride
  98           pu blic int h ashCode()  {
  99                    fina l int prim e = 31;
  100                    int  result = 1 ;
  101                    resu lt = prime  * result  + ((appuse r == null)  ? 0 : app user.hashC ode());
  102                    resu lt = prime  * result  + ((ntName  == null)  ? 0 : ntNa me.hashCod e());
  103                    resu lt = prime  * result  + ((reason  == null)  ? 0 : reas on.hashCod e());
  104                    resu lt = prime  * result  + ((ssn ==  null) ? 0  : ssn.has hCode());
  105                    resu lt = prime  * result  + ((type = = null) ?  0 : type.h ashCode()) ;
  106                    retu rn result;
  107           }
  108  
  109           
  110           @O verride
  111           pu blic boole an equals( Object obj ) {
  112                    if ( this == ob j)
  113                             return  true;
  114                    if ( obj == nul l)
  115                             return  false;
  116                    if ( getClass()  != obj.ge tClass())
  117                             return  false;
  118                    Priv acyRestric tionReques t other =  (PrivacyRe strictionR equest) ob j;
  119                    if ( appuser ==  null) {
  120                             if (ot her.appuse r != null)
  121                                      return f alse;
  122                    } el se if (!ap puser.equa ls(other.a ppuser))
  123                             return  false;
  124                    if ( ntName ==  null) {
  125                             if (ot her.ntName  != null)
  126                                      return f alse;
  127                    } el se if (!nt Name.equal s(other.nt Name))
  128                             return  false;
  129                    if ( reason ==  null) {
  130                             if (ot her.reason  != null)
  131                                      return f alse;
  132                    } el se if (!re ason.equal s(other.re ason))
  133                             return  false;
  134                    if ( ssn == nul l) {
  135                             if (ot her.ssn !=  null)
  136                                      return f alse;
  137                    } el se if (!ss n.equals(o ther.ssn))
  138                             return  false;
  139                    if ( type == nu ll) {
  140                             if (ot her.type ! = null)
  141                                      return f alse;
  142                    } el se if (!ty pe.equals( other.type ))
  143                             return  false;
  144                    retu rn true;
  145           }
  146  
  147           @O verride
  148           pu blic Strin g toString () {
  149                    retu rn "Privac yRestricti on [appuse r=" + appu ser.getUse rName() +  ", ntName= " + ntName  + ", reas on=" + rea son + ", s sn=" + ssn
  150                                      + ", typ e=" + type  + "]";
  151           }
  152           
  153           
  154           
  155   }