/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.openhab.binding.pulseaudio.internal.items; /** * Abstract root class for all items in an pulseaudio server. Every item in a * pulseaudio server has a name and a unique id which can be inherited by this * class. * * @author Tobias Bräutigam * @since 1.2.0 */ public abstract class AbstractDeviceConfig { protected int id; protected String name; public AbstractDeviceConfig(int id, String name) { this.id = id; this.name = name; } public int getId() { return id; } public String getName() { return name; } }