2 * Copyright (c) 2010-2024 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.lutron.internal.discovery.project;
15 import java.util.Collections;
16 import java.util.List;
19 * This class represents a location defined in the Lutron system. Areas are organized
20 * hierarchically and can represent an entire house, a room in the house, or a specific
21 * location within a room.
23 * @author Allan Tong - Initial contribution
27 private Integer integrationId;
28 private List<DeviceNode> deviceNodes;
29 private List<Output> outputs;
30 private List<Area> areas;
32 public String getName() {
36 public Integer getIntegrationId() {
40 public List<DeviceNode> getDeviceNodes() {
41 return deviceNodes != null ? deviceNodes : Collections.<DeviceNode> emptyList();
44 public List<Output> getOutputs() {
45 return outputs != null ? outputs : Collections.<Output> emptyList();
48 public List<Area> getAreas() {
49 return areas != null ? areas : Collections.<Area> emptyList();