]> git.basschouten.com Git - openhab-addons.git/blob
cf4ddb515e72224e090fec497ef50ff6978c3062
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.somfytahoma.internal.model;
14
15 import java.util.ArrayList;
16 import java.util.List;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19
20 /**
21  * The {@link SomfyTahomaDevice} holds information about a device bound
22  * to TahomaLink account.
23  *
24  * @author Ondrej Pecta - Initial contribution
25  */
26 @NonNullByDefault
27 public class SomfyTahomaDevice {
28
29     private String uiClass = "";
30     private String widget = "";
31     private String deviceURL = "";
32     private String label = "";
33     private String oid = "";
34     private SomfyTahomaDeviceDefinition definition = new SomfyTahomaDeviceDefinition();
35     private List<SomfyTahomaState> states = new ArrayList<>();
36
37     public String getLabel() {
38         return label;
39     }
40
41     public String getDeviceURL() {
42         return deviceURL;
43     }
44
45     public String getOid() {
46         return oid;
47     }
48
49     public String getUiClass() {
50         return uiClass;
51     }
52
53     public String getWidget() {
54         return widget;
55     }
56
57     public SomfyTahomaDeviceDefinition getDefinition() {
58         return definition;
59     }
60
61     public List<SomfyTahomaState> getStates() {
62         return states;
63     }
64 }