SUPPORT-9122:remove unused
This commit is contained in:
parent
33d9ee206e
commit
42ebfa309a
9 changed files with 8 additions and 1044 deletions
|
|
@ -14,6 +14,7 @@ import org.jooq.impl.CatalogImpl;
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.Actualization;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.Actualization;
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.admin_indicators.AdminIndicators;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.admin_indicators.AdminIndicators;
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Deregistration;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Deregistration;
|
||||||
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.InitRegistrationInfo;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.InitRegistrationInfo;
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.JournalLog;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.JournalLog;
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Metrics;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Metrics;
|
||||||
|
|
@ -51,6 +52,11 @@ public class DefaultCatalog extends CatalogImpl {
|
||||||
*/
|
*/
|
||||||
public final Deregistration DEREGISTRATION = Deregistration.DEREGISTRATION;
|
public final Deregistration DEREGISTRATION = Deregistration.DEREGISTRATION;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The schema <code>idm_reconcile</code>.
|
||||||
|
*/
|
||||||
|
public final IdmReconcile IDM_RECONCILE = IdmReconcile.IDM_RECONCILE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The schema <code>init_registration_info</code>.
|
* The schema <code>init_registration_info</code>.
|
||||||
*/
|
*/
|
||||||
|
|
@ -99,6 +105,7 @@ public class DefaultCatalog extends CatalogImpl {
|
||||||
Actualization.ACTUALIZATION,
|
Actualization.ACTUALIZATION,
|
||||||
AdminIndicators.ADMIN_INDICATORS,
|
AdminIndicators.ADMIN_INDICATORS,
|
||||||
Deregistration.DEREGISTRATION,
|
Deregistration.DEREGISTRATION,
|
||||||
|
IdmReconcile.IDM_RECONCILE,
|
||||||
InitRegistrationInfo.INIT_REGISTRATION_INFO,
|
InitRegistrationInfo.INIT_REGISTRATION_INFO,
|
||||||
JournalLog.JOURNAL_LOG,
|
JournalLog.JOURNAL_LOG,
|
||||||
Metrics.METRICS,
|
Metrics.METRICS,
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ 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.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.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.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.Role;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -48,16 +46,6 @@ public class IdmReconcile extends SchemaImpl {
|
||||||
*/
|
*/
|
||||||
public final Domain DOMAIN = Domain.DOMAIN;
|
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>.
|
* The table <code>idm_reconcile.role</code>.
|
||||||
*/
|
*/
|
||||||
|
|
@ -82,8 +70,6 @@ public class IdmReconcile extends SchemaImpl {
|
||||||
Account.ACCOUNT,
|
Account.ACCOUNT,
|
||||||
AccountRole.ACCOUNT_ROLE,
|
AccountRole.ACCOUNT_ROLE,
|
||||||
Domain.DOMAIN,
|
Domain.DOMAIN,
|
||||||
Person.PERSON,
|
|
||||||
PersonIpAddress.PERSON_IP_ADDRESS,
|
|
||||||
Role.ROLE
|
Role.ROLE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,10 @@ 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.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.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.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.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.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.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.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;
|
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -38,8 +34,6 @@ public class Keys {
|
||||||
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<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<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<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);
|
public static final UniqueKey<RoleRecord> ROLE_PKEY = Internal.createUniqueKey(Role.ROLE, DSL.name("role_pkey"), new TableField[] { Role.ROLE.ID }, true);
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|
@ -47,8 +41,6 @@ public class Keys {
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
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, 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, 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<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);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ 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.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.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.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.Role;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,16 +31,6 @@ public class Tables {
|
||||||
*/
|
*/
|
||||||
public static final Domain DOMAIN = Domain.DOMAIN;
|
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>.
|
* The table <code>idm_reconcile.role</code>.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcil
|
||||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
|
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.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.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.Role.RolePath;
|
||||||
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.AccountRecord;
|
||||||
|
|
||||||
|
|
@ -120,11 +119,6 @@ public class Account extends TableImpl<AccountRecord> {
|
||||||
*/
|
*/
|
||||||
public final TableField<AccountRecord, String> DOMAIN_ID = createField(DSL.name("domain_id"), SQLDataType.VARCHAR(36), this, "");
|
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) {
|
private Account(Name alias, Table<AccountRecord> aliased) {
|
||||||
this(alias, aliased, (Field<?>[]) null, null);
|
this(alias, aliased, (Field<?>[]) null, null);
|
||||||
}
|
}
|
||||||
|
|
@ -197,7 +191,7 @@ public class Account extends TableImpl<AccountRecord> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ForeignKey<AccountRecord, ?>> getReferences() {
|
public List<ForeignKey<AccountRecord, ?>> getReferences() {
|
||||||
return Arrays.asList(Keys.ACCOUNT__FK_DOMAIN, Keys.ACCOUNT__FK_PERSON);
|
return Arrays.asList(Keys.ACCOUNT__FK_DOMAIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
private transient DomainPath _domain;
|
private transient DomainPath _domain;
|
||||||
|
|
@ -213,19 +207,6 @@ public class Account extends TableImpl<AccountRecord> {
|
||||||
return _domain;
|
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;
|
private transient AccountRolePath _accountRole;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,353 +0,0 @@
|
||||||
/*
|
|
||||||
* 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,281 +0,0 @@
|
||||||
/*
|
|
||||||
* 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));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,79 +0,0 @@
|
||||||
/*
|
|
||||||
* 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,277 +0,0 @@
|
||||||
/*
|
|
||||||
* 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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue