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.max.internal.device;
16 * Device information provided by the M message meta information.
18 * @author Andreas Heil (info@aheil.de) - Initial contribution
20 public class DeviceInformation {
22 private final DeviceType deviceType;
23 private final String serialNumber;
24 private final String rfAddress;
25 private final String name;
26 private final int roomId;
28 public DeviceInformation(DeviceType deviceType, String serialNumber, String rfAddress, String name, int roomId) {
29 this.deviceType = deviceType;
30 this.serialNumber = serialNumber;
31 this.rfAddress = rfAddress;
36 public String getRFAddress() {
40 public DeviceType getDeviceType() {
44 public String getSerialNumber() {
48 public int getRoomId() {
52 public String getName() {