]> git.basschouten.com Git - openhab-addons.git/blob
9880ec9cd99faa20b6c6e178cfe16909e30f4b20
[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.homematic.internal.model;
14
15 /**
16  * Definition of the Homematic interfaces.
17  *
18  * @author Gerhard Riegler - Initial contribution
19  */
20 public enum HmInterface {
21     RF,
22     WIRED,
23     HMIP,
24     CUXD,
25     GROUP;
26
27     /**
28      * Returns the full name of the interface.
29      */
30     public String getName() {
31         switch (this) {
32             case RF:
33                 return "BidCos-RF";
34             case WIRED:
35                 return "BidCos-Wired";
36             case HMIP:
37                 return "HmIP-RF";
38             case CUXD:
39                 return "CUxD";
40             case GROUP:
41                 return "Group";
42         }
43         return null;
44     }
45 }