2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.denonmarantz.internal.xml.entities;
15 import java.util.List;
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;
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;
28 * Holds information about the secondary zones of the receiver
30 * @author Jeroen Idserda - Initial contribution
32 @XmlRootElement(name = "item")
33 @XmlAccessorType(XmlAccessType.FIELD)
34 public class ZoneStatus {
36 private OnOffType power;
38 @XmlElementWrapper(name = "inputFuncList")
39 @XmlElement(name = "value")
40 private List<String> inputFunctions;
42 private StringType inputFuncSelect;
44 private StringType volumeDisplay;
46 private StringType surrMode;
48 private VolumeType masterVolume;
50 private OnOffType mute;
52 public OnOffType getPower() {
56 public void setPower(OnOffType power) {
60 public StringType getInputFuncSelect() {
61 return inputFuncSelect;
64 public void setInputFuncSelect(StringType inputFuncSelect) {
65 this.inputFuncSelect = inputFuncSelect;
68 public StringType getVolumeDisplay() {
72 public void setVolumeDisplay(StringType volumeDisplay) {
73 this.volumeDisplay = volumeDisplay;
76 public StringType getSurrMode() {
80 public void setSurrMode(StringType surrMode) {
81 this.surrMode = surrMode;
84 public VolumeType getMasterVolume() {
88 public void setMasterVolume(VolumeType masterVolume) {
89 this.masterVolume = masterVolume;
92 public OnOffType getMute() {
96 public void setMute(OnOffType mute) {
100 public List<String> getInputFuncList() {
101 return this.inputFunctions;