2 * Copyright (c) 2010-2023 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.innogysmarthome.internal.client.entity.location;
16 * Defines a {@link Location} structure.
18 * @author Oliver Kuhl - Initial contribution
20 public class Location {
23 * Identifier of the location – must be unique.
28 * Configuration properties of the {@link Location}.
30 private LocationConfig config;
35 public String getId() {
40 * @param id the id to set
42 public void setId(String id) {
49 public LocationConfig getConfig() {
54 * @param config the config to set
56 public void setConfig(LocationConfig config) {
61 * @return the location name
63 public String getName() {
64 return getConfig().getName();
68 * @return the location type
70 public String getType() {
71 return getConfig().getType();