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.persistence.jdbc.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * This class represents status for an {@link ItemTableCheckEntry}.
20 * @author Jacob Laursen - Initial contribution
23 public enum ItemTableCheckEntryStatus {
25 * Table is consistent.
29 public String toString() {
34 * Table has no corresponding item.
38 public String toString() {
39 return "Item missing";
43 * Referenced table does not exist.
47 public String toString() {
48 return "Table missing";
52 * Referenced table does not exist nor has corresponding item.
54 ITEM_AND_TABLE_MISSING {
56 public String toString() {
57 return "Item and table missing";
61 * Mapping for table does not exist in index.
65 public String toString() {
66 return "Orphan table";