Produced by Araxis Merge on 12/20/2017 5:56:12 PM 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Genisis_2.0_v6_bld6.zip\Source Code\UI\Services\src\main\java\gov\va\genisis2\dto | AttachmentDTO.java | Thu Dec 14 19:57:09 2017 UTC |
| 2 | Genisis_2.0_v6_bld6.zip\Source Code\UI\Services\src\main\java\gov\va\genisis2\dto | AttachmentDTO.java | Wed Dec 20 22:14:43 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 396 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | package go v.va.genis is2.dto; | |
| 2 | ||
| 3 | import jav a.io.Seria lizable; | |
| 4 | import jav a.util.Dat e; | |
| 5 | ||
| 6 | import jav ax.xml.bin d.annotati on.XmlRoot Element; | |
| 7 | ||
| 8 | import com .fasterxml .jackson.a nnotation. JsonInclud e; | |
| 9 | import com .fasterxml .jackson.a nnotation. JsonInclud e.Include; | |
| 10 | ||
| 11 | /** | |
| 12 | * Data Tr ansfer Obj ect (DTO) to transfe r attached file. | |
| 13 | * | |
| 14 | * @author PII | |
| 15 | * | |
| 16 | */ | |
| 17 | @XmlRootEl ement(name = "attach ment") | |
| 18 | @JsonInclu de(Include .NON_NULL) | |
| 19 | // @JsonIg noreProper ties({ "re quest", "w orkflowSta tus", "com mentId", " taskId" }) | |
| 20 | public cla ss Attachm entDTO im plements S erializabl e { | |
| 21 | ||
| 22 | /* * | |
| 23 | * | |
| 24 | * / | |
| 25 | pr ivate stat ic final l ong serial VersionUID = 5440870 4501351931 69L; | |
| 26 | pr ivate int attachment Id; | |
| 27 | pr ivate byte [] fileDat a; | |
| 28 | pr ivate int requestId; | |
| 29 | pr ivate Stri ng status; | |
| 30 | pr ivate Stri ng name; | |
| 31 | pr ivate Stri ng type; | |
| 32 | pr ivate Stri ng descrip tion; | |
| 33 | pr ivate Stri ng url; | |
| 34 | pr ivate Stri ng created By; | |
| 35 | pr ivate Date createdOn ; | |
| 36 | pr ivate Stri ng taskId; | |
| 37 | ||
| 38 | /* * | |
| 39 | * @return t he taskId | |
| 40 | * / | |
| 41 | pu blic Strin g getTaskI d() { | |
| 42 | retu rn taskId; | |
| 43 | } | |
| 44 | ||
| 45 | /* * | |
| 46 | * @param ta skId the t askId to s et | |
| 47 | * / | |
| 48 | pu blic void setTaskId( String tas kId) { | |
| 49 | this .taskId = taskId; | |
| 50 | } | |
| 51 | ||
| 52 | /* * | |
| 53 | * @return t he attachm entId | |
| 54 | * / | |
| 55 | pu blic int g etAttachme ntId() { | |
| 56 | retu rn attachm entId; | |
| 57 | } | |
| 58 | ||
| 59 | /* * | |
| 60 | * @param at tachmentId | |
| 61 | * the atta chmentId t o set | |
| 62 | * / | |
| 63 | pu blic void setAttachm entId(int attachment Id) { | |
| 64 | this .attachmen tId = atta chmentId; | |
| 65 | } | |
| 66 | ||
| 67 | /* * | |
| 68 | * @return t he fileDat a | |
| 69 | * / | |
| 70 | pu blic byte[ ] getFileD ata() { | |
| 71 | retu rn fileDat a; | |
| 72 | } | |
| 73 | ||
| 74 | /* * | |
| 75 | * @param fi leData the fileData to set | |
| 76 | * / | |
| 77 | pu blic void setFileDat a(byte[] f ileData) { | |
| 78 | this .fileData = fileData ; | |
| 79 | } | |
| 80 | /* * | |
| 81 | * @return t he request Id | |
| 82 | * / | |
| 83 | pu blic int g etRequestI d() { | |
| 84 | retu rn request Id; | |
| 85 | } | |
| 86 | ||
| 87 | /* * | |
| 88 | * @param re questId | |
| 89 | * the requ estId to s et | |
| 90 | * / | |
| 91 | pu blic void setRequest Id(int req uestId) { | |
| 92 | this .requestId = request Id; | |
| 93 | } | |
| 94 | ||
| 95 | /* * | |
| 96 | * @return t he status | |
| 97 | * / | |
| 98 | pu blic Strin g getStatu s() { | |
| 99 | retu rn status; | |
| 100 | } | |
| 101 | ||
| 102 | /* * | |
| 103 | * @param st atus | |
| 104 | * the stat us to set | |
| 105 | * / | |
| 106 | pu blic void setStatus( String sta tus) { | |
| 107 | this .status = status; | |
| 108 | } | |
| 109 | ||
| 110 | /* * | |
| 111 | * @return t he name | |
| 112 | * / | |
| 113 | pu blic Strin g getName( ) { | |
| 114 | retu rn name; | |
| 115 | } | |
| 116 | ||
| 117 | /* * | |
| 118 | * @param na me | |
| 119 | * the name to set | |
| 120 | * / | |
| 121 | pu blic void setName(St ring name) { | |
| 122 | this .name = na me; | |
| 123 | } | |
| 124 | ||
| 125 | /* * | |
| 126 | * @return t he type | |
| 127 | * / | |
| 128 | pu blic Strin g getType( ) { | |
| 129 | retu rn type; | |
| 130 | } | |
| 131 | ||
| 132 | /* * | |
| 133 | * @param ty pe | |
| 134 | * the type to set | |
| 135 | * / | |
| 136 | pu blic void setType(St ring type) { | |
| 137 | this .type = ty pe; | |
| 138 | } | |
| 139 | ||
| 140 | /* * | |
| 141 | * @return t he descrip tion | |
| 142 | * / | |
| 143 | pu blic Strin g getDescr iption() { | |
| 144 | retu rn descrip tion; | |
| 145 | } | |
| 146 | ||
| 147 | /* * | |
| 148 | * @param de scription | |
| 149 | * the desc ription to set | |
| 150 | * / | |
| 151 | pu blic void setDescrip tion(Strin g descript ion) { | |
| 152 | this .descripti on = descr iption; | |
| 153 | } | |
| 154 | ||
| 155 | /* * | |
| 156 | * @return t he url | |
| 157 | * / | |
| 158 | pu blic Strin g getUrl() { | |
| 159 | retu rn url; | |
| 160 | } | |
| 161 | ||
| 162 | /* * | |
| 163 | * @param ur l | |
| 164 | * the url to set | |
| 165 | * / | |
| 166 | pu blic void setUrl(Str ing url) { | |
| 167 | this .url = url ; | |
| 168 | } | |
| 169 | ||
| 170 | /* * | |
| 171 | * @return t he created By | |
| 172 | * / | |
| 173 | pu blic Strin g getCreat edBy() { | |
| 174 | retu rn created By; | |
| 175 | } | |
| 176 | ||
| 177 | /* * | |
| 178 | * @param cr eatedBy | |
| 179 | * the crea tedBy to s et | |
| 180 | * / | |
| 181 | pu blic void setCreated By(String createdBy) { | |
| 182 | this .createdBy = created By; | |
| 183 | } | |
| 184 | ||
| 185 | /* * | |
| 186 | * @return t he created On | |
| 187 | * / | |
| 188 | pu blic Date getCreated On() { | |
| 189 | retu rn created On; | |
| 190 | } | |
| 191 | ||
| 192 | /* * | |
| 193 | * @param cr eatedOn | |
| 194 | * the crea tedOn to s et | |
| 195 | * / | |
| 196 | pu blic void setCreated On(Date cr eatedOn) { | |
| 197 | this .createdOn = created On; | |
| 198 | } | |
| 199 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.