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.ihc.internal.converters;
15 import java.util.List;
18 import org.openhab.binding.ihc.internal.ws.projectfile.IhcEnumValue;
19 import org.openhab.core.types.Command;
22 * Class to hold additional information which is needed for data conversion.
24 * @author Pauli Anttila - Initial contribution
26 public class ConverterAdditionalInfo {
27 private List<IhcEnumValue> enumValues;
28 private Boolean inverted;
29 private Map<Command, Object> commandLevels;
31 public ConverterAdditionalInfo(List<IhcEnumValue> enumValues, Boolean inverted,
32 Map<Command, Object> commandLevels) {
33 this.enumValues = enumValues;
34 this.inverted = inverted;
35 this.commandLevels = commandLevels;
38 public List<IhcEnumValue> getEnumValues() {
42 public Boolean getInverted() {
46 public Map<Command, Object> getCommandLevels() {