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.digitalstrom.internal.lib.structure.devices.deviceparameters;
15 import org.openhab.binding.digitalstrom.internal.lib.structure.scene.constants.Scene;
18 * The {@link DeviceSceneSpec} saves a digitalSTROM-Device scene mode.
20 * @author Alexander Betker - Initial contribution
21 * @author Michael Ochel - add missing java-doc
22 * @author Matthias Siegele - add missing java-doc
24 public interface DeviceSceneSpec {
27 * Returns the sceneID.
34 * Returns true, if the don't care flag is set, otherwise false.
36 * @return true, if dont't care is set, otherwise false
41 * Sets the don't care flag.
43 * @param dontcare to set
45 void setDontcare(boolean dontcare);
48 * Returns true, if the local priority flag is set, otherwise false.
50 * @return true, if local priority is, set otherwise false
52 boolean isLocalPrio();
55 * Sets the local priority flag.
57 * @param localPrio to set
59 void setLocalPrio(boolean localPrio);
62 * Returns true, if the special mode flag is set, otherwise false.
64 * @return true, if special mode is set, otherwise false
66 boolean isSpecialMode();
69 * Sets the special mode flag.
71 * @param specialMode to set
73 void setSpecialMode(boolean specialMode);
76 * Returns true, if the flash mode flag is set, otherwise false.
78 * @return true, if flash mode is set, otherwise false
80 boolean isFlashMode();
83 * Sets the flash mode flag.
85 * @param flashMode to set
87 void setFlashMode(boolean flashMode);