]> git.basschouten.com Git - openhab-addons.git/blob
42d4a288c7a4b0335b1bd1208745b3af243a17d4
[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.lutron.internal.discovery.project;
14
15 /**
16  * A Green Mode subsystem in a Lutron RadioRA2 controller
17  *
18  * @author Bob Adair - Initial contribution
19  */
20 public class GreenMode {
21
22     private String name;
23     private Integer integrationId;
24
25     public String getName() {
26         // There may be no name in the XML document
27         return name != null ? name : "Green Mode Subsystem";
28     }
29
30     public Integer getIntegrationId() {
31         return integrationId;
32     }
33 }