]> git.basschouten.com Git - openhab-addons.git/blob
5593b40c930c2f02ed9d118eed9a04295d46521f
[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;
14
15 import java.util.List;
16
17 import javax.xml.bind.annotation.XmlAccessType;
18 import javax.xml.bind.annotation.XmlAccessorType;
19 import javax.xml.bind.annotation.XmlElement;
20 import javax.xml.bind.annotation.XmlElementWrapper;
21 import javax.xml.bind.annotation.XmlRootElement;
22
23 import org.openhab.binding.denonmarantz.internal.xml.entities.types.OnOffType;
24 import org.openhab.binding.denonmarantz.internal.xml.entities.types.StringType;
25 import org.openhab.binding.denonmarantz.internal.xml.entities.types.VolumeType;
26
27 /**
28  * Holds information about the secondary zones of the receiver
29  *
30  * @author Jeroen Idserda - Initial contribution
31  */
32 @XmlRootElement(name = "item")
33 @XmlAccessorType(XmlAccessType.FIELD)
34 public class ZoneStatus {
35
36     private OnOffType power;
37
38     @XmlElementWrapper(name = "inputFuncList")
39     @XmlElement(name = "value")
40     private List<String> inputFunctions;
41
42     private StringType inputFuncSelect;
43
44     private StringType volumeDisplay;
45
46     private StringType surrMode;
47
48     private VolumeType masterVolume;
49
50     private OnOffType mute;
51
52     public OnOffType getPower() {
53         return power;
54     }
55
56     public void setPower(OnOffType power) {
57         this.power = power;
58     }
59
60     public StringType getInputFuncSelect() {
61         return inputFuncSelect;
62     }
63
64     public void setInputFuncSelect(StringType inputFuncSelect) {
65         this.inputFuncSelect = inputFuncSelect;
66     }
67
68     public StringType getVolumeDisplay() {
69         return volumeDisplay;
70     }
71
72     public void setVolumeDisplay(StringType volumeDisplay) {
73         this.volumeDisplay = volumeDisplay;
74     }
75
76     public StringType getSurrMode() {
77         return surrMode;
78     }
79
80     public void setSurrMode(StringType surrMode) {
81         this.surrMode = surrMode;
82     }
83
84     public VolumeType getMasterVolume() {
85         return masterVolume;
86     }
87
88     public void setMasterVolume(VolumeType masterVolume) {
89         this.masterVolume = masterVolume;
90     }
91
92     public OnOffType getMute() {
93         return mute;
94     }
95
96     public void setMute(OnOffType mute) {
97         this.mute = mute;
98     }
99
100     public List<String> getInputFuncList() {
101         return this.inputFunctions;
102     }
103 }