]> git.basschouten.com Git - openhab-addons.git/blob
cf297bbd93dd0a964869dfe328faabe4770f6cbc
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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 SOAPKeyPressed extends SOAPDataField {
30
31     @XmlElement(name = "Key", namespace = HeliosHandler27.HELIOS_URI)
32     protected String keyCode;
33
34     public String getKeyCode() {
35         return keyCode;
36     }
37
38     public void setKeyCode(String code) {
39         this.keyCode = code;
40     }
41 }