]> git.basschouten.com Git - openhab-addons.git/blob
98e271659bf843d586d15a3f6c62e54ca0d96f1d
[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.velux.internal.things;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.velux.internal.VeluxBindingConstants;
17
18 /**
19  * <B>Velux</B> product representation.
20  * <P>
21  * Combined set of information describing a single Velux product.
22  *
23  * @author Guenther Schreiner - initial contribution.
24  */
25 @NonNullByDefault
26 public class VeluxProductName {
27
28     // Public definition
29
30     public static final VeluxProductName UNKNOWN = new VeluxProductName(VeluxBindingConstants.UNKNOWN);
31
32     // Class internal
33
34     private String name;
35
36     // Constructor
37
38     public VeluxProductName(String name) {
39         this.name = name;
40     }
41
42     // Class access methods
43
44     @Override
45     public String toString() {
46         return name;
47     }
48 }