Produced by Araxis Merge on 11/14/2017 6:57:20 AM 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\model\fps | PSRecord.java | Thu Nov 9 14:19:52 2017 UTC |
| 2 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\model\fps | PSRecord.java | Tue Nov 14 12:26:53 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 114 |
| 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.cpss. model.fps; | |
| 2 | ||
| 3 | import jav a.util.Has hMap; | |
| 4 | import jav a.util.Map ; | |
| 5 | ||
| 6 | /** | |
| 7 | * Base ba se class f or the rec ords relat ing to the Process F PS Data ta bles. | |
| 8 | * | |
| 9 | * @author DN S BROWNL | |
| 10 | */ | |
| 11 | public cla ss PSRecor d { | |
| 12 | ||
| 13 | pu blic enum DataType { | |
| 14 | UNDE FINED("Und efined"), PS("PS"), PH("PH"), PD("PD"), P1("P1"), PV("PV"); | |
| 15 | ||
| 16 | priv ate static final Map <String, D ataType> L OOKUP = ne w HashMap< >(); | |
| 17 | ||
| 18 | priv ate String name; | |
| 19 | ||
| 20 | publ ic String getName() { | |
| 21 | return name; | |
| 22 | } | |
| 23 | ||
| 24 | priv ate DataTy pe(String name) { | |
| 25 | this.n ame = name ; | |
| 26 | } | |
| 27 | ||
| 28 | publ ic static DataType l ookupByNam e(String n ame) { | |
| 29 | return LOOKUP.ge t(name); | |
| 30 | } | |
| 31 | ||
| 32 | stat ic { | |
| 33 | for (D ataType t : DataType .values()) { | |
| 34 | LOOKUP.p ut(t.getNa me(), t); | |
| 35 | } | |
| 36 | } | |
| 37 | } | |
| 38 | ||
| 39 | pr otected Da taType typ e; | |
| 40 | ||
| 41 | pu blic DataT ype getTyp e() { | |
| 42 | retu rn type; | |
| 43 | } | |
| 44 | ||
| 45 | pu blic void setType(Da taType typ e) { | |
| 46 | this .type = ty pe; | |
| 47 | } | |
| 48 | ||
| 49 | /* * | |
| 50 | * Returns a n empty St ring. Used by Format ter to inj ect Filler fields in to | |
| 51 | * fixed len gth record s. | |
| 52 | * | |
| 53 | * @return E mpty Strin g | |
| 54 | * / | |
| 55 | pu blic Strin g getFille r() { | |
| 56 | retu rn ""; | |
| 57 | } | |
| 58 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.