]> git.basschouten.com Git - openhab-addons.git/blob
9895c758823001e409964efc7527fe45d0fc7442
[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 javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlRootElement;
18
19 import org.openhab.binding.denonmarantz.internal.xml.entities.types.OnOffType;
20
21 /**
22  * Holds information about the Main zone of the receiver
23  *
24  * @author Jeroen Idserda - Initial contribution
25  */
26 @XmlRootElement(name = "item")
27 @XmlAccessorType(XmlAccessType.FIELD)
28 public class Main {
29
30     private OnOffType power;
31
32     public OnOffType getPower() {
33         return power;
34     }
35
36     public void setPower(OnOffType power) {
37         this.power = power;
38     }
39 }