2 * Copyright (c) 2010-2020 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.gardena.internal.model;
16 * Represents a Gardena setting.
18 * @author Gerhard Riegler - Initial contribution
21 public class Setting {
25 private transient Device device;
28 * Returns the name of the setting.
30 public String getName() {
35 * Returns the id of the setting.
37 public String getId() {
42 * Returns the value of the setting.
44 public Object getValue() {
49 * Sets the name of the setting.
51 public void setValue(Object value) {
56 * Returns the device of the setting.
58 public Device getDevice() {
63 * Sets the name of the setting.
65 public void setDevice(Device device) {