]> git.basschouten.com Git - openhab-addons.git/blob
2cbd203f1f210380e9d50d183b14e26ed0e1568c
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.mybmw.internal.dto.vehicle;
14
15 /**
16  * The {@link VehicleBase} Data Transfer Object
17  *
18  * @author Bernd Weymann - Initial contribution
19  * @author Martin Grassl - refactored to Java Bean
20  */
21 public class VehicleBase {
22     private String vin = "";// ": "WBY1Z81040V905639",
23     // mappingInfo - needed?
24     // appVehicleType - needed?
25     private VehicleAttributes attributes = new VehicleAttributes();
26
27     public String getVin() {
28         return vin;
29     }
30
31     public void setVin(String vin) {
32         this.vin = vin;
33     }
34
35     public VehicleAttributes getAttributes() {
36         return attributes;
37     }
38
39     public void setAttributes(VehicleAttributes attributes) {
40         this.attributes = attributes;
41     }
42
43     @Override
44     public String toString() {
45         return "VehicleBase [vin=" + vin + ", attributes=" + attributes + "]";
46     }
47 }