2 * Copyright (c) 2010-2024 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.tacmi.internal.schema;
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
21 * The {@link ChangerX2Entry} class contains mapping information for a changerX2 entry of
22 * the API page element
24 * @author Christian Niessner - Initial contribution
27 public class ChangerX2Entry {
29 public static final String NUMBER_MIN = "min";
30 public static final String NUMBER_MAX = "max";
31 public static final String NUMBER_STEP = "step";
40 * field name of the address
42 public final String addressFieldName;
45 * The address these options are for
47 public final String address;
52 public final OptionType optionType;
55 * field name of the option value
57 public final String optionFieldName;
62 public final Map<String, @Nullable String> options;
64 public ChangerX2Entry(String addressFieldName, String address, String optionFieldName, OptionType optionType,
65 Map<String, @Nullable String> options) {
66 this.addressFieldName = addressFieldName;
67 this.address = address;
68 this.optionFieldName = optionFieldName;
69 this.optionType = optionType;
70 this.options = options;