Produced by Araxis Merge on 7/10/2017 1:01:45 PM Central 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\MIXCommon\main\src\java\gov\va\med\imaging\mix\webservices\rest\types\v1 | ErrorResultType.java | Thu Jun 29 17:22:01 2017 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\MIXCommon\main\src\java\gov\va\med\imaging\mix\webservices\rest\types\v1 | ErrorResultType.java | Thu Jul 6 15:04:00 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 6 | 440 |
| Changed | 5 | 14 |
| 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 | /** | |
| 2 | * ErrorRe sultType.j ava | |
| 3 | * | |
| 4 | * This fi le was aut o-generate d from WSD L | |
| 5 | * by the Apache Axi s 1.4 Apr 22, 2006 ( 06:55:48 P DT) WSDL2J ava emitte r. | |
| 6 | */ | |
| 7 | ||
| 8 | package go v.va.med.i maging.mix .webservic es.rest.ty pes.v1; | |
| 9 | ||
| 10 | public cla ss ErrorRe sultType implements java.io.S erializabl e { | |
| 11 | privat e java.lan g.String c odeContext ; | |
| 12 | ||
| 13 | privat e gov.va.m ed.imaging .mix.webse rvices.res t.types.v1 .SeverityT ype severi ty; | |
| 14 | ||
| 15 | privat e java.lan g.String l ocation; | |
| 16 | ||
| 17 | privat e gov.va.m ed.imaging .mix.webse rvices.res t.types.v1 .ErrorCode Type error Code; | |
| 18 | ||
| 19 | public ErrorResu ltType() { | |
| 20 | } | |
| 21 | ||
| 22 | public ErrorResu ltType( | |
| 23 | java.lang .String co deContext, | |
| 24 | gov.va.me d.imaging. mix.webser vices.rest .types.v1. SeverityTy pe severit y, | |
| 25 | java.lang .String lo cation, | |
| 26 | gov.va.me d.imaging. mix.webser vices.rest .types.v1. ErrorCodeT ype errorC ode) { | |
| 27 | this.code Context = codeContex t; | |
| 28 | this.seve rity = sev erity; | |
| 29 | this.loca tion = loc ation; | |
| 30 | this.erro rCode = er rorCode; | |
| 31 | } | |
| 32 | ||
| 33 | ||
| 34 | /** | |
| 35 | * Get s the code Context va lue for th is ErrorRe sultType. | |
| 36 | * | |
| 37 | * @re turn codeC ontext | |
| 38 | */ | |
| 39 | public java.lang .String ge tCodeConte xt() { | |
| 40 | re turn codeC ontext; | |
| 41 | } | |
| 42 | ||
| 43 | ||
| 44 | /** | |
| 45 | * Set s the code Context va lue for th is ErrorRe sultType. | |
| 46 | * | |
| 47 | * @pa ram codeCo ntext | |
| 48 | */ | |
| 49 | public void setC odeContext (java.lang .String co deContext) { | |
| 50 | th is.codeCon text = cod eContext; | |
| 51 | } | |
| 52 | ||
| 53 | ||
| 54 | /** | |
| 55 | * Get s the seve rity value for this ErrorResul tType. | |
| 56 | * | |
| 57 | * @re turn sever ity | |
| 58 | */ | |
| 59 | public gov.va.me d.imaging. mix.webser vices.rest .types.v1. SeverityTy pe getSeve rity() { | |
| 60 | re turn sever ity; | |
| 61 | } | |
| 62 | ||
| 63 | ||
| 64 | /** | |
| 65 | * Set s the seve rity value for this ErrorResul tType. | |
| 66 | * | |
| 67 | * @pa ram severi ty | |
| 68 | */ | |
| 69 | public void setS everity(go v.va.med.i maging.mix .webservic es.rest.ty pes.v1.Sev erityType severity) { | |
| 70 | th is.severit y = severi ty; | |
| 71 | } | |
| 72 | ||
| 73 | ||
| 74 | /** | |
| 75 | * Get s the loca tion value for this ErrorResul tType. | |
| 76 | * | |
| 77 | * @re turn locat ion | |
| 78 | */ | |
| 79 | public java.lang .String ge tLocation( ) { | |
| 80 | re turn locat ion; | |
| 81 | } | |
| 82 | ||
| 83 | ||
| 84 | /** | |
| 85 | * Set s the loca tion value for this ErrorResul tType. | |
| 86 | * | |
| 87 | * @pa ram locati on | |
| 88 | */ | |
| 89 | public void setL ocation(ja va.lang.St ring locat ion) { | |
| 90 | th is.locatio n = locati on; | |
| 91 | } | |
| 92 | ||
| 93 | ||
| 94 | /** | |
| 95 | * Get s the erro rCode valu e for this ErrorResu ltType. | |
| 96 | * | |
| 97 | * @re turn error Code | |
| 98 | */ | |
| 99 | public gov.va.me d.imaging. mix.webser vices.rest .types.v1. ErrorCodeT ype getErr orCode() { | |
| 100 | re turn error Code; | |
| 101 | } | |
| 102 | ||
| 103 | ||
| 104 | /** | |
| 105 | * Set s the erro rCode valu e for this ErrorResu ltType. | |
| 106 | * | |
| 107 | * @pa ram errorC ode | |
| 108 | */ | |
| 109 | public void setE rrorCode(g ov.va.med. imaging.mi x.webservi ces.rest.t ypes.v1.Er rorCodeTyp e errorCod e) { | |
| 110 | th is.errorCo de = error Code; | |
| 111 | } | |
| 112 | ||
| 113 | privat e java.lan g.Object _ _equalsCal c = null; | |
| 114 | public synchroni zed boolea n equals(j ava.lang.O bject obj) { | |
| 115 | if (!(obj in stanceof E rrorResult Type)) ret urn false; | |
| 116 | Er rorResultT ype other = (ErrorRe sultType) obj; | |
| 117 | if (obj == n ull) retur n false; | |
| 118 | if (this == obj) retur n true; | |
| 119 | if (__equals Calc != nu ll) { | |
| 120 | return ( __equalsCa lc == obj) ; | |
| 121 | } | |
| 122 | __ equalsCalc = obj; | |
| 123 | bo olean _equ als; | |
| 124 | _e quals = tr ue && | |
| 125 | ((this.c odeContext ==null && other.getC odeContext ()==null) || | |
| 126 | (this.c odeContext !=null && | |
| 127 | this.c odeContext .equals(ot her.getCod eContext() ))) && | |
| 128 | ((this.s everity==n ull && oth er.getSeve rity()==nu ll) || | |
| 129 | (this.s everity!=n ull && | |
| 130 | this.s everity.eq uals(other .getSeveri ty()))) && | |
| 131 | ((this.l ocation==n ull && oth er.getLoca tion()==nu ll) || | |
| 132 | (this.l ocation!=n ull && | |
| 133 | this.l ocation.eq uals(other .getLocati on()))) && | |
| 134 | ((this.e rrorCode== null && ot her.getErr orCode()== null) || | |
| 135 | (this.e rrorCode!= null && | |
| 136 | this.e rrorCode.e quals(othe r.getError Code()))); | |
| 137 | __ equalsCalc = null; | |
| 138 | re turn _equa ls; | |
| 139 | } | |
| 140 | ||
| 141 | privat e boolean __hashCode Calc = fal se; | |
| 142 | public synchroni zed int ha shCode() { | |
| 143 | if (__hashCo deCalc) { | |
| 144 | return 0 ; | |
| 145 | } | |
| 146 | __ hashCodeCa lc = true; | |
| 147 | in t _hashCod e = 1; | |
| 148 | if (getCodeC ontext() ! = null) { | |
| 149 | _hashCod e += getCo deContext( ).hashCode (); | |
| 150 | } | |
| 151 | if (getSever ity() != n ull) { | |
| 152 | _hashCod e += getSe verity().h ashCode(); | |
| 153 | } | |
| 154 | if (getLocat ion() != n ull) { | |
| 155 | _hashCod e += getLo cation().h ashCode(); | |
| 156 | } | |
| 157 | if (getError Code() != null) { | |
| 158 | _hashCod e += getEr rorCode(). hashCode() ; | |
| 159 | } | |
| 160 | __ hashCodeCa lc = false ; | |
| 161 | re turn _hash Code; | |
| 162 | } | |
| 163 | ||
| 164 | // Typ e metadata | |
| 165 | privat e static o rg.apache. axis.descr iption.Typ eDesc type Desc = | |
| 166 | ne w org.apac he.axis.de scription. TypeDesc(E rrorResult Type.class , true); | |
| 167 | ||
| 168 | static { | |
| 169 | typeDesc.s etXmlType( new javax. xml.namesp ace.QName( "urn:v2.ty pes.soap.w ebservices .exchange. imaging. URL ", "ErrorR esultType" )); | |
| 170 | or g.apache.a xis.descri ption.Elem entDesc el emField = new org.ap ache.axis. descriptio n.ElementD esc(); | |
| 171 | el emField.se tFieldName ("codeCont ext"); | |
| 172 | elemField. setXmlName (new javax .xml.names pace.QName ("urn:v2.t ypes.soap. webservice s.exchange .imaging. URL ", "code-c ontext")); | |
| 173 | el emField.se tXmlType(n ew javax.x ml.namespa ce.QName(" http://www .w3.org/20 01/XMLSche ma", "stri ng")); | |
| 174 | el emField.se tNillable( true); | |
| 175 | ty peDesc.add FieldDesc( elemField) ; | |
| 176 | el emField = new org.ap ache.axis. descriptio n.ElementD esc(); | |
| 177 | el emField.se tFieldName ("severity "); | |
| 178 | elemField. setXmlName (new javax .xml.names pace.QName ("urn:v2.t ypes.soap. webservice s.exchange .imaging. URL ", "severi ty")); | |
| 179 | elemField. setXmlType (new javax .xml.names pace.QName ("urn:v2.t ypes.soap. webservice s.exchange .imaging. URL ", "Severi tyType")); | |
| 180 | el emField.se tNillable( false); | |
| 181 | ty peDesc.add FieldDesc( elemField) ; | |
| 182 | el emField = new org.ap ache.axis. descriptio n.ElementD esc(); | |
| 183 | el emField.se tFieldName ("location "); | |
| 184 | elemField. setXmlName (new javax .xml.names pace.QName ("urn:v2.t ypes.soap. webservice s.exchange .imaging. URL ", "locati on")); | |
| 185 | el emField.se tXmlType(n ew javax.x ml.namespa ce.QName(" http://www .w3.org/20 01/XMLSche ma", "stri ng")); | |
| 186 | el emField.se tNillable( true); | |
| 187 | ty peDesc.add FieldDesc( elemField) ; | |
| 188 | el emField = new org.ap ache.axis. descriptio n.ElementD esc(); | |
| 189 | el emField.se tFieldName ("errorCod e"); | |
| 190 | elemField. setXmlName (new javax .xml.names pace.QName ("urn:v2.t ypes.soap. webservice s.exchange .imaging. URL ", "error- code")); | |
| 191 | elemField. setXmlType (new javax .xml.names pace.QName ("urn:v2.t ypes.soap. webservice s.exchange .imaging. URL ", "ErrorC odeType")) ; | |
| 192 | el emField.se tNillable( false); | |
| 193 | ty peDesc.add FieldDesc( elemField) ; | |
| 194 | } | |
| 195 | ||
| 196 | /** | |
| 197 | * Ret urn type m etadata ob ject | |
| 198 | */ | |
| 199 | public static or g.apache.a xis.descri ption.Type Desc getTy peDesc() { | |
| 200 | re turn typeD esc; | |
| 201 | } | |
| 202 | ||
| 203 | /** | |
| 204 | * Get Custom Se rializer | |
| 205 | */ | |
| 206 | public static or g.apache.a xis.encodi ng.Seriali zer getSer ializer( | |
| 207 | java.lang .String me chType, | |
| 208 | java.lang .Class _ja vaType, | |
| 209 | javax.xml .namespace .QName _xm lType) { | |
| 210 | re turn | |
| 211 | new org.a pache.axis .encoding. ser.BeanSe rializer( | |
| 212 | _javaTyp e, _xmlTyp e, typeDes c); | |
| 213 | } | |
| 214 | ||
| 215 | /** | |
| 216 | * Get Custom De serializer | |
| 217 | */ | |
| 218 | public static or g.apache.a xis.encodi ng.Deseria lizer getD eserialize r( | |
| 219 | java.lang .String me chType, | |
| 220 | java.lang .Class _ja vaType, | |
| 221 | javax.xml .namespace .QName _xm lType) { | |
| 222 | re turn | |
| 223 | new org.a pache.axis .encoding. ser.BeanDe serializer ( | |
| 224 | _javaTyp e, _xmlTyp e, typeDes c); | |
| 225 | } | |
| 226 | ||
| 227 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.