
org.droitateddb.schema.SchemaConstants Maven / Gradle / Ivy
/*
* Copyright (C) 2014 The droitated DB Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.droitateddb.schema;
/**
* Constant values used for code generation and database access.
*
* @author Alexander Frank
* @author Falk Appel
*/
public class SchemaConstants {
public static final String DB = "DB";
public static final String TABLE = "Table";
public static final String LINK = "Association";
public static final String DB_NAME = "DB_NAME";
public static final String DB_VERSION = "DB_VERSION";
public static final String UPDATE_HOOK = "DB_UPDATE_HOOK";
public static final String CREATE_HOOK = "DB_CREATE_HOOK";
public static final String CLASS_NAME = "CLASS_NAME";
public static final String TABLE_NAME = "TABLE_NAME";
public static final String PROJECTION = "PROJECTION";
public static final String ATTRIBUTES = "ATTRIBUTES";
public static final String SQL_CREATION = "SQL_CREATION";
public static final String SQL_INDEX = "SQL_INDEX";
public static final String ATTRIBUTE_SUFFIX = "Attribute";
public static final String INFO_SUFFIX = "Info";
public static final String GENERATED_SUFFIX = "generated";
public static final String ASSOCIATIONS_INTERFACE = "Associations";
public static final String FOREIGN_KEY = "fk_";
public static final String INDEX_SUFFIX = "_idx";
public static final String FROM_SUFFIX = "_from";
public static final String TO_SUFFIX = "_to";
public static final String BASE_PACKAGE_FILE_PACKAGE = "org.droitateddb";
public static final String BASE_PACKAGE_FILE_NAME = "BasePackageReference";
public static final String BASE_PACKAGE_CONSTANT_NAME = "BASE_PACKAGE";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy