Skip to content

Commit 399fc3a

Browse files
author
bwajtr
committed
Commited missing jooq generated classes
1 parent bd12b37 commit 399fc3a

14 files changed

Lines changed: 2091 additions & 0 deletions

File tree

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/**
2+
* This class is generated by jOOQ
3+
*/
4+
package com.clevergang.dbtests.repository.impl.jooq.generated;
5+
6+
7+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Company;
8+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Department;
9+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Employee;
10+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Project;
11+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Projectemployee;
12+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.records.CompanyRecord;
13+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.records.DepartmentRecord;
14+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.records.EmployeeRecord;
15+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.records.ProjectRecord;
16+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.records.ProjectemployeeRecord;
17+
18+
import javax.annotation.Generated;
19+
20+
import org.jooq.ForeignKey;
21+
import org.jooq.Identity;
22+
import org.jooq.UniqueKey;
23+
import org.jooq.impl.AbstractKeys;
24+
25+
26+
/**
27+
* A class modelling foreign key relationships between tables of the <code>public</code>
28+
* schema
29+
*/
30+
@Generated(
31+
value = {
32+
"http://www.jooq.org",
33+
"jOOQ version:3.7.2"
34+
},
35+
comments = "This class is generated by jOOQ"
36+
)
37+
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
38+
public class Keys {
39+
40+
// -------------------------------------------------------------------------
41+
// IDENTITY definitions
42+
// -------------------------------------------------------------------------
43+
44+
public static final Identity<CompanyRecord, Integer> IDENTITY_COMPANY = Identities0.IDENTITY_COMPANY;
45+
public static final Identity<DepartmentRecord, Integer> IDENTITY_DEPARTMENT = Identities0.IDENTITY_DEPARTMENT;
46+
public static final Identity<EmployeeRecord, Integer> IDENTITY_EMPLOYEE = Identities0.IDENTITY_EMPLOYEE;
47+
public static final Identity<ProjectRecord, Integer> IDENTITY_PROJECT = Identities0.IDENTITY_PROJECT;
48+
49+
// -------------------------------------------------------------------------
50+
// UNIQUE and PRIMARY KEY definitions
51+
// -------------------------------------------------------------------------
52+
53+
public static final UniqueKey<CompanyRecord> COMPANY_PKEY = UniqueKeys0.COMPANY_PKEY;
54+
public static final UniqueKey<DepartmentRecord> DEPARTMENT_PKEY = UniqueKeys0.DEPARTMENT_PKEY;
55+
public static final UniqueKey<EmployeeRecord> EMPLOYEE_PKEY = UniqueKeys0.EMPLOYEE_PKEY;
56+
public static final UniqueKey<ProjectRecord> PROJECT_PKEY = UniqueKeys0.PROJECT_PKEY;
57+
public static final UniqueKey<ProjectemployeeRecord> PROJECTEMPLOYEE_PKEY = UniqueKeys0.PROJECTEMPLOYEE_PKEY;
58+
59+
// -------------------------------------------------------------------------
60+
// FOREIGN KEY definitions
61+
// -------------------------------------------------------------------------
62+
63+
public static final ForeignKey<DepartmentRecord, CompanyRecord> DEPARTMENT__DEPARTMENT_COMPANY_PID_FKEY = ForeignKeys0.DEPARTMENT__DEPARTMENT_COMPANY_PID_FKEY;
64+
public static final ForeignKey<EmployeeRecord, DepartmentRecord> EMPLOYEE__EMPLOYEE_DEPARTMENT_PID_FKEY = ForeignKeys0.EMPLOYEE__EMPLOYEE_DEPARTMENT_PID_FKEY;
65+
public static final ForeignKey<ProjectemployeeRecord, ProjectRecord> PROJECTEMPLOYEE__PROJECTEMPLOYEE_PROJECT_PID_FKEY = ForeignKeys0.PROJECTEMPLOYEE__PROJECTEMPLOYEE_PROJECT_PID_FKEY;
66+
public static final ForeignKey<ProjectemployeeRecord, EmployeeRecord> PROJECTEMPLOYEE__PROJECTEMPLOYEE_EMPLOYEE_PID_FKEY = ForeignKeys0.PROJECTEMPLOYEE__PROJECTEMPLOYEE_EMPLOYEE_PID_FKEY;
67+
68+
// -------------------------------------------------------------------------
69+
// [#1459] distribute members to avoid static initialisers > 64kb
70+
// -------------------------------------------------------------------------
71+
72+
private static class Identities0 extends AbstractKeys {
73+
public static Identity<CompanyRecord, Integer> IDENTITY_COMPANY = createIdentity(Company.COMPANY, Company.COMPANY.PID);
74+
public static Identity<DepartmentRecord, Integer> IDENTITY_DEPARTMENT = createIdentity(Department.DEPARTMENT, Department.DEPARTMENT.PID);
75+
public static Identity<EmployeeRecord, Integer> IDENTITY_EMPLOYEE = createIdentity(Employee.EMPLOYEE, Employee.EMPLOYEE.PID);
76+
public static Identity<ProjectRecord, Integer> IDENTITY_PROJECT = createIdentity(Project.PROJECT, Project.PROJECT.PID);
77+
}
78+
79+
private static class UniqueKeys0 extends AbstractKeys {
80+
public static final UniqueKey<CompanyRecord> COMPANY_PKEY = createUniqueKey(Company.COMPANY, Company.COMPANY.PID);
81+
public static final UniqueKey<DepartmentRecord> DEPARTMENT_PKEY = createUniqueKey(Department.DEPARTMENT, Department.DEPARTMENT.PID);
82+
public static final UniqueKey<EmployeeRecord> EMPLOYEE_PKEY = createUniqueKey(Employee.EMPLOYEE, Employee.EMPLOYEE.PID);
83+
public static final UniqueKey<ProjectRecord> PROJECT_PKEY = createUniqueKey(Project.PROJECT, Project.PROJECT.PID);
84+
public static final UniqueKey<ProjectemployeeRecord> PROJECTEMPLOYEE_PKEY = createUniqueKey(Projectemployee.PROJECTEMPLOYEE, Projectemployee.PROJECTEMPLOYEE.PROJECT_PID, Projectemployee.PROJECTEMPLOYEE.EMPLOYEE_PID);
85+
}
86+
87+
private static class ForeignKeys0 extends AbstractKeys {
88+
public static final ForeignKey<DepartmentRecord, CompanyRecord> DEPARTMENT__DEPARTMENT_COMPANY_PID_FKEY = createForeignKey(com.clevergang.dbtests.repository.impl.jooq.generated.Keys.COMPANY_PKEY, Department.DEPARTMENT, Department.DEPARTMENT.COMPANY_PID);
89+
public static final ForeignKey<EmployeeRecord, DepartmentRecord> EMPLOYEE__EMPLOYEE_DEPARTMENT_PID_FKEY = createForeignKey(com.clevergang.dbtests.repository.impl.jooq.generated.Keys.DEPARTMENT_PKEY, Employee.EMPLOYEE, Employee.EMPLOYEE.DEPARTMENT_PID);
90+
public static final ForeignKey<ProjectemployeeRecord, ProjectRecord> PROJECTEMPLOYEE__PROJECTEMPLOYEE_PROJECT_PID_FKEY = createForeignKey(com.clevergang.dbtests.repository.impl.jooq.generated.Keys.PROJECT_PKEY, Projectemployee.PROJECTEMPLOYEE, Projectemployee.PROJECTEMPLOYEE.PROJECT_PID);
91+
public static final ForeignKey<ProjectemployeeRecord, EmployeeRecord> PROJECTEMPLOYEE__PROJECTEMPLOYEE_EMPLOYEE_PID_FKEY = createForeignKey(com.clevergang.dbtests.repository.impl.jooq.generated.Keys.EMPLOYEE_PKEY, Projectemployee.PROJECTEMPLOYEE, Projectemployee.PROJECTEMPLOYEE.EMPLOYEE_PID);
92+
}
93+
}
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
/**
2+
* This class is generated by jOOQ
3+
*/
4+
package com.clevergang.dbtests.repository.impl.jooq.generated;
5+
6+
7+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Company;
8+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Department;
9+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Employee;
10+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Project;
11+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Projectemployee;
12+
13+
import java.util.ArrayList;
14+
import java.util.Arrays;
15+
import java.util.List;
16+
17+
import javax.annotation.Generated;
18+
19+
import org.jooq.Sequence;
20+
import org.jooq.Table;
21+
import org.jooq.impl.SchemaImpl;
22+
23+
24+
/**
25+
* This class is generated by jOOQ.
26+
*/
27+
@Generated(
28+
value = {
29+
"http://www.jooq.org",
30+
"jOOQ version:3.7.2"
31+
},
32+
comments = "This class is generated by jOOQ"
33+
)
34+
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
35+
public class Public extends SchemaImpl {
36+
37+
private static final long serialVersionUID = -157172027;
38+
39+
/**
40+
* The reference instance of <code>public</code>
41+
*/
42+
public static final Public PUBLIC = new Public();
43+
44+
/**
45+
* No further instances allowed
46+
*/
47+
private Public() {
48+
super("public");
49+
}
50+
51+
@Override
52+
public final List<Sequence<?>> getSequences() {
53+
List result = new ArrayList();
54+
result.addAll(getSequences0());
55+
return result;
56+
}
57+
58+
private final List<Sequence<?>> getSequences0() {
59+
return Arrays.<Sequence<?>>asList(
60+
Sequences.COMPANY_PID_SEQ,
61+
Sequences.DEPARTMENT_PID_SEQ,
62+
Sequences.EMPLOYEE_PID_SEQ,
63+
Sequences.PROJECT_PID_SEQ);
64+
}
65+
66+
@Override
67+
public final List<Table<?>> getTables() {
68+
List result = new ArrayList();
69+
result.addAll(getTables0());
70+
return result;
71+
}
72+
73+
private final List<Table<?>> getTables0() {
74+
return Arrays.<Table<?>>asList(
75+
Company.COMPANY,
76+
Department.DEPARTMENT,
77+
Employee.EMPLOYEE,
78+
Project.PROJECT,
79+
Projectemployee.PROJECTEMPLOYEE);
80+
}
81+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* This class is generated by jOOQ
3+
*/
4+
package com.clevergang.dbtests.repository.impl.jooq.generated;
5+
6+
7+
import javax.annotation.Generated;
8+
9+
import org.jooq.Sequence;
10+
import org.jooq.impl.SequenceImpl;
11+
12+
13+
/**
14+
* Convenience access to all sequences in public
15+
*/
16+
@Generated(
17+
value = {
18+
"http://www.jooq.org",
19+
"jOOQ version:3.7.2"
20+
},
21+
comments = "This class is generated by jOOQ"
22+
)
23+
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
24+
public class Sequences {
25+
26+
/**
27+
* The sequence <code>public.company_pid_seq</code>
28+
*/
29+
public static final Sequence<Long> COMPANY_PID_SEQ = new SequenceImpl<Long>("company_pid_seq", Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT.nullable(false));
30+
31+
/**
32+
* The sequence <code>public.department_pid_seq</code>
33+
*/
34+
public static final Sequence<Long> DEPARTMENT_PID_SEQ = new SequenceImpl<Long>("department_pid_seq", Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT.nullable(false));
35+
36+
/**
37+
* The sequence <code>public.employee_pid_seq</code>
38+
*/
39+
public static final Sequence<Long> EMPLOYEE_PID_SEQ = new SequenceImpl<Long>("employee_pid_seq", Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT.nullable(false));
40+
41+
/**
42+
* The sequence <code>public.project_pid_seq</code>
43+
*/
44+
public static final Sequence<Long> PROJECT_PID_SEQ = new SequenceImpl<Long>("project_pid_seq", Public.PUBLIC, org.jooq.impl.SQLDataType.BIGINT.nullable(false));
45+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/**
2+
* This class is generated by jOOQ
3+
*/
4+
package com.clevergang.dbtests.repository.impl.jooq.generated;
5+
6+
7+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Company;
8+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Department;
9+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Employee;
10+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Project;
11+
import com.clevergang.dbtests.repository.impl.jooq.generated.tables.Projectemployee;
12+
13+
import javax.annotation.Generated;
14+
15+
16+
/**
17+
* Convenience access to all tables in public
18+
*/
19+
@Generated(
20+
value = {
21+
"http://www.jooq.org",
22+
"jOOQ version:3.7.2"
23+
},
24+
comments = "This class is generated by jOOQ"
25+
)
26+
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
27+
public class Tables {
28+
29+
/**
30+
* The table public.company
31+
*/
32+
public static final Company COMPANY = com.clevergang.dbtests.repository.impl.jooq.generated.tables.Company.COMPANY;
33+
34+
/**
35+
* The table public.department
36+
*/
37+
public static final Department DEPARTMENT = com.clevergang.dbtests.repository.impl.jooq.generated.tables.Department.DEPARTMENT;
38+
39+
/**
40+
* The table public.employee
41+
*/
42+
public static final Employee EMPLOYEE = com.clevergang.dbtests.repository.impl.jooq.generated.tables.Employee.EMPLOYEE;
43+
44+
/**
45+
* The table public.project
46+
*/
47+
public static final Project PROJECT = com.clevergang.dbtests.repository.impl.jooq.generated.tables.Project.PROJECT;
48+
49+
/**
50+
* The table public.projectemployee
51+
*/
52+
public static final Projectemployee PROJECTEMPLOYEE = com.clevergang.dbtests.repository.impl.jooq.generated.tables.Projectemployee.PROJECTEMPLOYEE;
53+
}

0 commit comments

Comments
 (0)