/** * 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.homematic.internal.config.binding; import org.openhab.binding.homematic.internal.converter.state.Converter; /** * Baseclass for all Homematic bindings which needs a converter. * * @author Gerhard Riegler * @since 1.5.0 */ public abstract class ValueBindingConfig extends HomematicBindingConfig { protected Converter<?> converter; protected boolean forceUpdate; protected double delay; /** * Returns a custom converter. */ public Converter<?> getConverter() { return converter; } /** * Returns true for always sending the value to the Homematic server. */ public boolean isForceUpdate() { return forceUpdate; } /** * Returns the delay in seconds. */ public double getDelay() { return delay; } }