All Downloads are FREE. Search and download functionalities are using the official Maven repository.

keywhiz.jooq.Keys Maven / Gradle / Ivy

The newest version!
/*
 * This file is generated by jOOQ.
 */
package keywhiz.jooq;


import javax.annotation.processing.Generated;

import keywhiz.jooq.tables.Accessgrants;
import keywhiz.jooq.tables.Clients;
import keywhiz.jooq.tables.FlywaySchemaHistory;
import keywhiz.jooq.tables.Groups;
import keywhiz.jooq.tables.Memberships;
import keywhiz.jooq.tables.Secrets;
import keywhiz.jooq.tables.SecretsContent;
import keywhiz.jooq.tables.Users;
import keywhiz.jooq.tables.records.AccessgrantsRecord;
import keywhiz.jooq.tables.records.ClientsRecord;
import keywhiz.jooq.tables.records.FlywaySchemaHistoryRecord;
import keywhiz.jooq.tables.records.GroupsRecord;
import keywhiz.jooq.tables.records.MembershipsRecord;
import keywhiz.jooq.tables.records.SecretsContentRecord;
import keywhiz.jooq.tables.records.SecretsRecord;
import keywhiz.jooq.tables.records.UsersRecord;

import org.jooq.Identity;
import org.jooq.UniqueKey;
import org.jooq.impl.Internal;


