]> git.basschouten.com Git - openhab-addons.git/blob
f6f6d7e59b602a348de651b4465c8c8ffcf38406
[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.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 SomfyTahomaDeviceDefinitionState} holds information about states
22  * provided by a device.
23  *
24  * @author Ondrej Pecta - Initial contribution
25  */
26 @NonNullByDefault
27 public class SomfyTahomaDeviceDefinitionState {
28
29     private String qualifiedName = "";
30     private List<String> values = new ArrayList<>();
31
32     public String getQualifiedName() {
33         return qualifiedName;
34     }
35
36     public List<String> getValues() {
37         return values;
38     }
39
40     @Override
41     public String toString() {
42         return qualifiedName + " (values: " + String.join(", ", values) + ")";
43     }
44 }