]> git.basschouten.com Git - openhab-addons.git/blob
93b780d6e6268a854eddbb4a67c1e1c325ce6d6e
[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.denonmarantz.internal.xml.entities.types;
14
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
18
19 import org.openhab.binding.denonmarantz.internal.xml.adapters.StringAdapter;
20
21 /**
22  * Contains a string value
23  *
24  * @author Jeroen Idserda - Initial contribution
25  */
26 @XmlAccessorType(XmlAccessType.FIELD)
27 public class StringType {
28
29     @XmlJavaTypeAdapter(value = StringAdapter.class)
30     private String value;
31
32     public String getValue() {
33         return value;
34     }
35
36     public void setValue(String value) {
37         this.value = value;
38     }
39 }