SUPPORT-9122:add db beans

This commit is contained in:
adel.kalimullin 2025-04-18 15:53:18 +03:00
parent bb1df25bc6
commit f343cd577b
16 changed files with 4034 additions and 0 deletions

View file

@ -0,0 +1,90 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile;
import java.util.Arrays;
import java.util.List;
import org.jooq.Catalog;
import org.jooq.Table;
import org.jooq.impl.SchemaImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.DefaultCatalog;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class IdmReconcile extends SchemaImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile</code>
*/
public static final IdmReconcile IDM_RECONCILE = new IdmReconcile();
/**
* The table <code>idm_reconcile.account</code>.
*/
public final Account ACCOUNT = Account.ACCOUNT;
/**
* The table <code>idm_reconcile.account_role</code>.
*/
public final AccountRole ACCOUNT_ROLE = AccountRole.ACCOUNT_ROLE;
/**
* The table <code>idm_reconcile.domain</code>.
*/
public final Domain DOMAIN = Domain.DOMAIN;
/**
* The table <code>idm_reconcile.person</code>.
*/
public final Person PERSON = Person.PERSON;
/**
* The table <code>idm_reconcile.person_ip_address</code>.
*/
public final PersonIpAddress PERSON_IP_ADDRESS = PersonIpAddress.PERSON_IP_ADDRESS;
/**
* The table <code>idm_reconcile.role</code>.
*/
public final Role ROLE = Role.ROLE;
/**
* No further instances allowed
*/
private IdmReconcile() {
super("idm_reconcile", null);
}
@Override
public Catalog getCatalog() {
return DefaultCatalog.DEFAULT_CATALOG;
}
@Override
public final List<Table<?>> getTables() {
return Arrays.asList(
Account.ACCOUNT,
AccountRole.ACCOUNT_ROLE,
Domain.DOMAIN,
Person.PERSON,
PersonIpAddress.PERSON_IP_ADDRESS,
Role.ROLE
);
}
}

View file

@ -0,0 +1,54 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile;
import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonIpAddressRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
/**
* A class modelling foreign key relationships and constraints of tables in
* idm_reconcile.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {
// -------------------------------------------------------------------------
// UNIQUE and PRIMARY KEY definitions
// -------------------------------------------------------------------------
public static final UniqueKey<AccountRecord> ACCOUNT_PKEY = Internal.createUniqueKey(Account.ACCOUNT, DSL.name("account_pkey"), new TableField[] { Account.ACCOUNT.ID }, true);
public static final UniqueKey<AccountRoleRecord> PK_ACCOUNT_ROLE = Internal.createUniqueKey(AccountRole.ACCOUNT_ROLE, DSL.name("pk_account_role"), new TableField[] { AccountRole.ACCOUNT_ROLE.ACCOUNT_ID, AccountRole.ACCOUNT_ROLE.ROLE_ID }, true);
public static final UniqueKey<DomainRecord> DOMAIN_PKEY = Internal.createUniqueKey(Domain.DOMAIN, DSL.name("domain_pkey"), new TableField[] { Domain.DOMAIN.ID }, true);
public static final UniqueKey<PersonRecord> PERSON_PKEY = Internal.createUniqueKey(Person.PERSON, DSL.name("person_pkey"), new TableField[] { Person.PERSON.ID }, true);
public static final UniqueKey<PersonIpAddressRecord> PK_PERSON_IP = Internal.createUniqueKey(PersonIpAddress.PERSON_IP_ADDRESS, DSL.name("pk_person_ip"), new TableField[] { PersonIpAddress.PERSON_IP_ADDRESS.PERSON_ID, PersonIpAddress.PERSON_IP_ADDRESS.IP_ADDRESS }, true);
public static final UniqueKey<RoleRecord> ROLE_PKEY = Internal.createUniqueKey(Role.ROLE, DSL.name("role_pkey"), new TableField[] { Role.ROLE.ID }, true);
// -------------------------------------------------------------------------
// FOREIGN KEY definitions
// -------------------------------------------------------------------------
public static final ForeignKey<AccountRecord, DomainRecord> ACCOUNT__FK_DOMAIN = Internal.createForeignKey(Account.ACCOUNT, DSL.name("fk_domain"), new TableField[] { Account.ACCOUNT.DOMAIN_ID }, Keys.DOMAIN_PKEY, new TableField[] { Domain.DOMAIN.ID }, true);
public static final ForeignKey<AccountRecord, PersonRecord> ACCOUNT__FK_PERSON = Internal.createForeignKey(Account.ACCOUNT, DSL.name("fk_person"), new TableField[] { Account.ACCOUNT.PERSON_ID }, Keys.PERSON_PKEY, new TableField[] { Person.PERSON.ID }, true);
public static final ForeignKey<AccountRoleRecord, AccountRecord> ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT = Internal.createForeignKey(AccountRole.ACCOUNT_ROLE, DSL.name("fk_account_role_account"), new TableField[] { AccountRole.ACCOUNT_ROLE.ACCOUNT_ID }, Keys.ACCOUNT_PKEY, new TableField[] { Account.ACCOUNT.ID }, true);
public static final ForeignKey<AccountRoleRecord, RoleRecord> ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE = Internal.createForeignKey(AccountRole.ACCOUNT_ROLE, DSL.name("fk_account_role_role"), new TableField[] { AccountRole.ACCOUNT_ROLE.ROLE_ID }, Keys.ROLE_PKEY, new TableField[] { Role.ROLE.ID }, true);
public static final ForeignKey<PersonIpAddressRecord, PersonRecord> PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON = Internal.createForeignKey(PersonIpAddress.PERSON_IP_ADDRESS, DSL.name("fk_person_ip_person"), new TableField[] { PersonIpAddress.PERSON_IP_ADDRESS.PERSON_ID }, Keys.PERSON_PKEY, new TableField[] { Person.PERSON.ID }, true);
}

View file

@ -0,0 +1,50 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
/**
* Convenience access to all tables in idm_reconcile.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables {
/**
* The table <code>idm_reconcile.account</code>.
*/
public static final Account ACCOUNT = Account.ACCOUNT;
/**
* The table <code>idm_reconcile.account_role</code>.
*/
public static final AccountRole ACCOUNT_ROLE = AccountRole.ACCOUNT_ROLE;
/**
* The table <code>idm_reconcile.domain</code>.
*/
public static final Domain DOMAIN = Domain.DOMAIN;
/**
* The table <code>idm_reconcile.person</code>.
*/
public static final Person PERSON = Person.PERSON;
/**
* The table <code>idm_reconcile.person_ip_address</code>.
*/
public static final PersonIpAddress PERSON_IP_ADDRESS = PersonIpAddress.PERSON_IP_ADDRESS;
/**
* The table <code>idm_reconcile.role</code>.
*/
public static final Role ROLE = Role.ROLE;
}

View file

