]> git.basschouten.com Git - openhab-addons.git/blob
7f0165e38fb2c4b2f0e9b9e710f73d39924bfbf8
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.gardena.internal.model.property;
14
15 /**
16  * Base class to send properties to Gardena.
17  *
18  * @author Gerhard Riegler - Initial contribution
19  */
20 public abstract class BaseProperty {
21     private String name;
22
23     public BaseProperty(String name) {
24         this.name = name;
25     }
26
27     /**
28      * Returns the property name.
29      */
30     public String getName() {
31         return name;
32     }
33
34     /**
35      * Returns the value of the property.
36      */
37     public abstract String getValue();
38 }