291. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/13/2018 10:35:27 AM Eastern 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.

291.1 Files compared

# Location File Last Modified
1 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\model AuditInfo.java Fri Dec 7 17:36:20 2018 UTC
2 v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\model AuditInfo.java Wed Dec 12 22:26:42 2018 UTC

291.2 Comparison summary

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

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

291.4 Active regular expressions

No regular expressions were active.

291.5 Comparison detail

  1   /********* ********** ********** ********** ********** ********** *********
  2    * Copyrii ght 2006 V HA. All ri ghts reser ved
  3    ********* ********** ********** ********** ********** ********** *********/
  4  
  5   package go v.va.med.f w.model;
  6  
  7   import jav a.sql.Time stamp;
  8  
  9   import jav ax.xml.bin d.annotati on.XmlAcce ssType;
  10   import jav ax.xml.bin d.annotati on.XmlAcce ssorType;
  11   import jav ax.xml.bin d.annotati on.XmlTran sient;
  12  
  13   import org .apache.co mmons.lang .builder.T oStringBui lder;
  14  
  15   import gov .va.med.fw .security. UserCreden tials;
  16   import gov .va.med.fw .security. UserPrinci pal;
  17  
  18   /**
  19    * Contain s summary  info about  an audit  event to a n Abstract Entity.
  20    * 
  21    * Created  Jan 24, 2 007 1:58:3 7 PM
  22    * 
  23    * DNS
  24    */
  25   @XmlAccess orType(Xml AccessType .FIELD)
  26   public cla ss AuditIn fo extends  AbstractE ntity {
  27  
  28           pr ivate stat ic final l ong serial VersionUID  = 8255942 7347546350 24L;
  29           @X mlTransien t
  30           pr ivate Enti tyKey enti tyKey;
  31           @X mlTransien t
  32           pr ivate Time stamp chan geDate;
  33           pr ivate Stri ng changeU ser;
  34           pr ivate Stri ng status;
  35  
  36           pu blic Audit Info() {
  37                    supe r();
  38           }
  39  
  40           pu blic Audit Info(Strin g changeUs er) {
  41                    supe r();
  42                    this .changeUse r = change User;
  43           }
  44  
  45           pu blic Audit Info(UserP rincipal u serPrincip al) {
  46                    supe r();
  47                    if ( userPrinci pal != nul l && userP rincipal.g etUserCred entials()  != null) {
  48                             UserCr edentials  cred = use rPrincipal .getUserCr edentials( );
  49                             this.c hangeUser  = cred.get LogicalID( ) != null  ? cred.get LogicalID( ) : cred.g etUserID() ;
  50                    }
  51           }
  52  
  53           /*
  54            *  (non-Java doc)
  55            *  
  56            *  @see
  57            *  gov.va.me d.fw.model .AbstractE ntity#buil dToString( org.apache .commons.l ang
  58            *  .builder. ToStringBu ilder)
  59            * /
  60           pr otected vo id buildTo String(ToS tringBuild er builder ) {
  61                    buil der.append ("entityKe y", entity Key);
  62                    buil der.append ("changeDa te", chang eDate);
  63                    buil der.append ("changeUs er", chang eUser);
  64                    buil der.append ("status",  status);
  65           }
  66  
  67           /* *
  68            *  @return R eturns the  changeDat e.
  69            * /
  70           pu blic Times tamp getCh angeDate()  {
  71                    retu rn changeD ate;
  72           }
  73  
  74           /* *
  75            *  @param ch angeDate
  76            *              The chan geDate to  set.
  77            * /
  78           pu blic void  setChangeD ate(Timest amp change Date) {
  79                    this .changeDat e = change Date;
  80           }
  81  
  82           /* *
  83            *  @return R eturns the  changeUse r.
  84            * /
  85           pu blic Strin g getChang eUser() {
  86                    retu rn changeU ser;
  87           }
  88  
  89           /* *
  90            *  @param ch angeUser
  91            *              The chan geUser to  set.
  92            * /
  93           pu blic void  setChangeU ser(String  changeUse r) {
  94                    this .changeUse r = change User;
  95           }
  96  
  97           /* *
  98            *  @return R eturns the  status.
  99            * /
  100           pu blic Strin g getStatu s() {
  101                    retu rn status;
  102           }
  103  
  104           /* *
  105            *  @param st atus
  106            *              The stat us to set.
  107            * /
  108           pu blic void  setStatus( String sta tus) {
  109                    this .status =  status;
  110           }
  111  
  112           /* *
  113            *  @return t he entityK ey
  114            * /
  115           pu blic Entit yKey getEn tityKey()  {
  116                    retu rn entityK ey;
  117           }
  118  
  119           /* *
  120            *  @param en tityKey
  121            *              the enti tyKey to s et
  122            * /
  123           pu blic void  setEntityK ey(EntityK ey entityK ey) {
  124                    this .entityKey  = entityK ey;
  125           }
  126   }