@ -0,0 +1,372 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole.AccountRolePath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain.DomainPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person.PersonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role.RolePath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Account extends TableImpl<AccountRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile.account</code>
*/
public static final Account ACCOUNT = new Account();
/**
* The class holding records for this type
*/
@Override
public Class<AccountRecord> getRecordType() {
return AccountRecord.class;
}
/**
* The column <code>idm_reconcile.account.id</code>.
*/
public final TableField<AccountRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>idm_reconcile.account.version</code>.
*/
public final TableField<AccountRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>idm_reconcile.account.modified</code>.
*/
public final TableField<AccountRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>idm_reconcile.account.schema</code>.
*/
public final TableField<AccountRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(100).nullable(false), this, "");
/**
* The column <code>idm_reconcile.account.start</code>.
*/
public final TableField<AccountRecord, String> START = createField(DSL.name("start"), SQLDataType.VARCHAR(50), this, "");
/**
* The column <code>idm_reconcile.account.finish</code>.
*/
public final TableField<AccountRecord, String> FINISH = createField(DSL.name("finish"), SQLDataType.VARCHAR(50), this, "");
/**
* The column <code>idm_reconcile.account.enabled</code>.
*/
public final TableField<AccountRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>idm_reconcile.account.position</code>.
*/
public final TableField<AccountRecord, String> POSITION = createField(DSL.name("position"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.account.fio</code>.
*/
public final TableField<AccountRecord, String> FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.account.work_mail</code>.
*/
public final TableField<AccountRecord, String> WORK_MAIL = createField(DSL.name("work_mail"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.account.esia_account</code>.
*/
public final TableField<AccountRecord, Boolean> ESIA_ACCOUNT = createField(DSL.name("esia_account"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>idm_reconcile.account.domain_id</code>.
*/
public final TableField<AccountRecord, String> DOMAIN_ID = createField(DSL.name("domain_id"), SQLDataType.VARCHAR(36), this, "");
/**
* The column <code>idm_reconcile.account.person_id</code>.
*/
public final TableField<AccountRecord, String> PERSON_ID = createField(DSL.name("person_id"), SQLDataType.VARCHAR(36), this, "");
private Account(Name alias, Table<AccountRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Account(Name alias, Table<AccountRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>idm_reconcile.account</code> table reference
*/
public Account(String alias) {
this(DSL.name(alias), ACCOUNT);
}
/**
* Create an aliased <code>idm_reconcile.account</code> table reference
*/
public Account(Name alias) {
this(alias, ACCOUNT);
}
/**
* Create a <code>idm_reconcile.account</code> table reference
*/
public Account() {
this(DSL.name("account"), null);
}
public <O extends Record> Account(Table<O> path, ForeignKey<O, AccountRecord> childPath, InverseForeignKey<O, AccountRecord> parentPath) {
super(path, childPath, parentPath, ACCOUNT);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AccountPath extends Account implements Path<AccountRecord> {
public <O extends Record> AccountPath(Table<O> path, ForeignKey<O, AccountRecord> childPath, InverseForeignKey<O, AccountRecord> parentPath) {
super(path, childPath, parentPath);
}
private AccountPath(Name alias, Table<AccountRecord> aliased) {
super(alias, aliased);
}
@Override
public AccountPath as(String alias) {
return new AccountPath(DSL.name(alias), this);
}
@Override
public AccountPath as(Name alias) {
return new AccountPath(alias, this);
}
@Override
public AccountPath as(Table<?> alias) {
return new AccountPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
}
@Override
public UniqueKey<AccountRecord> getPrimaryKey() {
return Keys.ACCOUNT_PKEY;
}
@Override
public List<ForeignKey<AccountRecord, ?>> getReferences() {
return Arrays.asList(Keys.ACCOUNT__FK_DOMAIN, Keys.ACCOUNT__FK_PERSON);
}
private transient DomainPath _domain;
/**
* Get the implicit join path to the <code>idm_reconcile.domain</code>
* table.
*/
public DomainPath domain() {
if (_domain == null)
_domain = new DomainPath(this, Keys.ACCOUNT__FK_DOMAIN, null);
return _domain;
}
private transient PersonPath _person;
/**
* Get the implicit join path to the <code>idm_reconcile.person</code>
* table.
*/
public PersonPath person() {
if (_person == null)
_person = new PersonPath(this, Keys.ACCOUNT__FK_PERSON, null);
return _person;
}
private transient AccountRolePath _accountRole;
/**
* Get the implicit to-many join path to the
* <code>idm_reconcile.account_role</code> table
*/
public AccountRolePath accountRole() {
if (_accountRole == null)
_accountRole = new AccountRolePath(this, null, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT.getInverseKey());
return _accountRole;
}
/**
* Get the implicit many-to-many join path to the
* <code>idm_reconcile.role</code> table
*/
public RolePath role() {
return accountRole().role();
}
@Override
public Account as(String alias) {
return new Account(DSL.name(alias), this);
}
@Override
public Account as(Name alias) {
return new Account(alias, this);
}
@Override
public Account as(Table<?> alias) {
return new Account(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Account rename(String name) {
return new Account(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Account rename(Name name) {
return new Account(name, null);
}
/**
* Rename this table
*/
@Override
public Account rename(Table<?> name) {
return new Account(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Account where(Condition condition) {
return new Account(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Account where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Account where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Account where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Account where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Account where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Account where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Account where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Account whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Account whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,292 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role.RolePath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AccountRole extends TableImpl<AccountRoleRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile.account_role</code>
*/
public static final AccountRole ACCOUNT_ROLE = new AccountRole();
/**
* The class holding records for this type
*/
@Override
public Class<AccountRoleRecord> getRecordType() {
return AccountRoleRecord.class;
}
/**
* The column <code>idm_reconcile.account_role.account_id</code>.
*/
public final TableField<AccountRoleRecord, String> ACCOUNT_ID = createField(DSL.name("account_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>idm_reconcile.account_role.role_id</code>.
*/
public final TableField<AccountRoleRecord, String> ROLE_ID = createField(DSL.name("role_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
private AccountRole(Name alias, Table<AccountRoleRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private AccountRole(Name alias, Table<AccountRoleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>idm_reconcile.account_role</code> table reference
*/
public AccountRole(String alias) {
this(DSL.name(alias), ACCOUNT_ROLE);
}
/**
* Create an aliased <code>idm_reconcile.account_role</code> table reference
*/
public AccountRole(Name alias) {
this(alias, ACCOUNT_ROLE);
}
/**
* Create a <code>idm_reconcile.account_role</code> table reference
*/
public AccountRole() {
this(DSL.name("account_role"), null);
}
public <O extends Record> AccountRole(Table<O> path, ForeignKey<O, AccountRoleRecord> childPath, InverseForeignKey<O, AccountRoleRecord> parentPath) {
super(path, childPath, parentPath, ACCOUNT_ROLE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class AccountRolePath extends AccountRole implements Path<AccountRoleRecord> {
public <O extends Record> AccountRolePath(Table<O> path, ForeignKey<O, AccountRoleRecord> childPath, InverseForeignKey<O, AccountRoleRecord> parentPath) {
super(path, childPath, parentPath);
}
private AccountRolePath(Name alias, Table<AccountRoleRecord> aliased) {
super(alias, aliased);
}
@Override
public AccountRolePath as(String alias) {
return new AccountRolePath(DSL.name(alias), this);
}
@Override
public AccountRolePath as(Name alias) {
return new AccountRolePath(alias, this);
}
@Override
public AccountRolePath as(Table<?> alias) {
return new AccountRolePath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
}
@Override
public UniqueKey<AccountRoleRecord> getPrimaryKey() {
return Keys.PK_ACCOUNT_ROLE;
}
@Override
public List<ForeignKey<AccountRoleRecord, ?>> getReferences() {
return Arrays.asList(Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE);
}
private transient AccountPath _account;
/**
* Get the implicit join path to the <code>idm_reconcile.account</code>
* table.
*/
public AccountPath account() {
if (_account == null)
_account = new AccountPath(this, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT, null);
return _account;
}
private transient RolePath _role;
/**
* Get the implicit join path to the <code>idm_reconcile.role</code> table.
*/
public RolePath role() {
if (_role == null)
_role = new RolePath(this, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE, null);
return _role;
}
@Override
public AccountRole as(String alias) {
return new AccountRole(DSL.name(alias), this);
}
@Override
public AccountRole as(Name alias) {
return new AccountRole(alias, this);
}
@Override
public AccountRole as(Table<?> alias) {
return new AccountRole(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public AccountRole rename(String name) {
return new AccountRole(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public AccountRole rename(Name name) {
return new AccountRole(name, null);
}
/**
* Rename this table
*/
@Override
public AccountRole rename(Table<?> name) {
return new AccountRole(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public AccountRole where(Condition condition) {
return new AccountRole(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public AccountRole where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccountRole where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccountRole where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccountRole where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccountRole where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccountRole where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public AccountRole where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccountRole whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public AccountRole whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,514 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
import java.sql.Timestamp;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Domain extends TableImpl<DomainRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile.domain</code>
*/
public static final Domain DOMAIN = new Domain();
/**
* The class holding records for this type
*/
@Override
public Class<DomainRecord> getRecordType() {
return DomainRecord.class;
}
/**
* The column <code>idm_reconcile.domain.id</code>.
*/
public final TableField<DomainRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>idm_reconcile.domain.version</code>.
*/
public final TableField<DomainRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>idm_reconcile.domain.modified</code>.
*/
public final TableField<DomainRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>idm_reconcile.domain.schema</code>.
*/
public final TableField<DomainRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>idm_reconcile.domain.name</code>.
*/
public final TableField<DomainRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.shortname</code>.
*/
public final TableField<DomainRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.fullname</code>.
*/
public final TableField<DomainRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.dns</code>.
*/
public final TableField<DomainRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.email</code>.
*/
public final TableField<DomainRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.phone</code>.
*/
public final TableField<DomainRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.address</code>.
*/
public final TableField<DomainRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR(1024), this, "");
/**
* The column <code>idm_reconcile.domain.postal_address</code>.
*/
public final TableField<DomainRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR(1024), this, "");
/**
* The column <code>idm_reconcile.domain.address_id</code>.
*/
public final TableField<DomainRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.postal_address_id</code>.
*/
public final TableField<DomainRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.military_code</code>.
*/
public final TableField<DomainRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.timezone</code>.
*/
public final TableField<DomainRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.reports_enabled</code>.
*/
public final TableField<DomainRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");
/**
* The column <code>idm_reconcile.domain.inn</code>.
*/
public final TableField<DomainRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.leg</code>.
*/
public final TableField<DomainRecord, String> LEG = createField(DSL.name("leg"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.ogrn</code>.
*/
public final TableField<DomainRecord, String> OGRN = createField(DSL.name("ogrn"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.region</code>.
*/
public final TableField<DomainRecord, String> REGION = createField(DSL.name("region"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.epgu_id</code>.
*/
public final TableField<DomainRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.type</code>.
*/
public final TableField<DomainRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.esia_employee_authorization</code>.
*/
public final TableField<DomainRecord, Boolean> ESIA_EMPLOYEE_AUTHORIZATION = createField(DSL.name("esia_employee_authorization"), SQLDataType.BOOLEAN, this, "");
/**
* The column <code>idm_reconcile.domain.default_s3_bucket</code>.
*/
public final TableField<DomainRecord, String> DEFAULT_S3_BUCKET = createField(DSL.name("default_s3_bucket"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.opf</code>.
*/
public final TableField<DomainRecord, String> OPF = createField(DSL.name("opf"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.kpp</code>.
*/
public final TableField<DomainRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.checking_account</code>.
*/
public final TableField<DomainRecord, String> CHECKING_ACCOUNT = createField(DSL.name("checking_account"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.bik</code>.
*/
public final TableField<DomainRecord, String> BIK = createField(DSL.name("bik"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.bank_name</code>.
*/
public final TableField<DomainRecord, String> BANK_NAME = createField(DSL.name("bank_name"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.bank_correspondent_account</code>.
*/
public final TableField<DomainRecord, String> BANK_CORRESPONDENT_ACCOUNT = createField(DSL.name("bank_correspondent_account"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.oktmo</code>.
*/
public final TableField<DomainRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.okato</code>.
*/
public final TableField<DomainRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.gov_registration_date</code>.
*/
public final TableField<DomainRecord, String> GOV_REGISTRATION_DATE = createField(DSL.name("gov_registration_date"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.gov_organization_type</code>.
*/
public final TableField<DomainRecord, String> GOV_ORGANIZATION_TYPE = createField(DSL.name("gov_organization_type"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.alias_key</code>.
*/
public final TableField<DomainRecord, String> ALIAS_KEY = createField(DSL.name("alias_key"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.pass_key</code>.
*/
public final TableField<DomainRecord, String> PASS_KEY = createField(DSL.name("pass_key"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.certificate</code>.
*/
public final TableField<DomainRecord, String> CERTIFICATE = createField(DSL.name("certificate"), SQLDataType.VARCHAR(2048), this, "");
/**
* The column <code>idm_reconcile.domain.account_number_tofk</code>.
*/
public final TableField<DomainRecord, String> ACCOUNT_NUMBER_TOFK = createField(DSL.name("account_number_tofk"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.bik_tofk</code>.
*/
public final TableField<DomainRecord, String> BIK_TOFK = createField(DSL.name("bik_tofk"), SQLDataType.VARCHAR(255), this, "");
/**
* The column
* <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
*/
public final TableField<DomainRecord, String> CORRESPONDENT_BANK_ACCOUNT_TOFK = createField(DSL.name("correspondent_bank_account_tofk"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.name_tofk</code>.
*/
public final TableField<DomainRecord, String> NAME_TOFK = createField(DSL.name("name_tofk"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.nsi_organization_id</code>.
*/
public final TableField<DomainRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.doc_handle</code>.
*/
public final TableField<DomainRecord, String> DOC_HANDLE = createField(DSL.name("doc_handle"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.division_type</code>.
*/
public final TableField<DomainRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.tns_department_id</code>.
*/
public final TableField<DomainRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.enabled</code>.
*/
public final TableField<DomainRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN, this, "");
/**
* The column <code>idm_reconcile.domain.parent</code>.
*/
public final TableField<DomainRecord, String> PARENT = createField(DSL.name("parent"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.region_id</code>.
*/
public final TableField<DomainRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.domain.managed</code>.
*/
public final TableField<DomainRecord, String> MANAGED = createField(DSL.name("managed"), SQLDataType.VARCHAR(255), this, "");
private Domain(Name alias, Table<DomainRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Domain(Name alias, Table<DomainRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>idm_reconcile.domain</code> table reference
*/
public Domain(String alias) {
this(DSL.name(alias), DOMAIN);
}
/**
* Create an aliased <code>idm_reconcile.domain</code> table reference
*/
public Domain(Name alias) {
this(alias, DOMAIN);
}
/**
* Create a <code>idm_reconcile.domain</code> table reference
*/
public Domain() {
this(DSL.name("domain"), null);
}
public <O extends Record> Domain(Table<O> path, ForeignKey<O, DomainRecord> childPath, InverseForeignKey<O, DomainRecord> parentPath) {
super(path, childPath, parentPath, DOMAIN);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class DomainPath extends Domain implements Path<DomainRecord> {
public <O extends Record> DomainPath(Table<O> path, ForeignKey<O, DomainRecord> childPath, InverseForeignKey<O, DomainRecord> parentPath) {
super(path, childPath, parentPath);
}
private DomainPath(Name alias, Table<DomainRecord> aliased) {
super(alias, aliased);
}
@Override
public DomainPath as(String alias) {
return new DomainPath(DSL.name(alias), this);
}
@Override
public DomainPath as(Name alias) {
return new DomainPath(alias, this);
}
@Override
public DomainPath as(Table<?> alias) {
return new DomainPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
}
@Override
public UniqueKey<DomainRecord> getPrimaryKey() {
return Keys.DOMAIN_PKEY;
}
private transient AccountPath _account;
/**
* Get the implicit to-many join path to the
* <code>idm_reconcile.account</code> table
*/
public AccountPath account() {
if (_account == null)
_account = new AccountPath(this, null, Keys.ACCOUNT__FK_DOMAIN.getInverseKey());
return _account;
}
@Override
public Domain as(String alias) {
return new Domain(DSL.name(alias), this);
}
@Override
public Domain as(Name alias) {
return new Domain(alias, this);
}
@Override
public Domain as(Table<?> alias) {
return new Domain(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Domain rename(String name) {
return new Domain(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Domain rename(Name name) {
return new Domain(name, null);
}
/**
* Rename this table
*/
@Override
public Domain rename(Table<?> name) {
return new Domain(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Domain where(Condition condition) {
return new Domain(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Domain where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Domain where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Domain where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Domain where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Domain where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Domain where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Domain where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Domain whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Domain whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,353 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress.PersonIpAddressPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Person extends TableImpl<PersonRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile.person</code>
*/
public static final Person PERSON = new Person();
/**
* The class holding records for this type
*/
@Override
public Class<PersonRecord> getRecordType() {
return PersonRecord.class;
}
/**
* The column <code>idm_reconcile.person.id</code>.
*/
public final TableField<PersonRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>idm_reconcile.person.version</code>.
*/
public final TableField<PersonRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>idm_reconcile.person.modified</code>.
*/
public final TableField<PersonRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>idm_reconcile.person.schema</code>.
*/
public final TableField<PersonRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(100).nullable(false), this, "");
/**
* The column <code>idm_reconcile.person.birthdate</code>.
*/
public final TableField<PersonRecord, Date> BIRTHDATE = createField(DSL.name("birthdate"), SQLDataType.DATE, this, "");
/**
* The column <code>idm_reconcile.person.firstname</code>.
*/
public final TableField<PersonRecord, String> FIRSTNAME = createField(DSL.name("firstname"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.person.middlename</code>.
*/
public final TableField<PersonRecord, String> MIDDLENAME = createField(DSL.name("middlename"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.person.surname</code>.
*/
public final TableField<PersonRecord, String> SURNAME = createField(DSL.name("surname"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.person.sex</code>.
*/
public final TableField<PersonRecord, String> SEX = createField(DSL.name("sex"), SQLDataType.VARCHAR(10), this, "");
/**
* The column <code>idm_reconcile.person.email</code>.
*/
public final TableField<PersonRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.person.photo</code>.
*/
public final TableField<PersonRecord, String> PHOTO = createField(DSL.name("photo"), SQLDataType.CLOB, this, "");
/**
* The column <code>idm_reconcile.person.phone</code>.
*/
public final TableField<PersonRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(50), this, "");
/**
* The column <code>idm_reconcile.person.snils</code>.
*/
public final TableField<PersonRecord, String> SNILS = createField(DSL.name("snils"), SQLDataType.VARCHAR(20), this, "");
/**
* The column <code>idm_reconcile.person.second_factor_enabled</code>.
*/
public final TableField<PersonRecord, Boolean> SECOND_FACTOR_ENABLED = createField(DSL.name("second_factor_enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
/**
* The column <code>idm_reconcile.person.fio</code>.
*/
public final TableField<PersonRecord, String> FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR(255), this, "");
private Person(Name alias, Table<PersonRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Person(Name alias, Table<PersonRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>idm_reconcile.person</code> table reference
*/
public Person(String alias) {
this(DSL.name(alias), PERSON);
}
/**
* Create an aliased <code>idm_reconcile.person</code> table reference
*/
public Person(Name alias) {
this(alias, PERSON);
}
/**
* Create a <code>idm_reconcile.person</code> table reference
*/
public Person() {
this(DSL.name("person"), null);
}
public <O extends Record> Person(Table<O> path, ForeignKey<O, PersonRecord> childPath, InverseForeignKey<O, PersonRecord> parentPath) {
super(path, childPath, parentPath, PERSON);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class PersonPath extends Person implements Path<PersonRecord> {
public <O extends Record> PersonPath(Table<O> path, ForeignKey<O, PersonRecord> childPath, InverseForeignKey<O, PersonRecord> parentPath) {
super(path, childPath, parentPath);
}
private PersonPath(Name alias, Table<PersonRecord> aliased) {
super(alias, aliased);
}
@Override
public PersonPath as(String alias) {
return new PersonPath(DSL.name(alias), this);
}
@Override
public PersonPath as(Name alias) {
return new PersonPath(alias, this);
}
@Override
public PersonPath as(Table<?> alias) {
return new PersonPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
}
@Override
public UniqueKey<PersonRecord> getPrimaryKey() {
return Keys.PERSON_PKEY;
}
private transient AccountPath _account;
/**
* Get the implicit to-many join path to the
* <code>idm_reconcile.account</code> table
*/
public AccountPath account() {
if (_account == null)
_account = new AccountPath(this, null, Keys.ACCOUNT__FK_PERSON.getInverseKey());
return _account;
}
private transient PersonIpAddressPath _personIpAddress;
/**
* Get the implicit to-many join path to the
* <code>idm_reconcile.person_ip_address</code> table
*/
public PersonIpAddressPath personIpAddress() {
if (_personIpAddress == null)
_personIpAddress = new PersonIpAddressPath(this, null, Keys.PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON.getInverseKey());
return _personIpAddress;
}
@Override
public Person as(String alias) {
return new Person(DSL.name(alias), this);
}
@Override
public Person as(Name alias) {
return new Person(alias, this);
}
@Override
public Person as(Table<?> alias) {
return new Person(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Person rename(String name) {
return new Person(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Person rename(Name name) {
return new Person(name, null);
}
/**
* Rename this table
*/
@Override
public Person rename(Table<?> name) {
return new Person(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Person where(Condition condition) {
return new Person(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Person where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Person where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Person where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Person where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Person where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Person where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Person where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Person whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Person whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,281 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person.PersonPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.PersonIpAddressRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PersonIpAddress extends TableImpl<PersonIpAddressRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile.person_ip_address</code>
*/
public static final PersonIpAddress PERSON_IP_ADDRESS = new PersonIpAddress();
/**
* The class holding records for this type
*/
@Override
public Class<PersonIpAddressRecord> getRecordType() {
return PersonIpAddressRecord.class;
}
/**
* The column <code>idm_reconcile.person_ip_address.person_id</code>.
*/
public final TableField<PersonIpAddressRecord, String> PERSON_ID = createField(DSL.name("person_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column <code>idm_reconcile.person_ip_address.ip_address</code>.
*/
public final TableField<PersonIpAddressRecord, String> IP_ADDRESS = createField(DSL.name("ip_address"), SQLDataType.VARCHAR(45).nullable(false), this, "");
private PersonIpAddress(Name alias, Table<PersonIpAddressRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private PersonIpAddress(Name alias, Table<PersonIpAddressRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>idm_reconcile.person_ip_address</code> table
* reference
*/
public PersonIpAddress(String alias) {
this(DSL.name(alias), PERSON_IP_ADDRESS);
}
/**
* Create an aliased <code>idm_reconcile.person_ip_address</code> table
* reference
*/
public PersonIpAddress(Name alias) {
this(alias, PERSON_IP_ADDRESS);
}
/**
* Create a <code>idm_reconcile.person_ip_address</code> table reference
*/
public PersonIpAddress() {
this(DSL.name("person_ip_address"), null);
}
public <O extends Record> PersonIpAddress(Table<O> path, ForeignKey<O, PersonIpAddressRecord> childPath, InverseForeignKey<O, PersonIpAddressRecord> parentPath) {
super(path, childPath, parentPath, PERSON_IP_ADDRESS);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class PersonIpAddressPath extends PersonIpAddress implements Path<PersonIpAddressRecord> {
public <O extends Record> PersonIpAddressPath(Table<O> path, ForeignKey<O, PersonIpAddressRecord> childPath, InverseForeignKey<O, PersonIpAddressRecord> parentPath) {
super(path, childPath, parentPath);
}
private PersonIpAddressPath(Name alias, Table<PersonIpAddressRecord> aliased) {
super(alias, aliased);
}
@Override
public PersonIpAddressPath as(String alias) {
return new PersonIpAddressPath(DSL.name(alias), this);
}
@Override
public PersonIpAddressPath as(Name alias) {
return new PersonIpAddressPath(alias, this);
}
@Override
public PersonIpAddressPath as(Table<?> alias) {
return new PersonIpAddressPath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
}
@Override
public UniqueKey<PersonIpAddressRecord> getPrimaryKey() {
return Keys.PK_PERSON_IP;
}
@Override
public List<ForeignKey<PersonIpAddressRecord, ?>> getReferences() {
return Arrays.asList(Keys.PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON);
}
private transient PersonPath _person;
/**
* Get the implicit join path to the <code>idm_reconcile.person</code>
* table.
*/
public PersonPath person() {
if (_person == null)
_person = new PersonPath(this, Keys.PERSON_IP_ADDRESS__FK_PERSON_IP_PERSON, null);
return _person;
}
@Override
public PersonIpAddress as(String alias) {
return new PersonIpAddress(DSL.name(alias), this);
}
@Override
public PersonIpAddress as(Name alias) {
return new PersonIpAddress(alias, this);
}
@Override
public PersonIpAddress as(Table<?> alias) {
return new PersonIpAddress(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public PersonIpAddress rename(String name) {
return new PersonIpAddress(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public PersonIpAddress rename(Name name) {
return new PersonIpAddress(name, null);
}
/**
* Rename this table
*/
@Override
public PersonIpAddress rename(Table<?> name) {
return new PersonIpAddress(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonIpAddress where(Condition condition) {
return new PersonIpAddress(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonIpAddress where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonIpAddress where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonIpAddress where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonIpAddress where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonIpAddress where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonIpAddress where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public PersonIpAddress where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonIpAddress whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public PersonIpAddress whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,327 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
import java.sql.Timestamp;
import java.util.Collection;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Path;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole.AccountRolePath;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Role extends TableImpl<RoleRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>idm_reconcile.role</code>
*/
public static final Role ROLE = new Role();
/**
* The class holding records for this type
*/
@Override
public Class<RoleRecord> getRecordType() {
return RoleRecord.class;
}
/**
* The column <code>idm_reconcile.role.id</code>.
*/
public final TableField<RoleRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>idm_reconcile.role.version</code>.
*/
public final TableField<RoleRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
/**
* The column <code>idm_reconcile.role.modified</code>.
*/
public final TableField<RoleRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
/**
* The column <code>idm_reconcile.role.schema</code>.
*/
public final TableField<RoleRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(255).nullable(false), this, "");
/**
* The column <code>idm_reconcile.role.name</code>.
*/
public final TableField<RoleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.role.shortname</code>.
*/
public final TableField<RoleRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.role.display_name</code>.
*/
public final TableField<RoleRecord, String> DISPLAY_NAME = createField(DSL.name("display_name"), SQLDataType.VARCHAR(255), this, "");
/**
* The column <code>idm_reconcile.role.sessions_limit</code>.
*/
public final TableField<RoleRecord, Integer> SESSIONS_LIMIT = createField(DSL.name("sessions_limit"), SQLDataType.INTEGER, this, "");
/**
* The column <code>idm_reconcile.role.ervu_role</code>.
*/
public final TableField<RoleRecord, Boolean> ERVU_ROLE = createField(DSL.name("ervu_role"), SQLDataType.BOOLEAN, this, "");
/**
* The column <code>idm_reconcile.role.imported</code>.
*/
public final TableField<RoleRecord, Integer> IMPORTED = createField(DSL.name("imported"), SQLDataType.INTEGER, this, "");
/**
* The column <code>idm_reconcile.role.description</code>.
*/
public final TableField<RoleRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.CLOB, this, "");
private Role(Name alias, Table<RoleRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private Role(Name alias, Table<RoleRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased <code>idm_reconcile.role</code> table reference
*/
public Role(String alias) {
this(DSL.name(alias), ROLE);
}
/**
* Create an aliased <code>idm_reconcile.role</code> table reference
*/
public Role(Name alias) {
this(alias, ROLE);
}
/**
* Create a <code>idm_reconcile.role</code> table reference
*/
public Role() {
this(DSL.name("role"), null);
}
public <O extends Record> Role(Table<O> path, ForeignKey<O, RoleRecord> childPath, InverseForeignKey<O, RoleRecord> parentPath) {
super(path, childPath, parentPath, ROLE);
}
/**
* A subtype implementing {@link Path} for simplified path-based joins.
*/
public static class RolePath extends Role implements Path<RoleRecord> {
public <O extends Record> RolePath(Table<O> path, ForeignKey<O, RoleRecord> childPath, InverseForeignKey<O, RoleRecord> parentPath) {
super(path, childPath, parentPath);
}
private RolePath(Name alias, Table<RoleRecord> aliased) {
super(alias, aliased);
}
@Override
public RolePath as(String alias) {
return new RolePath(DSL.name(alias), this);
}
@Override
public RolePath as(Name alias) {
return new RolePath(alias, this);
}
@Override
public RolePath as(Table<?> alias) {
return new RolePath(alias.getQualifiedName(), this);
}
}
@Override
public Schema getSchema() {
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
}
@Override
public UniqueKey<RoleRecord> getPrimaryKey() {
return Keys.ROLE_PKEY;
}
private transient AccountRolePath _accountRole;
/**
* Get the implicit to-many join path to the
* <code>idm_reconcile.account_role</code> table
*/
public AccountRolePath accountRole() {
if (_accountRole == null)
_accountRole = new AccountRolePath(this, null, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE.getInverseKey());
return _accountRole;
}
/**
* Get the implicit many-to-many join path to the
* <code>idm_reconcile.account</code> table
*/
public AccountPath account() {
return accountRole().account();
}
@Override
public Role as(String alias) {
return new Role(DSL.name(alias), this);
}
@Override
public Role as(Name alias) {
return new Role(alias, this);
}
@Override
public Role as(Table<?> alias) {
return new Role(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Role rename(String name) {
return new Role(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Role rename(Name name) {
return new Role(name, null);
}
/**
* Rename this table
*/
@Override
public Role rename(Table<?> name) {
return new Role(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public Role where(Condition condition) {
return new Role(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public Role where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Role where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public Role where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Role where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Role where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Role where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public Role where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public Role whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public Role whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -0,0 +1,246 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AccountRecord extends UpdatableRecordImpl<AccountRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>idm_reconcile.account.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>idm_reconcile.account.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>idm_reconcile.account.version</code>.
*/
public void setVersion(Integer value) {
set(1, value);
}
/**
* Getter for <code>idm_reconcile.account.version</code>.
*/
public Integer getVersion() {
return (Integer) get(1);
}
/**
* Setter for <code>idm_reconcile.account.modified</code>.
*/
public void setModified(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>idm_reconcile.account.modified</code>.
*/
public Timestamp getModified() {
return (Timestamp) get(2);
}
/**
* Setter for <code>idm_reconcile.account.schema</code>.
*/
public void setSchema(String value) {
set(3, value);
}
/**
* Getter for <code>idm_reconcile.account.schema</code>.
*/
public String getSchema() {
return (String) get(3);
}
/**
* Setter for <code>idm_reconcile.account.start</code>.
*/
public void setStart(String value) {
set(4, value);
}
/**
* Getter for <code>idm_reconcile.account.start</code>.
*/
public String getStart() {
return (String) get(4);
}
/**
* Setter for <code>idm_reconcile.account.finish</code>.
*/
public void setFinish(String value) {
set(5, value);
}
/**
* Getter for <code>idm_reconcile.account.finish</code>.
*/
public String getFinish() {
return (String) get(5);
}
/**
* Setter for <code>idm_reconcile.account.enabled</code>.
*/
public void setEnabled(Boolean value) {
set(6, value);
}
/**
* Getter for <code>idm_reconcile.account.enabled</code>.
*/
public Boolean getEnabled() {
return (Boolean) get(6);
}
/**
* Setter for <code>idm_reconcile.account.position</code>.
*/
public void setPosition(String value) {
set(7, value);
}
/**
* Getter for <code>idm_reconcile.account.position</code>.
*/
public String getPosition() {
return (String) get(7);
}
/**
* Setter for <code>idm_reconcile.account.fio</code>.
*/
public void setFio(String value) {
set(8, value);
}
/**
* Getter for <code>idm_reconcile.account.fio</code>.
*/
public String getFio() {
return (String) get(8);
}
/**
* Setter for <code>idm_reconcile.account.work_mail</code>.
*/
public void setWorkMail(String value) {
set(9, value);
}
/**
* Getter for <code>idm_reconcile.account.work_mail</code>.
*/
public String getWorkMail() {
return (String) get(9);
}
/**
* Setter for <code>idm_reconcile.account.esia_account</code>.
*/
public void setEsiaAccount(Boolean value) {
set(10, value);
}
/**
* Getter for <code>idm_reconcile.account.esia_account</code>.
*/
public Boolean getEsiaAccount() {
return (Boolean) get(10);
}
/**
* Setter for <code>idm_reconcile.account.domain_id</code>.
*/
public void setDomainId(String value) {
set(11, value);
}
/**
* Getter for <code>idm_reconcile.account.domain_id</code>.
*/
public String getDomainId() {
return (String) get(11);
}
/**
* Setter for <code>idm_reconcile.account.person_id</code>.
*/
public void setPersonId(String value) {
set(12, value);
}
/**
* Getter for <code>idm_reconcile.account.person_id</code>.
*/
public String getPersonId() {
return (String) get(12);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached AccountRecord
*/
public AccountRecord() {
super(Account.ACCOUNT);
}
/**
* Create a detached, initialised AccountRecord
*/
public AccountRecord(String id, Integer version, Timestamp modified, String schema, String start, String finish, Boolean enabled, String position, String fio, String workMail, Boolean esiaAccount, String domainId, String personId) {
super(Account.ACCOUNT);
setId(id);
setVersion(version);
setModified(modified);
setSchema(schema);
setStart(start);
setFinish(finish);
setEnabled(enabled);
setPosition(position);
setFio(fio);
setWorkMail(workMail);
setEsiaAccount(esiaAccount);
setDomainId(domainId);
setPersonId(personId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,79 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class AccountRoleRecord extends UpdatableRecordImpl<AccountRoleRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>idm_reconcile.account_role.account_id</code>.
*/
public void setAccountId(String value) {
set(0, value);
}
/**
* Getter for <code>idm_reconcile.account_role.account_id</code>.
*/
public String getAccountId() {
return (String) get(0);
}
/**
* Setter for <code>idm_reconcile.account_role.role_id</code>.
*/
public void setRoleId(String value) {
set(1, value);
}
/**
* Getter for <code>idm_reconcile.account_role.role_id</code>.
*/
public String getRoleId() {
return (String) get(1);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record2<String, String> key() {
return (Record2) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached AccountRoleRecord
*/
public AccountRoleRecord() {
super(AccountRole.ACCOUNT_ROLE);
}
/**
* Create a detached, initialised AccountRoleRecord
*/
public AccountRoleRecord(String accountId, String roleId) {
super(AccountRole.ACCOUNT_ROLE);
setAccountId(accountId);
setRoleId(roleId);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,803 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class DomainRecord extends UpdatableRecordImpl<DomainRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>idm_reconcile.domain.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>idm_reconcile.domain.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>idm_reconcile.domain.version</code>.
*/
public void setVersion(Integer value) {
set(1, value);
}
/**
* Getter for <code>idm_reconcile.domain.version</code>.
*/
public Integer getVersion() {
return (Integer) get(1);
}
/**
* Setter for <code>idm_reconcile.domain.modified</code>.
*/
public void setModified(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>idm_reconcile.domain.modified</code>.
*/
public Timestamp getModified() {
return (Timestamp) get(2);
}
/**
* Setter for <code>idm_reconcile.domain.schema</code>.
*/
public void setSchema(String value) {
set(3, value);
}
/**
* Getter for <code>idm_reconcile.domain.schema</code>.
*/
public String getSchema() {
return (String) get(3);
}
/**
* Setter for <code>idm_reconcile.domain.name</code>.
*/
public void setName(String value) {
set(4, value);
}
/**
* Getter for <code>idm_reconcile.domain.name</code>.
*/
public String getName() {
return (String) get(4);
}
/**
* Setter for <code>idm_reconcile.domain.shortname</code>.
*/
public void setShortname(String value) {
set(5, value);
}
/**
* Getter for <code>idm_reconcile.domain.shortname</code>.
*/
public String getShortname() {
return (String) get(5);
}
/**
* Setter for <code>idm_reconcile.domain.fullname</code>.
*/
public void setFullname(String value) {
set(6, value);
}
/**
* Getter for <code>idm_reconcile.domain.fullname</code>.
*/
public String getFullname() {
return (String) get(6);
}
/**
* Setter for <code>idm_reconcile.domain.dns</code>.
*/
public void setDns(String value) {
set(7, value);
}
/**
* Getter for <code>idm_reconcile.domain.dns</code>.
*/
public String getDns() {
return (String) get(7);
}
/**
* Setter for <code>idm_reconcile.domain.email</code>.
*/
public void setEmail(String value) {
set(8, value);
}
/**
* Getter for <code>idm_reconcile.domain.email</code>.
*/
public String getEmail() {
return (String) get(8);
}
/**
* Setter for <code>idm_reconcile.domain.phone</code>.
*/
public void setPhone(String value) {
set(9, value);
}
/**
* Getter for <code>idm_reconcile.domain.phone</code>.
*/
public String getPhone() {
return (String) get(9);
}
/**
* Setter for <code>idm_reconcile.domain.address</code>.
*/
public void setAddress(String value) {
set(10, value);
}
/**
* Getter for <code>idm_reconcile.domain.address</code>.
*/
public String getAddress() {
return (String) get(10);
}
/**
* Setter for <code>idm_reconcile.domain.postal_address</code>.
*/
public void setPostalAddress(String value) {
set(11, value);
}
/**
* Getter for <code>idm_reconcile.domain.postal_address</code>.
*/
public String getPostalAddress() {
return (String) get(11);
}
/**
* Setter for <code>idm_reconcile.domain.address_id</code>.
*/
public void setAddressId(String value) {
set(12, value);
}
/**
* Getter for <code>idm_reconcile.domain.address_id</code>.
*/
public String getAddressId() {
return (String) get(12);
}
/**
* Setter for <code>idm_reconcile.domain.postal_address_id</code>.
*/
public void setPostalAddressId(String value) {
set(13, value);
}
/**
* Getter for <code>idm_reconcile.domain.postal_address_id</code>.
*/
public String getPostalAddressId() {
return (String) get(13);
}
/**
* Setter for <code>idm_reconcile.domain.military_code</code>.
*/
public void setMilitaryCode(String value) {
set(14, value);
}
/**
* Getter for <code>idm_reconcile.domain.military_code</code>.
*/
public String getMilitaryCode() {
return (String) get(14);
}
/**
* Setter for <code>idm_reconcile.domain.timezone</code>.
*/
public void setTimezone(String value) {
set(15, value);
}
/**
* Getter for <code>idm_reconcile.domain.timezone</code>.
*/
public String getTimezone() {
return (String) get(15);
}
/**
* Setter for <code>idm_reconcile.domain.reports_enabled</code>.
*/
public void setReportsEnabled(Boolean value) {
set(16, value);
}
/**
* Getter for <code>idm_reconcile.domain.reports_enabled</code>.
*/
public Boolean getReportsEnabled() {
return (Boolean) get(16);
}
/**
* Setter for <code>idm_reconcile.domain.inn</code>.
*/
public void setInn(String value) {
set(17, value);
}
/**
* Getter for <code>idm_reconcile.domain.inn</code>.
*/
public String getInn() {
return (String) get(17);
}
/**
* Setter for <code>idm_reconcile.domain.leg</code>.
*/
public void setLeg(String value) {
set(18, value);
}
/**
* Getter for <code>idm_reconcile.domain.leg</code>.
*/
public String getLeg() {
return (String) get(18);
}
/**
* Setter for <code>idm_reconcile.domain.ogrn</code>.
*/
public void setOgrn(String value) {
set(19, value);
}
/**
* Getter for <code>idm_reconcile.domain.ogrn</code>.
*/
public String getOgrn() {
return (String) get(19);
}
/**
* Setter for <code>idm_reconcile.domain.region</code>.
*/
public void setRegion(String value) {
set(20, value);
}
/**
* Getter for <code>idm_reconcile.domain.region</code>.
*/
public String getRegion() {
return (String) get(20);
}
/**
* Setter for <code>idm_reconcile.domain.epgu_id</code>.
*/
public void setEpguId(String value) {
set(21, value);
}
/**
* Getter for <code>idm_reconcile.domain.epgu_id</code>.
*/
public String getEpguId() {
return (String) get(21);
}
/**
* Setter for <code>idm_reconcile.domain.type</code>.
*/
public void setType(String value) {
set(22, value);
}
/**
* Getter for <code>idm_reconcile.domain.type</code>.
*/
public String getType() {
return (String) get(22);
}
/**
* Setter for <code>idm_reconcile.domain.esia_employee_authorization</code>.
*/
public void setEsiaEmployeeAuthorization(Boolean value) {
set(23, value);
}
/**
* Getter for <code>idm_reconcile.domain.esia_employee_authorization</code>.
*/
public Boolean getEsiaEmployeeAuthorization() {
return (Boolean) get(23);
}
/**
* Setter for <code>idm_reconcile.domain.default_s3_bucket</code>.
*/
public void setDefaultS3Bucket(String value) {
set(24, value);
}
/**
* Getter for <code>idm_reconcile.domain.default_s3_bucket</code>.
*/
public String getDefaultS3Bucket() {
return (String) get(24);
}
/**
* Setter for <code>idm_reconcile.domain.opf</code>.
*/
public void setOpf(String value) {
set(25, value);
}
/**
* Getter for <code>idm_reconcile.domain.opf</code>.
*/
public String getOpf() {
return (String) get(25);
}
/**
* Setter for <code>idm_reconcile.domain.kpp</code>.
*/
public void setKpp(String value) {
set(26, value);
}
/**
* Getter for <code>idm_reconcile.domain.kpp</code>.
*/
public String getKpp() {
return (String) get(26);
}
/**
* Setter for <code>idm_reconcile.domain.checking_account</code>.
*/
public void setCheckingAccount(String value) {
set(27, value);
}
/**
* Getter for <code>idm_reconcile.domain.checking_account</code>.
*/
public String getCheckingAccount() {
return (String) get(27);
}
/**
* Setter for <code>idm_reconcile.domain.bik</code>.
*/
public void setBik(String value) {
set(28, value);
}
/**
* Getter for <code>idm_reconcile.domain.bik</code>.
*/
public String getBik() {
return (String) get(28);
}
/**
* Setter for <code>idm_reconcile.domain.bank_name</code>.
*/
public void setBankName(String value) {
set(29, value);
}
/**
* Getter for <code>idm_reconcile.domain.bank_name</code>.
*/
public String getBankName() {
return (String) get(29);
}
/**
* Setter for <code>idm_reconcile.domain.bank_correspondent_account</code>.
*/
public void setBankCorrespondentAccount(String value) {
set(30, value);
}
/**
* Getter for <code>idm_reconcile.domain.bank_correspondent_account</code>.
*/
public String getBankCorrespondentAccount() {
return (String) get(30);
}
/**
* Setter for <code>idm_reconcile.domain.oktmo</code>.
*/
public void setOktmo(String value) {
set(31, value);
}
/**
* Getter for <code>idm_reconcile.domain.oktmo</code>.
*/
public String getOktmo() {
return (String) get(31);
}
/**
* Setter for <code>idm_reconcile.domain.okato</code>.
*/
public void setOkato(String value) {
set(32, value);
}
/**
* Getter for <code>idm_reconcile.domain.okato</code>.
*/
public String getOkato() {
return (String) get(32);
}
/**
* Setter for <code>idm_reconcile.domain.gov_registration_date</code>.
*/
public void setGovRegistrationDate(String value) {
set(33, value);
}
/**
* Getter for <code>idm_reconcile.domain.gov_registration_date</code>.
*/
public String getGovRegistrationDate() {
return (String) get(33);
}
/**
* Setter for <code>idm_reconcile.domain.gov_organization_type</code>.
*/
public void setGovOrganizationType(String value) {
set(34, value);
}
/**
* Getter for <code>idm_reconcile.domain.gov_organization_type</code>.
*/
public String getGovOrganizationType() {
return (String) get(34);
}
/**
* Setter for <code>idm_reconcile.domain.alias_key</code>.
*/
public void setAliasKey(String value) {
set(35, value);
}
/**
* Getter for <code>idm_reconcile.domain.alias_key</code>.
*/
public String getAliasKey() {
return (String) get(35);
}
/**
* Setter for <code>idm_reconcile.domain.pass_key</code>.
*/
public void setPassKey(String value) {
set(36, value);
}
/**
* Getter for <code>idm_reconcile.domain.pass_key</code>.
*/
public String getPassKey() {
return (String) get(36);
}
/**
* Setter for <code>idm_reconcile.domain.certificate</code>.
*/
public void setCertificate(String value) {
set(37, value);
}
/**
* Getter for <code>idm_reconcile.domain.certificate</code>.
*/
public String getCertificate() {
return (String) get(37);
}
/**
* Setter for <code>idm_reconcile.domain.account_number_tofk</code>.
*/
public void setAccountNumberTofk(String value) {
set(38, value);
}
/**
* Getter for <code>idm_reconcile.domain.account_number_tofk</code>.
*/
public String getAccountNumberTofk() {
return (String) get(38);
}
/**
* Setter for <code>idm_reconcile.domain.bik_tofk</code>.
*/
public void setBikTofk(String value) {
set(39, value);
}
/**
* Getter for <code>idm_reconcile.domain.bik_tofk</code>.
*/
public String getBikTofk() {
return (String) get(39);
}
/**
* Setter for
* <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
*/
public void setCorrespondentBankAccountTofk(String value) {
set(40, value);
}
/**
* Getter for
* <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
*/
public String getCorrespondentBankAccountTofk() {
return (String) get(40);
}
/**
* Setter for <code>idm_reconcile.domain.name_tofk</code>.
*/
public void setNameTofk(String value) {
set(41, value);
}
/**
* Getter for <code>idm_reconcile.domain.name_tofk</code>.
*/
public String getNameTofk() {
return (String) get(41);
}
/**
* Setter for <code>idm_reconcile.domain.nsi_organization_id</code>.
*/
public void setNsiOrganizationId(String value) {
set(42, value);
}
/**
* Getter for <code>idm_reconcile.domain.nsi_organization_id</code>.
*/
public String getNsiOrganizationId() {
return (String) get(42);
}
/**
* Setter for <code>idm_reconcile.domain.doc_handle</code>.
*/
public void setDocHandle(String value) {
set(43, value);
}
/**
* Getter for <code>idm_reconcile.domain.doc_handle</code>.
*/
public String getDocHandle() {
return (String) get(43);
}
/**
* Setter for <code>idm_reconcile.domain.division_type</code>.
*/
public void setDivisionType(String value) {
set(44, value);
}
/**
* Getter for <code>idm_reconcile.domain.division_type</code>.
*/
public String getDivisionType() {
return (String) get(44);
}
/**
* Setter for <code>idm_reconcile.domain.tns_department_id</code>.
*/
public void setTnsDepartmentId(String value) {
set(45, value);
}
/**
* Getter for <code>idm_reconcile.domain.tns_department_id</code>.
*/
public String getTnsDepartmentId() {
return (String) get(45);
}
/**
* Setter for <code>idm_reconcile.domain.enabled</code>.
*/
public void setEnabled(Boolean value) {
set(46, value);
}
/**
* Getter for <code>idm_reconcile.domain.enabled</code>.
*/
public Boolean getEnabled() {
return (Boolean) get(46);
}
/**
* Setter for <code>idm_reconcile.domain.parent</code>.
*/
public void setParent(String value) {
set(47, value);
}
/**
* Getter for <code>idm_reconcile.domain.parent</code>.
*/
public String getParent() {
return (String) get(47);
}
/**
* Setter for <code>idm_reconcile.domain.region_id</code>.
*/
public void setRegionId(String value) {
set(48, value);
}
/**
* Getter for <code>idm_reconcile.domain.region_id</code>.
*/
public String getRegionId() {
return (String) get(48);
}
/**
* Setter for <code>idm_reconcile.domain.managed</code>.
*/
public void setManaged(String value) {
set(49, value);
}
/**
* Getter for <code>idm_reconcile.domain.managed</code>.
*/
public String getManaged() {
return (String) get(49);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached DomainRecord
*/
public DomainRecord() {
super(Domain.DOMAIN);
}
/**
* Create a detached, initialised DomainRecord
*/
public DomainRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String fullname, String dns, String email, String phone, String address, String postalAddress, String addressId, String postalAddressId, String militaryCode, String timezone, Boolean reportsEnabled, String inn, String leg, String ogrn, String region, String epguId, String type, Boolean esiaEmployeeAuthorization, String defaultS3Bucket, String opf, String kpp, String checkingAccount, String bik, String bankName, String bankCorrespondentAccount, String oktmo, String okato, String govRegistrationDate, String govOrganizationType, String aliasKey, String passKey, String certificate, String accountNumberTofk, String bikTofk, String correspondentBankAccountTofk, String nameTofk, String nsiOrganizationId, String docHandle, String divisionType, String tnsDepartmentId, Boolean enabled, String parent, String regionId, String managed) {
super(Domain.DOMAIN);
setId(id);
setVersion(version);
setModified(modified);
setSchema(schema);
setName(name);
setShortname(shortname);
setFullname(fullname);
setDns(dns);
setEmail(email);
setPhone(phone);
setAddress(address);
setPostalAddress(postalAddress);
setAddressId(addressId);
setPostalAddressId(postalAddressId);
setMilitaryCode(militaryCode);
setTimezone(timezone);
setReportsEnabled(reportsEnabled);
setInn(inn);
setLeg(leg);
setOgrn(ogrn);
setRegion(region);
setEpguId(epguId);
setType(type);
setEsiaEmployeeAuthorization(esiaEmployeeAuthorization);
setDefaultS3Bucket(defaultS3Bucket);
setOpf(opf);
setKpp(kpp);
setCheckingAccount(checkingAccount);
setBik(bik);
setBankName(bankName);
setBankCorrespondentAccount(bankCorrespondentAccount);
setOktmo(oktmo);
setOkato(okato);
setGovRegistrationDate(govRegistrationDate);
setGovOrganizationType(govOrganizationType);
setAliasKey(aliasKey);
setPassKey(passKey);
setCertificate(certificate);
setAccountNumberTofk(accountNumberTofk);
setBikTofk(bikTofk);
setCorrespondentBankAccountTofk(correspondentBankAccountTofk);
setNameTofk(nameTofk);
setNsiOrganizationId(nsiOrganizationId);
setDocHandle(docHandle);
setDivisionType(divisionType);
setTnsDepartmentId(tnsDepartmentId);
setEnabled(enabled);
setParent(parent);
setRegionId(regionId);
setManaged(managed);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,79 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
import org.jooq.Record2;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.PersonIpAddress;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PersonIpAddressRecord extends UpdatableRecordImpl<PersonIpAddressRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>idm_reconcile.person_ip_address.person_id</code>.
*/
public void setPersonId(String value) {
set(0, value);
}
/**
* Getter for <code>idm_reconcile.person_ip_address.person_id</code>.
*/
public String getPersonId() {
return (String) get(0);
}
/**
* Setter for <code>idm_reconcile.person_ip_address.ip_address</code>.
*/
public void setIpAddress(String value) {
set(1, value);
}
/**
* Getter for <code>idm_reconcile.person_ip_address.ip_address</code>.
*/
public String getIpAddress() {
return (String) get(1);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record2<String, String> key() {
return (Record2) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PersonIpAddressRecord
*/
public PersonIpAddressRecord() {
super(PersonIpAddress.PERSON_IP_ADDRESS);
}
/**
* Create a detached, initialised PersonIpAddressRecord
*/
public PersonIpAddressRecord(String personId, String ipAddress) {
super(PersonIpAddress.PERSON_IP_ADDRESS);
setPersonId(personId);
setIpAddress(ipAddress);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,277 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Person;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class PersonRecord extends UpdatableRecordImpl<PersonRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>idm_reconcile.person.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>idm_reconcile.person.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>idm_reconcile.person.version</code>.
*/
public void setVersion(Integer value) {
set(1, value);
}
/**
* Getter for <code>idm_reconcile.person.version</code>.
*/
public Integer getVersion() {
return (Integer) get(1);
}
/**
* Setter for <code>idm_reconcile.person.modified</code>.
*/
public void setModified(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>idm_reconcile.person.modified</code>.
*/
public Timestamp getModified() {
return (Timestamp) get(2);
}
/**
* Setter for <code>idm_reconcile.person.schema</code>.
*/
public void setSchema(String value) {
set(3, value);
}
/**
* Getter for <code>idm_reconcile.person.schema</code>.
*/
public String getSchema() {
return (String) get(3);
}
/**
* Setter for <code>idm_reconcile.person.birthdate</code>.
*/
public void setBirthdate(Date value) {
set(4, value);
}
/**
* Getter for <code>idm_reconcile.person.birthdate</code>.
*/
public Date getBirthdate() {
return (Date) get(4);
}
/**
* Setter for <code>idm_reconcile.person.firstname</code>.
*/
public void setFirstname(String value) {
set(5, value);
}
/**
* Getter for <code>idm_reconcile.person.firstname</code>.
*/
public String getFirstname() {
return (String) get(5);
}
/**
* Setter for <code>idm_reconcile.person.middlename</code>.
*/
public void setMiddlename(String value) {
set(6, value);
}
/**
* Getter for <code>idm_reconcile.person.middlename</code>.
*/
public String getMiddlename() {
return (String) get(6);
}
/**
* Setter for <code>idm_reconcile.person.surname</code>.
*/
public void setSurname(String value) {
set(7, value);
}
/**
* Getter for <code>idm_reconcile.person.surname</code>.
*/
public String getSurname() {
return (String) get(7);
}
/**
* Setter for <code>idm_reconcile.person.sex</code>.
*/
public void setSex(String value) {
set(8, value);
}
/**
* Getter for <code>idm_reconcile.person.sex</code>.
*/
public String getSex() {
return (String) get(8);
}
/**
* Setter for <code>idm_reconcile.person.email</code>.
*/
public void setEmail(String value) {
set(9, value);
}
/**
* Getter for <code>idm_reconcile.person.email</code>.
*/
public String getEmail() {
return (String) get(9);
}
/**
* Setter for <code>idm_reconcile.person.photo</code>.
*/
public void setPhoto(String value) {
set(10, value);
}
/**
* Getter for <code>idm_reconcile.person.photo</code>.
*/
public String getPhoto() {
return (String) get(10);
}
/**
* Setter for <code>idm_reconcile.person.phone</code>.
*/
public void setPhone(String value) {
set(11, value);
}
/**
* Getter for <code>idm_reconcile.person.phone</code>.
*/
public String getPhone() {
return (String) get(11);
}
/**
* Setter for <code>idm_reconcile.person.snils</code>.
*/
public void setSnils(String value) {
set(12, value);
}
/**
* Getter for <code>idm_reconcile.person.snils</code>.
*/
public String getSnils() {
return (String) get(12);
}
/**
* Setter for <code>idm_reconcile.person.second_factor_enabled</code>.
*/
public void setSecondFactorEnabled(Boolean value) {
set(13, value);
}
/**
* Getter for <code>idm_reconcile.person.second_factor_enabled</code>.
*/
public Boolean getSecondFactorEnabled() {
return (Boolean) get(13);
}
/**
* Setter for <code>idm_reconcile.person.fio</code>.
*/
public void setFio(String value) {
set(14, value);
}
/**
* Getter for <code>idm_reconcile.person.fio</code>.
*/
public String getFio() {
return (String) get(14);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached PersonRecord
*/
public PersonRecord() {
super(Person.PERSON);
}
/**
* Create a detached, initialised PersonRecord
*/
public PersonRecord(String id, Integer version, Timestamp modified, String schema, Date birthdate, String firstname, String middlename, String surname, String sex, String email, String photo, String phone, String snils, Boolean secondFactorEnabled, String fio) {
super(Person.PERSON);
setId(id);
setVersion(version);
setModified(modified);
setSchema(schema);
setBirthdate(birthdate);
setFirstname(firstname);
setMiddlename(middlename);
setSurname(surname);
setSex(sex);
setEmail(email);
setPhoto(photo);
setPhone(phone);
setSnils(snils);
setSecondFactorEnabled(secondFactorEnabled);
setFio(fio);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,216 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class RoleRecord extends UpdatableRecordImpl<RoleRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>idm_reconcile.role.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>idm_reconcile.role.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>idm_reconcile.role.version</code>.
*/
public void setVersion(Integer value) {
set(1, value);
}
/**
* Getter for <code>idm_reconcile.role.version</code>.
*/
public Integer getVersion() {
return (Integer) get(1);
}
/**
* Setter for <code>idm_reconcile.role.modified</code>.
*/
public void setModified(Timestamp value) {
set(2, value);
}
/**
* Getter for <code>idm_reconcile.role.modified</code>.
*/
public Timestamp getModified() {
return (Timestamp) get(2);
}
/**
* Setter for <code>idm_reconcile.role.schema</code>.
*/
public void setSchema(String value) {
set(3, value);
}
/**
* Getter for <code>idm_reconcile.role.schema</code>.
*/
public String getSchema() {
return (String) get(3);
}
/**
* Setter for <code>idm_reconcile.role.name</code>.
*/
public void setName(String value) {
set(4, value);
}
/**
* Getter for <code>idm_reconcile.role.name</code>.
*/
public String getName() {
return (String) get(4);
}
/**
* Setter for <code>idm_reconcile.role.shortname</code>.
*/
public void setShortname(String value) {
set(5, value);
}
/**
* Getter for <code>idm_reconcile.role.shortname</code>.
*/
public String getShortname() {
return (String) get(5);
}
/**
* Setter for <code>idm_reconcile.role.display_name</code>.
*/
public void setDisplayName(String value) {
set(6, value);
}
/**
* Getter for <code>idm_reconcile.role.display_name</code>.
*/
public String getDisplayName() {
return (String) get(6);
}
/**
* Setter for <code>idm_reconcile.role.sessions_limit</code>.
*/
public void setSessionsLimit(Integer value) {
set(7, value);
}
/**
* Getter for <code>idm_reconcile.role.sessions_limit</code>.
*/
public Integer getSessionsLimit() {
return (Integer) get(7);
}
/**
* Setter for <code>idm_reconcile.role.ervu_role</code>.
*/
public void setErvuRole(Boolean value) {
set(8, value);
}
/**
* Getter for <code>idm_reconcile.role.ervu_role</code>.
*/
public Boolean getErvuRole() {
return (Boolean) get(8);
}
/**
* Setter for <code>idm_reconcile.role.imported</code>.
*/
public void setImported(Integer value) {
set(9, value);
}
/**
* Getter for <code>idm_reconcile.role.imported</code>.
*/
public Integer getImported() {
return (Integer) get(9);
}
/**
* Setter for <code>idm_reconcile.role.description</code>.
*/
public void setDescription(String value) {
set(10, value);
}
/**
* Getter for <code>idm_reconcile.role.description</code>.
*/
public String getDescription() {
return (String) get(10);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached RoleRecord
*/
public RoleRecord() {
super(Role.ROLE);
}
/**
* Create a detached, initialised RoleRecord
*/
public RoleRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String displayName, Integer sessionsLimit, Boolean ervuRole, Integer imported, String description) {
super(Role.ROLE);
setId(id);
setVersion(version);
setModified(modified);
setSchema(schema);
setName(name);
setShortname(shortname);
setDisplayName(displayName);
setSessionsLimit(sessionsLimit);
setErvuRole(ervuRole);
setImported(imported);
setDescription(description);
resetChangedOnNotNull();
}
}

View file

@ -27,5 +27,6 @@
<include file="20250327-db_changes.xml" relativeToChangelogFile="true"/> <include file="20250327-db_changes.xml" relativeToChangelogFile="true"/>
<include file="20250402-db_changes.xml" relativeToChangelogFile="true"/> <include file="20250402-db_changes.xml" relativeToChangelogFile="true"/>
<include file="20250412-db_changes.xml" relativeToChangelogFile="true"/> <include file="20250412-db_changes.xml" relativeToChangelogFile="true"/>
<include file="20250418-SUPPORT-9122_add_idm.xml" relativeToChangelogFile="true"/>
</databaseChangeLog> </databaseChangeLog>