/**
* 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.maxcube;
import org.openhab.binding.maxcube.internal.BindingType;
import org.openhab.core.binding.BindingProvider;
/**
* This interface is implemented by classes that can provide mapping information
* between openHAB items and the MAX!Cube LAN gateway items.
*
* Implementing classes should register themselves as a service in order to be
* taken into account.
*
* @author Andreas Heil (info@aheil.de)
* @since 1.4.0
*/
public interface MaxCubeBindingProvider extends BindingProvider {
/**
* @return the corresponding serial number of the given <code>itemName</code>
*/
public String getSerialNumber(String itemName);
/**
* @return the binding type if specified, <code>null</code> otherwise.
*/
public BindingType getBindingType(String itemName);
}