]> git.basschouten.com Git - openhab-addons.git/blob
2b71a21aa48a3e485bba1f8a1fa3fcea92092715
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.helios.internal.ws.soap;
14
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19
20 import org.openhab.binding.helios.internal.handler.HeliosHandler27;
21
22 /**
23  * Helios SOAP Protocol Message
24  *
25  * @author Karel Goderis - Initial contribution
26  */
27 @XmlAccessorType(XmlAccessType.FIELD)
28 @XmlRootElement(name = "Data", namespace = HeliosHandler27.HELIOS_URI)
29 public class SOAPCodeEntered extends SOAPDataField {
30
31     @XmlElement(name = "Code", namespace = HeliosHandler27.HELIOS_URI)
32     protected String code;
33
34     @XmlElement(name = "Valid", namespace = HeliosHandler27.HELIOS_URI)
35     protected String valid;
36
37     public String getCode() {
38         return code;
39     }
40
41     public void setCode(String code) {
42         this.code = code;
43     }
44
45     public String getValid() {
46         return valid;
47     }
48
49     public void setValid(String valid) {
50         this.valid = valid;
51     }
52 }