/**
 * A class modelling foreign key relationships and constraints of tables of 
 * the keywhizdb_test schema.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.12.0"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {

    // -------------------------------------------------------------------------
    // IDENTITY definitions
    // -------------------------------------------------------------------------

    public static final Identity IDENTITY_ACCESSGRANTS = Identities0.IDENTITY_ACCESSGRANTS;
    public static final Identity IDENTITY_CLIENTS = Identities0.IDENTITY_CLIENTS;
    public static final Identity IDENTITY_GROUPS = Identities0.IDENTITY_GROUPS;
    public static final Identity IDENTITY_MEMBERSHIPS = Identities0.IDENTITY_MEMBERSHIPS;
    public static final Identity IDENTITY_SECRETS = Identities0.IDENTITY_SECRETS;
    public static final Identity IDENTITY_SECRETS_CONTENT = Identities0.IDENTITY_SECRETS_CONTENT;

    // -------------------------------------------------------------------------
    // UNIQUE and PRIMARY KEY definitions
    // -------------------------------------------------------------------------

    public static final UniqueKey KEY_ACCESSGRANTS_PRIMARY = UniqueKeys0.KEY_ACCESSGRANTS_PRIMARY;
    public static final UniqueKey KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX = UniqueKeys0.KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX;
    public static final UniqueKey KEY_CLIENTS_PRIMARY = UniqueKeys0.KEY_CLIENTS_PRIMARY;
    public static final UniqueKey KEY_CLIENTS_NAME = UniqueKeys0.KEY_CLIENTS_NAME;
    public static final UniqueKey KEY_FLYWAY_SCHEMA_HISTORY_PRIMARY = UniqueKeys0.KEY_FLYWAY_SCHEMA_HISTORY_PRIMARY;
    public static final UniqueKey KEY_GROUPS_PRIMARY = UniqueKeys0.KEY_GROUPS_PRIMARY;
    public static final UniqueKey KEY_GROUPS_NAME = UniqueKeys0.KEY_GROUPS_NAME;
    public static final UniqueKey KEY_MEMBERSHIPS_PRIMARY = UniqueKeys0.KEY_MEMBERSHIPS_PRIMARY;
    public static final UniqueKey KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX = UniqueKeys0.KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX;
    public static final UniqueKey KEY_SECRETS_PRIMARY = UniqueKeys0.KEY_SECRETS_PRIMARY;
    public static final UniqueKey KEY_SECRETS_NAME = UniqueKeys0.KEY_SECRETS_NAME;
    public static final UniqueKey KEY_SECRETS_CONTENT_PRIMARY = UniqueKeys0.KEY_SECRETS_CONTENT_PRIMARY;
    public static final UniqueKey KEY_USERS_PRIMARY = UniqueKeys0.KEY_USERS_PRIMARY;

    // -------------------------------------------------------------------------
    // FOREIGN KEY definitions
    // -------------------------------------------------------------------------


    // -------------------------------------------------------------------------
    // [#1459] distribute members to avoid static initialisers > 64kb
    // -------------------------------------------------------------------------

    private static class Identities0 {
        public static Identity IDENTITY_ACCESSGRANTS = Internal.createIdentity(Accessgrants.ACCESSGRANTS, Accessgrants.ACCESSGRANTS.ID);
        public static Identity IDENTITY_CLIENTS = Internal.createIdentity(Clients.CLIENTS, Clients.CLIENTS.ID);
        public static Identity IDENTITY_GROUPS = Internal.createIdentity(Groups.GROUPS, Groups.GROUPS.ID);
        public static Identity IDENTITY_MEMBERSHIPS = Internal.createIdentity(Memberships.MEMBERSHIPS, Memberships.MEMBERSHIPS.ID);
        public static Identity IDENTITY_SECRETS = Internal.createIdentity(Secrets.SECRETS, Secrets.SECRETS.ID);
        public static Identity IDENTITY_SECRETS_CONTENT = Internal.createIdentity(SecretsContent.SECRETS_CONTENT, SecretsContent.SECRETS_CONTENT.ID);
    }

    private static class UniqueKeys0 {
        public static final UniqueKey KEY_ACCESSGRANTS_PRIMARY = Internal.createUniqueKey(Accessgrants.ACCESSGRANTS, "KEY_accessgrants_PRIMARY", Accessgrants.ACCESSGRANTS.ID);
        public static final UniqueKey KEY_ACCESSGRANTS_ACCESSGRANTS_GROUPID_SECRETID_IDX = Internal.createUniqueKey(Accessgrants.ACCESSGRANTS, "KEY_accessgrants_accessgrants_groupid_secretid_idx", Accessgrants.ACCESSGRANTS.GROUPID, Accessgrants.ACCESSGRANTS.SECRETID);
        public static final UniqueKey KEY_CLIENTS_PRIMARY = Internal.createUniqueKey(Clients.CLIENTS, "KEY_clients_PRIMARY", Clients.CLIENTS.ID);
        public static final UniqueKey KEY_CLIENTS_NAME = Internal.createUniqueKey(Clients.CLIENTS, "KEY_clients_name", Clients.CLIENTS.NAME);
        public static final UniqueKey KEY_FLYWAY_SCHEMA_HISTORY_PRIMARY = Internal.createUniqueKey(FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY, "KEY_flyway_schema_history_PRIMARY", FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY.INSTALLED_RANK);
        public static final UniqueKey KEY_GROUPS_PRIMARY = Internal.createUniqueKey(Groups.GROUPS, "KEY_groups_PRIMARY", Groups.GROUPS.ID);
        public static final UniqueKey KEY_GROUPS_NAME = Internal.createUniqueKey(Groups.GROUPS, "KEY_groups_name", Groups.GROUPS.NAME);
        public static final UniqueKey KEY_MEMBERSHIPS_PRIMARY = Internal.createUniqueKey(Memberships.MEMBERSHIPS, "KEY_memberships_PRIMARY", Memberships.MEMBERSHIPS.ID);
        public static final UniqueKey KEY_MEMBERSHIPS_MEMBERSHIPS_CLIENTID_GROUPID_IDX = Internal.createUniqueKey(Memberships.MEMBERSHIPS, "KEY_memberships_memberships_clientid_groupid_idx", Memberships.MEMBERSHIPS.CLIENTID, Memberships.MEMBERSHIPS.GROUPID);
        public static final UniqueKey KEY_SECRETS_PRIMARY = Internal.createUniqueKey(Secrets.SECRETS, "KEY_secrets_PRIMARY", Secrets.SECRETS.ID);
        public static final UniqueKey KEY_SECRETS_NAME = Internal.createUniqueKey(Secrets.SECRETS, "KEY_secrets_name", Secrets.SECRETS.NAME);
        public static final UniqueKey KEY_SECRETS_CONTENT_PRIMARY = Internal.createUniqueKey(SecretsContent.SECRETS_CONTENT, "KEY_secrets_content_PRIMARY", SecretsContent.SECRETS_CONTENT.ID);
        public static final UniqueKey KEY_USERS_PRIMARY = Internal.createUniqueKey(Users.USERS, "KEY_users_PRIMARY", Users.USERS.USERNAME);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy