]> git.basschouten.com Git - openhab-addons.git/blob
ccbf7a3f0f171dc29c9e00d36a4473206b3e9cd5
[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.homematic.internal.model;
14
15 import com.thoughtworks.xstream.annotations.XStreamAlias;
16 import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
17
18 /**
19  * Simple class with the XStream mapping for a data entry returned from a TclRega script.
20  *
21  * @author Gerhard Riegler - Initial contribution
22  */
23 @XStreamAlias("entry")
24 public class TclScriptDataEntry {
25
26     @XStreamAsAttribute
27     public String name;
28
29     @XStreamAsAttribute
30     public String description;
31
32     @XStreamAsAttribute
33     public String value;
34
35     @XStreamAsAttribute
36     public String valueType;
37
38     @XStreamAsAttribute
39     public boolean readOnly;
40
41     @XStreamAsAttribute
42     public String options;
43
44     @XStreamAsAttribute
45     @XStreamAlias("min")
46     public String minValue;
47
48     @XStreamAsAttribute
49     @XStreamAlias("max")
50     public String maxValue;
51
52     @XStreamAsAttribute
53     public String unit;
54
55     @XStreamAsAttribute
56     public String operations;
57 }