]> git.basschouten.com Git - openhab-addons.git/blob
c490f96707f7d017643528b5af3d81db4d612845
[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.pixometer.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link Annotation} class is the representing java model for the json result for an annotation from the pixometer
19  * api
20  *
21  * @author Jerome Luckenbach - Initial Contribution
22  *
23  */
24 @NonNullByDefault
25 public class Annotation {
26
27     private @NonNullByDefault({}) Integer id;
28     private @NonNullByDefault({}) Object rectangle;
29     private @NonNullByDefault({}) String meaning;
30     private @NonNullByDefault({}) String text;
31     private @NonNullByDefault({}) Integer image;
32
33     public Integer getId() {
34         return id;
35     }
36
37     public void setId(Integer id) {
38         this.id = id;
39     }
40
41     public Object getRectangle() {
42         return rectangle;
43     }
44
45     public void setRectangle(Object rectangle) {
46         this.rectangle = rectangle;
47     }
48
49     public String getMeaning() {
50         return meaning;
51     }
52
53     public void setMeaning(String meaning) {
54         this.meaning = meaning;
55     }
56
57     public String getText() {
58         return text;
59     }
60
61     public void setText(String text) {
62         this.text = text;
63     }
64
65     public Integer getImage() {
66         return image;
67     }
68
69     public void setImage(Integer image) {
70         this.image = image;
71     }
72 }