| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 
 | /**
 * PWFPrimaVehicle.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */
 
package com.pwf.prima.ibcs.obm.pub.objects;
 
public class PWFPrimaVehicle  extends primasolutions.ibcs.obm.pub.objects.core.PrimaVehicle  implements java.io.Serializable {
    private java.lang.String bodyStyle;
 
    private java.lang.String brandName;
 
    private java.lang.String codeVehicle;
 
    private java.lang.String enginePower;
 
    private java.lang.String firstBuildYear;
 
    private java.lang.String mineType;
 
    private java.lang.String model;
 
    private primasolutions.ibcs.und.pub.objects.carunderwriting.PrimaParkingPlace parkingPlace;
 
    private java.lang.String powerSourceType;
 
    private java.lang.String version;
 
    public PWFPrimaVehicle() {
    }
 
    public PWFPrimaVehicle(
           boolean picActivated,
           java.lang.Object[] comments,
           primasolutions.ibcs.common.pub.util.PrimaDate creationDate,
           boolean emptyComments,
           boolean emptyImages,
           java.lang.Object[] images,
           java.lang.String pk,
           java.lang.String reproductionRole,
           primasolutions.ibcs.obm.pub.objects.core.PrimaFinancingMode financingMode,
           java.lang.String bodyWork,
           int buildYear,
           java.lang.String colour,
           boolean emptyUseModes,
           java.lang.String paintType,
           java.lang.String serialNumber,
           java.lang.Object[] useModes,
           double value,
           java.lang.String valueCurrencyCode,
           java.lang.String bodyStyle,
           java.lang.String brandName,
           java.lang.String codeVehicle,
           java.lang.String enginePower,
           java.lang.String firstBuildYear,
           java.lang.String mineType,
           java.lang.String model,
           primasolutions.ibcs.und.pub.objects.carunderwriting.PrimaParkingPlace parkingPlace,
           java.lang.String powerSourceType,
           java.lang.String version) {
        super(
            picActivated,
            comments,
            creationDate,
            emptyComments,
            emptyImages,
            images,
            pk,
            reproductionRole,
            financingMode,
            bodyWork,
            buildYear,
            colour,
            emptyUseModes,
            paintType,
            serialNumber,
            useModes,
            value,
            valueCurrencyCode);
        this.bodyStyle = bodyStyle;
        this.brandName = brandName;
        this.codeVehicle = codeVehicle;
        this.enginePower = enginePower;
        this.firstBuildYear = firstBuildYear;
        this.mineType = mineType;
        this.model = model;
        this.parkingPlace = parkingPlace;
        this.powerSourceType = powerSourceType;
        this.version = version;
    }
 
 
    /**
     * Gets the bodyStyle value for this PWFPrimaVehicle.
     * 
     * @return bodyStyle
     */
    public java.lang.String getBodyStyle() {
        return bodyStyle;
    }
 
 
    /**
     * Sets the bodyStyle value for this PWFPrimaVehicle.
     * 
     * @param bodyStyle
     */
    public void setBodyStyle(java.lang.String bodyStyle) {
        this.bodyStyle = bodyStyle;
    }
 
 
    /**
     * Gets the brandName value for this PWFPrimaVehicle.
     * 
     * @return brandName
     */
    public java.lang.String getBrandName() {
        return brandName;
    }
 
 
    /**
     * Sets the brandName value for this PWFPrimaVehicle.
     * 
     * @param brandName
     */
    public void setBrandName(java.lang.String brandName) {
        this.brandName = brandName;
    }
 
 
    /**
     * Gets the codeVehicle value for this PWFPrimaVehicle.
     * 
     * @return codeVehicle
     */
    public java.lang.String getCodeVehicle() {
        return codeVehicle;
    }
 
 
    /**
     * Sets the codeVehicle value for this PWFPrimaVehicle.
     * 
     * @param codeVehicle
     */
    public void setCodeVehicle(java.lang.String codeVehicle) {
        this.codeVehicle = codeVehicle;
    }
 
 
    /**
     * Gets the enginePower value for this PWFPrimaVehicle.
     * 
     * @return enginePower
     */
    public java.lang.String getEnginePower() {
        return enginePower;
    }
 
 
    /**
     * Sets the enginePower value for this PWFPrimaVehicle.
     * 
     * @param enginePower
     */
    public void setEnginePower(java.lang.String enginePower) {
        this.enginePower = enginePower;
    }
 
 
    /**
     * Gets the firstBuildYear value for this PWFPrimaVehicle.
     * 
     * @return firstBuildYear
     */
    public java.lang.String getFirstBuildYear() {
        return firstBuildYear;
    }
 
 
    /**
     * Sets the firstBuildYear value for this PWFPrimaVehicle.
     * 
     * @param firstBuildYear
     */
    public void setFirstBuildYear(java.lang.String firstBuildYear) {
        this.firstBuildYear = firstBuildYear;
    }
 
 
    /**
     * Gets the mineType value for this PWFPrimaVehicle.
     * 
     * @return mineType
     */
    public java.lang.String getMineType() {
        return mineType;
    }
 
 
    /**
     * Sets the mineType value for this PWFPrimaVehicle.
     * 
     * @param mineType
     */
    public void setMineType(java.lang.String mineType) {
        this.mineType = mineType;
    }
 
 
    /**
     * Gets the model value for this PWFPrimaVehicle.
     * 
     * @return model
     */
    public java.lang.String getModel() {
        return model;
    }
 
 
    /**
     * Sets the model value for this PWFPrimaVehicle.
     * 
     * @param model
     */
    public void setModel(java.lang.String model) {
        this.model = model;
    }
 
 
    /**
     * Gets the parkingPlace value for this PWFPrimaVehicle.
     * 
     * @return parkingPlace
     */
    public primasolutions.ibcs.und.pub.objects.carunderwriting.PrimaParkingPlace getParkingPlace() {
        return parkingPlace;
    }
 
 
    /**
     * Sets the parkingPlace value for this PWFPrimaVehicle.
     * 
     * @param parkingPlace
     */
    public void setParkingPlace(primasolutions.ibcs.und.pub.objects.carunderwriting.PrimaParkingPlace parkingPlace) {
        this.parkingPlace = parkingPlace;
    }
 
 
    /**
     * Gets the powerSourceType value for this PWFPrimaVehicle.
     * 
     * @return powerSourceType
     */
    public java.lang.String getPowerSourceType() {
        return powerSourceType;
    }
 
 
    /**
     * Sets the powerSourceType value for this PWFPrimaVehicle.
     * 
     * @param powerSourceType
     */
    public void setPowerSourceType(java.lang.String powerSourceType) {
        this.powerSourceType = powerSourceType;
    }
 
 
    /**
     * Gets the version value for this PWFPrimaVehicle.
     * 
     * @return version
     */
    public java.lang.String getVersion() {
        return version;
    }
 
 
    /**
     * Sets the version value for this PWFPrimaVehicle.
     * 
     * @param version
     */
    public void setVersion(java.lang.String version) {
        this.version = version;
    }
 
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof PWFPrimaVehicle)) return false;
        PWFPrimaVehicle other = (PWFPrimaVehicle) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = super.equals(obj) && 
            ((this.bodyStyle==null && other.getBodyStyle()==null) || 
             (this.bodyStyle!=null &&
              this.bodyStyle.equals(other.getBodyStyle()))) &&
            ((this.brandName==null && other.getBrandName()==null) || 
             (this.brandName!=null &&
              this.brandName.equals(other.getBrandName()))) &&
            ((this.codeVehicle==null && other.getCodeVehicle()==null) || 
             (this.codeVehicle!=null &&
              this.codeVehicle.equals(other.getCodeVehicle()))) &&
            ((this.enginePower==null && other.getEnginePower()==null) || 
             (this.enginePower!=null &&
              this.enginePower.equals(other.getEnginePower()))) &&
            ((this.firstBuildYear==null && other.getFirstBuildYear()==null) || 
             (this.firstBuildYear!=null &&
              this.firstBuildYear.equals(other.getFirstBuildYear()))) &&
            ((this.mineType==null && other.getMineType()==null) || 
             (this.mineType!=null &&
              this.mineType.equals(other.getMineType()))) &&
            ((this.model==null && other.getModel()==null) || 
             (this.model!=null &&
              this.model.equals(other.getModel()))) &&
            ((this.parkingPlace==null && other.getParkingPlace()==null) || 
             (this.parkingPlace!=null &&
              this.parkingPlace.equals(other.getParkingPlace()))) &&
            ((this.powerSourceType==null && other.getPowerSourceType()==null) || 
             (this.powerSourceType!=null &&
              this.powerSourceType.equals(other.getPowerSourceType()))) &&
            ((this.version==null && other.getVersion()==null) || 
             (this.version!=null &&
              this.version.equals(other.getVersion())));
        __equalsCalc = null;
        return _equals;
    }
 
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = super.hashCode();
        if (getBodyStyle() != null) {
            _hashCode += getBodyStyle().hashCode();
        }
        if (getBrandName() != null) {
            _hashCode += getBrandName().hashCode();
        }
        if (getCodeVehicle() != null) {
            _hashCode += getCodeVehicle().hashCode();
        }
        if (getEnginePower() != null) {
            _hashCode += getEnginePower().hashCode();
        }
        if (getFirstBuildYear() != null) {
            _hashCode += getFirstBuildYear().hashCode();
        }
        if (getMineType() != null) {
            _hashCode += getMineType().hashCode();
        }
        if (getModel() != null) {
            _hashCode += getModel().hashCode();
        }
        if (getParkingPlace() != null) {
            _hashCode += getParkingPlace().hashCode();
        }
        if (getPowerSourceType() != null) {
            _hashCode += getPowerSourceType().hashCode();
        }
        if (getVersion() != null) {
            _hashCode += getVersion().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }
 
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(PWFPrimaVehicle.class, true);
 
    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://objects.pub.obm.ibcs.prima.pwf.com", "PWFPrimaVehicle"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("bodyStyle");
        elemField.setXmlName(new javax.xml.namespace.QName("", "bodyStyle"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("brandName");
        elemField.setXmlName(new javax.xml.namespace.QName("", "brandName"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("codeVehicle");
        elemField.setXmlName(new javax.xml.namespace.QName("", "codeVehicle"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("enginePower");
        elemField.setXmlName(new javax.xml.namespace.QName("", "enginePower"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("firstBuildYear");
        elemField.setXmlName(new javax.xml.namespace.QName("", "firstBuildYear"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("mineType");
        elemField.setXmlName(new javax.xml.namespace.QName("", "mineType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("model");
        elemField.setXmlName(new javax.xml.namespace.QName("", "model"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("parkingPlace");
        elemField.setXmlName(new javax.xml.namespace.QName("", "parkingPlace"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://carunderwriting.objects.pub.und.ibcs.primasolutions", "PrimaParkingPlace"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("powerSourceType");
        elemField.setXmlName(new javax.xml.namespace.QName("", "powerSourceType"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("version");
        elemField.setXmlName(new javax.xml.namespace.QName("", "version"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
    }
 
    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }
 
    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }
 
    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }
 
} | 
Partager