]> git.basschouten.com Git - openhab-addons.git/blob
3c900b6ae7db01478045ef0da3a5610d50349046
[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 SOAPCallStateChanged extends SOAPDataField {
30
31     @XmlElement(name = "State", namespace = HeliosHandler27.HELIOS_URI)
32     protected String state;
33
34     @XmlElement(name = "Direction", namespace = HeliosHandler27.HELIOS_URI)
35     protected String direction;
36
37     public String getState() {
38         return state;
39     }
40
41     public void setState(String state) {
42         this.state = state;
43     }
44
45     public String getDirection() {
46         return direction;
47     }
48
49     public void setDirection(String direction) {
50         this.direction = direction;
51     }
52 }