Re-generated code
This commit is contained in:
parent
33f1c0f458
commit
913798f7eb
@ -122,10 +122,31 @@ public class Author extends TableImpl<AuthorRecord> {
|
||||
super(path, childPath, parentPath, AUTHOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AuthorPath extends Author implements Path<AuthorRecord> {
|
||||
public <O extends Record> AuthorPath(Table<O> path, ForeignKey<O, AuthorRecord> childPath, InverseForeignKey<O, AuthorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AuthorPath(Name alias, Table<AuthorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorPath as(String alias) {
|
||||
return new AuthorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorPath as(Name alias) {
|
||||
return new AuthorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorPath as(Table<?> alias) {
|
||||
return new AuthorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -108,10 +108,31 @@ public class Book extends TableImpl<BookRecord> {
|
||||
super(path, childPath, parentPath, BOOK);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class BookPath extends Book implements Path<BookRecord> {
|
||||
public <O extends Record> BookPath(Table<O> path, ForeignKey<O, BookRecord> childPath, InverseForeignKey<O, BookRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private BookPath(Name alias, Table<BookRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookPath as(String alias) {
|
||||
return new BookPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookPath as(Name alias) {
|
||||
return new BookPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookPath as(Table<?> alias) {
|
||||
return new BookPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -107,10 +107,31 @@ public class Actor extends TableImpl<ActorRecord> {
|
||||
super(path, childPath, parentPath, ACTOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class ActorPath extends Actor implements Path<ActorRecord> {
|
||||
public <O extends Record> ActorPath(Table<O> path, ForeignKey<O, ActorRecord> childPath, InverseForeignKey<O, ActorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private ActorPath(Name alias, Table<ActorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(String alias) {
|
||||
return new ActorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(Name alias) {
|
||||
return new ActorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(Table<?> alias) {
|
||||
return new ActorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -126,10 +126,31 @@ public class Film extends TableImpl<FilmRecord> {
|
||||
super(path, childPath, parentPath, FILM);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmPath extends Film implements Path<FilmRecord> {
|
||||
public <O extends Record> FilmPath(Table<O> path, ForeignKey<O, FilmRecord> childPath, InverseForeignKey<O, FilmRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmPath(Name alias, Table<FilmRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(String alias) {
|
||||
return new FilmPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(Name alias) {
|
||||
return new FilmPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(Table<?> alias) {
|
||||
return new FilmPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -104,10 +104,31 @@ public class FilmActor extends TableImpl<FilmActorRecord> {
|
||||
super(path, childPath, parentPath, FILM_ACTOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmActorPath extends FilmActor implements Path<FilmActorRecord> {
|
||||
public <O extends Record> FilmActorPath(Table<O> path, ForeignKey<O, FilmActorRecord> childPath, InverseForeignKey<O, FilmActorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmActorPath(Name alias, Table<FilmActorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(String alias) {
|
||||
return new FilmActorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(Name alias) {
|
||||
return new FilmActorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(Table<?> alias) {
|
||||
return new FilmActorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -101,10 +101,31 @@ public class Language extends TableImpl<LanguageRecord> {
|
||||
super(path, childPath, parentPath, LANGUAGE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LanguagePath extends Language implements Path<LanguageRecord> {
|
||||
public <O extends Record> LanguagePath(Table<O> path, ForeignKey<O, LanguageRecord> childPath, InverseForeignKey<O, LanguageRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LanguagePath(Name alias, Table<LanguageRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(String alias) {
|
||||
return new LanguagePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(Name alias) {
|
||||
return new LanguagePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(Table<?> alias) {
|
||||
return new LanguagePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -130,7 +130,16 @@ open class Author(
|
||||
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, AuthorRecord>?, parentPath: InverseForeignKey<out Record, AuthorRecord>?): this(Internal.createPathAlias(path, childPath, parentPath), path, childPath, parentPath, AUTHOR, null, null)
|
||||
|
||||
open class AuthorPath(path: Table<out Record>, childPath: ForeignKey<out Record, AuthorRecord>?, parentPath: InverseForeignKey<out Record, AuthorRecord>?) : Author(path, childPath, parentPath), Path<AuthorRecord>
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
open class AuthorPath : Author, Path<AuthorRecord> {
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, AuthorRecord>?, parentPath: InverseForeignKey<out Record, AuthorRecord>?): super(path, childPath, parentPath)
|
||||
private constructor(alias: Name, aliased: Table<AuthorRecord>): super(alias, aliased)
|
||||
override fun `as`(alias: String): AuthorPath = AuthorPath(DSL.name(alias), this)
|
||||
override fun `as`(alias: Name): AuthorPath = AuthorPath(alias, this)
|
||||
override fun `as`(alias: Table<*>): AuthorPath = AuthorPath(alias.qualifiedName, this)
|
||||
}
|
||||
override fun getSchema(): Schema? = if (aliased()) null else Public.PUBLIC
|
||||
override fun getIdentity(): Identity<AuthorRecord, Int?> = super.getIdentity() as Identity<AuthorRecord, Int?>
|
||||
override fun getPrimaryKey(): UniqueKey<AuthorRecord> = PK_T_AUTHOR
|
||||
|
||||
@ -159,7 +159,16 @@ open class Book(
|
||||
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, BookRecord>?, parentPath: InverseForeignKey<out Record, BookRecord>?): this(Internal.createPathAlias(path, childPath, parentPath), path, childPath, parentPath, BOOK, null, null)
|
||||
|
||||
open class BookPath(path: Table<out Record>, childPath: ForeignKey<out Record, BookRecord>?, parentPath: InverseForeignKey<out Record, BookRecord>?) : Book(path, childPath, parentPath), Path<BookRecord>
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
open class BookPath : Book, Path<BookRecord> {
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, BookRecord>?, parentPath: InverseForeignKey<out Record, BookRecord>?): super(path, childPath, parentPath)
|
||||
private constructor(alias: Name, aliased: Table<BookRecord>): super(alias, aliased)
|
||||
override fun `as`(alias: String): BookPath = BookPath(DSL.name(alias), this)
|
||||
override fun `as`(alias: Name): BookPath = BookPath(alias, this)
|
||||
override fun `as`(alias: Table<*>): BookPath = BookPath(alias.qualifiedName, this)
|
||||
}
|
||||
override fun getSchema(): Schema? = if (aliased()) null else Public.PUBLIC
|
||||
override fun getIdentity(): Identity<BookRecord, Int?> = super.getIdentity() as Identity<BookRecord, Int?>
|
||||
override fun getPrimaryKey(): UniqueKey<BookRecord> = PK_T_BOOK
|
||||
|
||||
@ -103,7 +103,16 @@ open class BookStore(
|
||||
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, BookStoreRecord>?, parentPath: InverseForeignKey<out Record, BookStoreRecord>?): this(Internal.createPathAlias(path, childPath, parentPath), path, childPath, parentPath, BOOK_STORE, null, null)
|
||||
|
||||
open class BookStorePath(path: Table<out Record>, childPath: ForeignKey<out Record, BookStoreRecord>?, parentPath: InverseForeignKey<out Record, BookStoreRecord>?) : BookStore(path, childPath, parentPath), Path<BookStoreRecord>
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
open class BookStorePath : BookStore, Path<BookStoreRecord> {
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, BookStoreRecord>?, parentPath: InverseForeignKey<out Record, BookStoreRecord>?): super(path, childPath, parentPath)
|
||||
private constructor(alias: Name, aliased: Table<BookStoreRecord>): super(alias, aliased)
|
||||
override fun `as`(alias: String): BookStorePath = BookStorePath(DSL.name(alias), this)
|
||||
override fun `as`(alias: Name): BookStorePath = BookStorePath(alias, this)
|
||||
override fun `as`(alias: Table<*>): BookStorePath = BookStorePath(alias.qualifiedName, this)
|
||||
}
|
||||
override fun getSchema(): Schema? = if (aliased()) null else Public.PUBLIC
|
||||
override fun getPrimaryKey(): UniqueKey<BookStoreRecord> = UK_T_BOOK_STORE_NAME
|
||||
|
||||
|
||||
@ -115,7 +115,16 @@ open class BookToBookStore(
|
||||
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, BookToBookStoreRecord>?, parentPath: InverseForeignKey<out Record, BookToBookStoreRecord>?): this(Internal.createPathAlias(path, childPath, parentPath), path, childPath, parentPath, BOOK_TO_BOOK_STORE, null, null)
|
||||
|
||||
open class BookToBookStorePath(path: Table<out Record>, childPath: ForeignKey<out Record, BookToBookStoreRecord>?, parentPath: InverseForeignKey<out Record, BookToBookStoreRecord>?) : BookToBookStore(path, childPath, parentPath), Path<BookToBookStoreRecord>
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
open class BookToBookStorePath : BookToBookStore, Path<BookToBookStoreRecord> {
|
||||
constructor(path: Table<out Record>, childPath: ForeignKey<out Record, BookToBookStoreRecord>?, parentPath: InverseForeignKey<out Record, BookToBookStoreRecord>?): super(path, childPath, parentPath)
|
||||
private constructor(alias: Name, aliased: Table<BookToBookStoreRecord>): super(alias, aliased)
|
||||
override fun `as`(alias: String): BookToBookStorePath = BookToBookStorePath(DSL.name(alias), this)
|
||||
override fun `as`(alias: Name): BookToBookStorePath = BookToBookStorePath(alias, this)
|
||||
override fun `as`(alias: Table<*>): BookToBookStorePath = BookToBookStorePath(alias.qualifiedName, this)
|
||||
}
|
||||
override fun getSchema(): Schema? = if (aliased()) null else Public.PUBLIC
|
||||
override fun getPrimaryKey(): UniqueKey<BookToBookStoreRecord> = PK_B2BS
|
||||
override fun getReferences(): List<ForeignKey<BookToBookStoreRecord, *>> = listOf(FK_B2BS_BS_NAME, FK_B2BS_B_ID)
|
||||
|
||||
@ -107,10 +107,31 @@ public class Author extends TableImpl<AuthorRecord> {
|
||||
super(path, childPath, parentPath, AUTHOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AuthorPath extends Author implements Path<AuthorRecord> {
|
||||
public <O extends Record> AuthorPath(Table<O> path, ForeignKey<O, AuthorRecord> childPath, InverseForeignKey<O, AuthorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AuthorPath(Name alias, Table<AuthorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorPath as(String alias) {
|
||||
return new AuthorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorPath as(Name alias) {
|
||||
return new AuthorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorPath as(Table<?> alias) {
|
||||
return new AuthorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -109,10 +109,31 @@ public class Book extends TableImpl<BookRecord> {
|
||||
super(path, childPath, parentPath, BOOK);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class BookPath extends Book implements Path<BookRecord> {
|
||||
public <O extends Record> BookPath(Table<O> path, ForeignKey<O, BookRecord> childPath, InverseForeignKey<O, BookRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private BookPath(Name alias, Table<BookRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookPath as(String alias) {
|
||||
return new BookPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookPath as(Name alias) {
|
||||
return new BookPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookPath as(Table<?> alias) {
|
||||
return new BookPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -118,10 +118,31 @@ public class Actor extends TableImpl<ActorRecord> {
|
||||
super(path, childPath, parentPath, ACTOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class ActorPath extends Actor implements Path<ActorRecord> {
|
||||
public <O extends Record> ActorPath(Table<O> path, ForeignKey<O, ActorRecord> childPath, InverseForeignKey<O, ActorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private ActorPath(Name alias, Table<ActorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(String alias) {
|
||||
return new ActorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(Name alias) {
|
||||
return new ActorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(Table<?> alias) {
|
||||
return new ActorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -140,10 +140,31 @@ public class Address extends TableImpl<AddressRecord> {
|
||||
super(path, childPath, parentPath, ADDRESS);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AddressPath extends Address implements Path<AddressRecord> {
|
||||
public <O extends Record> AddressPath(Table<O> path, ForeignKey<O, AddressRecord> childPath, InverseForeignKey<O, AddressRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AddressPath(Name alias, Table<AddressRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressPath as(String alias) {
|
||||
return new AddressPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressPath as(Name alias) {
|
||||
return new AddressPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressPath as(Table<?> alias) {
|
||||
return new AddressPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -109,10 +109,31 @@ public class Category extends TableImpl<CategoryRecord> {
|
||||
super(path, childPath, parentPath, CATEGORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CategoryPath extends Category implements Path<CategoryRecord> {
|
||||
public <O extends Record> CategoryPath(Table<O> path, ForeignKey<O, CategoryRecord> childPath, InverseForeignKey<O, CategoryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CategoryPath(Name alias, Table<CategoryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath as(String alias) {
|
||||
return new CategoryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath as(Name alias) {
|
||||
return new CategoryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath as(Table<?> alias) {
|
||||
return new CategoryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -118,10 +118,31 @@ public class City extends TableImpl<CityRecord> {
|
||||
super(path, childPath, parentPath, CITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CityPath extends City implements Path<CityRecord> {
|
||||
public <O extends Record> CityPath(Table<O> path, ForeignKey<O, CityRecord> childPath, InverseForeignKey<O, CityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CityPath(Name alias, Table<CityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CityPath as(String alias) {
|
||||
return new CityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CityPath as(Name alias) {
|
||||
return new CityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CityPath as(Table<?> alias) {
|
||||
return new CityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -108,10 +108,31 @@ public class Country extends TableImpl<CountryRecord> {
|
||||
super(path, childPath, parentPath, COUNTRY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CountryPath extends Country implements Path<CountryRecord> {
|
||||
public <O extends Record> CountryPath(Table<O> path, ForeignKey<O, CountryRecord> childPath, InverseForeignKey<O, CountryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CountryPath(Name alias, Table<CountryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountryPath as(String alias) {
|
||||
return new CountryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountryPath as(Name alias) {
|
||||
return new CountryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountryPath as(Table<?> alias) {
|
||||
return new CountryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -157,10 +157,31 @@ public class Customer extends TableImpl<CustomerRecord> {
|
||||
super(path, childPath, parentPath, CUSTOMER);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CustomerPath extends Customer implements Path<CustomerRecord> {
|
||||
public <O extends Record> CustomerPath(Table<O> path, ForeignKey<O, CustomerRecord> childPath, InverseForeignKey<O, CustomerRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CustomerPath(Name alias, Table<CustomerRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerPath as(String alias) {
|
||||
return new CustomerPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerPath as(Name alias) {
|
||||
return new CustomerPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerPath as(Table<?> alias) {
|
||||
return new CustomerPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -180,10 +180,31 @@ public class Film extends TableImpl<FilmRecord> {
|
||||
super(path, childPath, parentPath, FILM);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmPath extends Film implements Path<FilmRecord> {
|
||||
public <O extends Record> FilmPath(Table<O> path, ForeignKey<O, FilmRecord> childPath, InverseForeignKey<O, FilmRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmPath(Name alias, Table<FilmRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(String alias) {
|
||||
return new FilmPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(Name alias) {
|
||||
return new FilmPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(Table<?> alias) {
|
||||
return new FilmPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -112,10 +112,31 @@ public class FilmActor extends TableImpl<FilmActorRecord> {
|
||||
super(path, childPath, parentPath, FILM_ACTOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmActorPath extends FilmActor implements Path<FilmActorRecord> {
|
||||
public <O extends Record> FilmActorPath(Table<O> path, ForeignKey<O, FilmActorRecord> childPath, InverseForeignKey<O, FilmActorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmActorPath(Name alias, Table<FilmActorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(String alias) {
|
||||
return new FilmActorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(Name alias) {
|
||||
return new FilmActorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(Table<?> alias) {
|
||||
return new FilmActorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -110,10 +110,31 @@ public class FilmCategory extends TableImpl<FilmCategoryRecord> {
|
||||
super(path, childPath, parentPath, FILM_CATEGORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmCategoryPath extends FilmCategory implements Path<FilmCategoryRecord> {
|
||||
public <O extends Record> FilmCategoryPath(Table<O> path, ForeignKey<O, FilmCategoryRecord> childPath, InverseForeignKey<O, FilmCategoryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmCategoryPath(Name alias, Table<FilmCategoryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmCategoryPath as(String alias) {
|
||||
return new FilmCategoryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmCategoryPath as(Name alias) {
|
||||
return new FilmCategoryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmCategoryPath as(Table<?> alias) {
|
||||
return new FilmCategoryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -119,10 +119,31 @@ public class Inventory extends TableImpl<InventoryRecord> {
|
||||
super(path, childPath, parentPath, INVENTORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class InventoryPath extends Inventory implements Path<InventoryRecord> {
|
||||
public <O extends Record> InventoryPath(Table<O> path, ForeignKey<O, InventoryRecord> childPath, InverseForeignKey<O, InventoryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private InventoryPath(Name alias, Table<InventoryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InventoryPath as(String alias) {
|
||||
return new InventoryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InventoryPath as(Name alias) {
|
||||
return new InventoryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InventoryPath as(Table<?> alias) {
|
||||
return new InventoryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -108,10 +108,31 @@ public class Language extends TableImpl<LanguageRecord> {
|
||||
super(path, childPath, parentPath, LANGUAGE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LanguagePath extends Language implements Path<LanguageRecord> {
|
||||
public <O extends Record> LanguagePath(Table<O> path, ForeignKey<O, LanguageRecord> childPath, InverseForeignKey<O, LanguageRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LanguagePath(Name alias, Table<LanguageRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(String alias) {
|
||||
return new LanguagePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(Name alias) {
|
||||
return new LanguagePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(Table<?> alias) {
|
||||
return new LanguagePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -130,10 +130,31 @@ public class Payment extends TableImpl<PaymentRecord> {
|
||||
super(path, childPath, parentPath, PAYMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentPath extends Payment implements Path<PaymentRecord> {
|
||||
public <O extends Record> PaymentPath(Table<O> path, ForeignKey<O, PaymentRecord> childPath, InverseForeignKey<O, PaymentRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentPath(Name alias, Table<PaymentRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentPath as(String alias) {
|
||||
return new PaymentPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentPath as(Name alias) {
|
||||
return new PaymentPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentPath as(Table<?> alias) {
|
||||
return new PaymentPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_01 extends TableImpl<PaymentP2007_01Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_01);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_01Path extends PaymentP2007_01 implements Path<PaymentP2007_01Record> {
|
||||
public <O extends Record> PaymentP2007_01Path(Table<O> path, ForeignKey<O, PaymentP2007_01Record> childPath, InverseForeignKey<O, PaymentP2007_01Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_01Path(Name alias, Table<PaymentP2007_01Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_01Path as(String alias) {
|
||||
return new PaymentP2007_01Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_01Path as(Name alias) {
|
||||
return new PaymentP2007_01Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_01Path as(Table<?> alias) {
|
||||
return new PaymentP2007_01Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_02 extends TableImpl<PaymentP2007_02Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_02);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_02Path extends PaymentP2007_02 implements Path<PaymentP2007_02Record> {
|
||||
public <O extends Record> PaymentP2007_02Path(Table<O> path, ForeignKey<O, PaymentP2007_02Record> childPath, InverseForeignKey<O, PaymentP2007_02Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_02Path(Name alias, Table<PaymentP2007_02Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_02Path as(String alias) {
|
||||
return new PaymentP2007_02Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_02Path as(Name alias) {
|
||||
return new PaymentP2007_02Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_02Path as(Table<?> alias) {
|
||||
return new PaymentP2007_02Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_03 extends TableImpl<PaymentP2007_03Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_03);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_03Path extends PaymentP2007_03 implements Path<PaymentP2007_03Record> {
|
||||
public <O extends Record> PaymentP2007_03Path(Table<O> path, ForeignKey<O, PaymentP2007_03Record> childPath, InverseForeignKey<O, PaymentP2007_03Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_03Path(Name alias, Table<PaymentP2007_03Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_03Path as(String alias) {
|
||||
return new PaymentP2007_03Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_03Path as(Name alias) {
|
||||
return new PaymentP2007_03Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_03Path as(Table<?> alias) {
|
||||
return new PaymentP2007_03Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_04 extends TableImpl<PaymentP2007_04Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_04);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_04Path extends PaymentP2007_04 implements Path<PaymentP2007_04Record> {
|
||||
public <O extends Record> PaymentP2007_04Path(Table<O> path, ForeignKey<O, PaymentP2007_04Record> childPath, InverseForeignKey<O, PaymentP2007_04Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_04Path(Name alias, Table<PaymentP2007_04Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_04Path as(String alias) {
|
||||
return new PaymentP2007_04Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_04Path as(Name alias) {
|
||||
return new PaymentP2007_04Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_04Path as(Table<?> alias) {
|
||||
return new PaymentP2007_04Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_05 extends TableImpl<PaymentP2007_05Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_05);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_05Path extends PaymentP2007_05 implements Path<PaymentP2007_05Record> {
|
||||
public <O extends Record> PaymentP2007_05Path(Table<O> path, ForeignKey<O, PaymentP2007_05Record> childPath, InverseForeignKey<O, PaymentP2007_05Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_05Path(Name alias, Table<PaymentP2007_05Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_05Path as(String alias) {
|
||||
return new PaymentP2007_05Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_05Path as(Name alias) {
|
||||
return new PaymentP2007_05Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_05Path as(Table<?> alias) {
|
||||
return new PaymentP2007_05Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_06 extends TableImpl<PaymentP2007_06Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_06);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_06Path extends PaymentP2007_06 implements Path<PaymentP2007_06Record> {
|
||||
public <O extends Record> PaymentP2007_06Path(Table<O> path, ForeignKey<O, PaymentP2007_06Record> childPath, InverseForeignKey<O, PaymentP2007_06Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_06Path(Name alias, Table<PaymentP2007_06Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_06Path as(String alias) {
|
||||
return new PaymentP2007_06Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_06Path as(Name alias) {
|
||||
return new PaymentP2007_06Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_06Path as(Table<?> alias) {
|
||||
return new PaymentP2007_06Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -141,10 +141,31 @@ public class Rental extends TableImpl<RentalRecord> {
|
||||
super(path, childPath, parentPath, RENTAL);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class RentalPath extends Rental implements Path<RentalRecord> {
|
||||
public <O extends Record> RentalPath(Table<O> path, ForeignKey<O, RentalRecord> childPath, InverseForeignKey<O, RentalRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private RentalPath(Name alias, Table<RentalRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RentalPath as(String alias) {
|
||||
return new RentalPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RentalPath as(Name alias) {
|
||||
return new RentalPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RentalPath as(Table<?> alias) {
|
||||
return new RentalPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -159,10 +159,31 @@ public class Staff extends TableImpl<StaffRecord> {
|
||||
super(path, childPath, parentPath, STAFF);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class StaffPath extends Staff implements Path<StaffRecord> {
|
||||
public <O extends Record> StaffPath(Table<O> path, ForeignKey<O, StaffRecord> childPath, InverseForeignKey<O, StaffRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private StaffPath(Name alias, Table<StaffRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StaffPath as(String alias) {
|
||||
return new StaffPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StaffPath as(Name alias) {
|
||||
return new StaffPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StaffPath as(Table<?> alias) {
|
||||
return new StaffPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -120,10 +120,31 @@ public class Store extends TableImpl<StoreRecord> {
|
||||
super(path, childPath, parentPath, STORE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class StorePath extends Store implements Path<StoreRecord> {
|
||||
public <O extends Record> StorePath(Table<O> path, ForeignKey<O, StoreRecord> childPath, InverseForeignKey<O, StoreRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private StorePath(Name alias, Table<StoreRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorePath as(String alias) {
|
||||
return new StorePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorePath as(Name alias) {
|
||||
return new StorePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorePath as(Table<?> alias) {
|
||||
return new StorePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -118,10 +118,31 @@ public class Actor extends TableImpl<ActorRecord> {
|
||||
super(path, childPath, parentPath, ACTOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class ActorPath extends Actor implements Path<ActorRecord> {
|
||||
public <O extends Record> ActorPath(Table<O> path, ForeignKey<O, ActorRecord> childPath, InverseForeignKey<O, ActorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private ActorPath(Name alias, Table<ActorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(String alias) {
|
||||
return new ActorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(Name alias) {
|
||||
return new ActorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ActorPath as(Table<?> alias) {
|
||||
return new ActorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -140,10 +140,31 @@ public class Address extends TableImpl<AddressRecord> {
|
||||
super(path, childPath, parentPath, ADDRESS);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AddressPath extends Address implements Path<AddressRecord> {
|
||||
public <O extends Record> AddressPath(Table<O> path, ForeignKey<O, AddressRecord> childPath, InverseForeignKey<O, AddressRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AddressPath(Name alias, Table<AddressRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressPath as(String alias) {
|
||||
return new AddressPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressPath as(Name alias) {
|
||||
return new AddressPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressPath as(Table<?> alias) {
|
||||
return new AddressPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -109,10 +109,31 @@ public class Category extends TableImpl<CategoryRecord> {
|
||||
super(path, childPath, parentPath, CATEGORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CategoryPath extends Category implements Path<CategoryRecord> {
|
||||
public <O extends Record> CategoryPath(Table<O> path, ForeignKey<O, CategoryRecord> childPath, InverseForeignKey<O, CategoryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CategoryPath(Name alias, Table<CategoryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath as(String alias) {
|
||||
return new CategoryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath as(Name alias) {
|
||||
return new CategoryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CategoryPath as(Table<?> alias) {
|
||||
return new CategoryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -118,10 +118,31 @@ public class City extends TableImpl<CityRecord> {
|
||||
super(path, childPath, parentPath, CITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CityPath extends City implements Path<CityRecord> {
|
||||
public <O extends Record> CityPath(Table<O> path, ForeignKey<O, CityRecord> childPath, InverseForeignKey<O, CityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CityPath(Name alias, Table<CityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CityPath as(String alias) {
|
||||
return new CityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CityPath as(Name alias) {
|
||||
return new CityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CityPath as(Table<?> alias) {
|
||||
return new CityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -108,10 +108,31 @@ public class Country extends TableImpl<CountryRecord> {
|
||||
super(path, childPath, parentPath, COUNTRY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CountryPath extends Country implements Path<CountryRecord> {
|
||||
public <O extends Record> CountryPath(Table<O> path, ForeignKey<O, CountryRecord> childPath, InverseForeignKey<O, CountryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CountryPath(Name alias, Table<CountryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountryPath as(String alias) {
|
||||
return new CountryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountryPath as(Name alias) {
|
||||
return new CountryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountryPath as(Table<?> alias) {
|
||||
return new CountryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -157,10 +157,31 @@ public class Customer extends TableImpl<CustomerRecord> {
|
||||
super(path, childPath, parentPath, CUSTOMER);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class CustomerPath extends Customer implements Path<CustomerRecord> {
|
||||
public <O extends Record> CustomerPath(Table<O> path, ForeignKey<O, CustomerRecord> childPath, InverseForeignKey<O, CustomerRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private CustomerPath(Name alias, Table<CustomerRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerPath as(String alias) {
|
||||
return new CustomerPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerPath as(Name alias) {
|
||||
return new CustomerPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomerPath as(Table<?> alias) {
|
||||
return new CustomerPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -180,10 +180,31 @@ public class Film extends TableImpl<FilmRecord> {
|
||||
super(path, childPath, parentPath, FILM);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmPath extends Film implements Path<FilmRecord> {
|
||||
public <O extends Record> FilmPath(Table<O> path, ForeignKey<O, FilmRecord> childPath, InverseForeignKey<O, FilmRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmPath(Name alias, Table<FilmRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(String alias) {
|
||||
return new FilmPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(Name alias) {
|
||||
return new FilmPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmPath as(Table<?> alias) {
|
||||
return new FilmPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -112,10 +112,31 @@ public class FilmActor extends TableImpl<FilmActorRecord> {
|
||||
super(path, childPath, parentPath, FILM_ACTOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmActorPath extends FilmActor implements Path<FilmActorRecord> {
|
||||
public <O extends Record> FilmActorPath(Table<O> path, ForeignKey<O, FilmActorRecord> childPath, InverseForeignKey<O, FilmActorRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmActorPath(Name alias, Table<FilmActorRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(String alias) {
|
||||
return new FilmActorPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(Name alias) {
|
||||
return new FilmActorPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmActorPath as(Table<?> alias) {
|
||||
return new FilmActorPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -110,10 +110,31 @@ public class FilmCategory extends TableImpl<FilmCategoryRecord> {
|
||||
super(path, childPath, parentPath, FILM_CATEGORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class FilmCategoryPath extends FilmCategory implements Path<FilmCategoryRecord> {
|
||||
public <O extends Record> FilmCategoryPath(Table<O> path, ForeignKey<O, FilmCategoryRecord> childPath, InverseForeignKey<O, FilmCategoryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private FilmCategoryPath(Name alias, Table<FilmCategoryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmCategoryPath as(String alias) {
|
||||
return new FilmCategoryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmCategoryPath as(Name alias) {
|
||||
return new FilmCategoryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FilmCategoryPath as(Table<?> alias) {
|
||||
return new FilmCategoryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -119,10 +119,31 @@ public class Inventory extends TableImpl<InventoryRecord> {
|
||||
super(path, childPath, parentPath, INVENTORY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class InventoryPath extends Inventory implements Path<InventoryRecord> {
|
||||
public <O extends Record> InventoryPath(Table<O> path, ForeignKey<O, InventoryRecord> childPath, InverseForeignKey<O, InventoryRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private InventoryPath(Name alias, Table<InventoryRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InventoryPath as(String alias) {
|
||||
return new InventoryPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InventoryPath as(Name alias) {
|
||||
return new InventoryPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InventoryPath as(Table<?> alias) {
|
||||
return new InventoryPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -108,10 +108,31 @@ public class Language extends TableImpl<LanguageRecord> {
|
||||
super(path, childPath, parentPath, LANGUAGE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LanguagePath extends Language implements Path<LanguageRecord> {
|
||||
public <O extends Record> LanguagePath(Table<O> path, ForeignKey<O, LanguageRecord> childPath, InverseForeignKey<O, LanguageRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LanguagePath(Name alias, Table<LanguageRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(String alias) {
|
||||
return new LanguagePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(Name alias) {
|
||||
return new LanguagePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LanguagePath as(Table<?> alias) {
|
||||
return new LanguagePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -130,10 +130,31 @@ public class Payment extends TableImpl<PaymentRecord> {
|
||||
super(path, childPath, parentPath, PAYMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentPath extends Payment implements Path<PaymentRecord> {
|
||||
public <O extends Record> PaymentPath(Table<O> path, ForeignKey<O, PaymentRecord> childPath, InverseForeignKey<O, PaymentRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentPath(Name alias, Table<PaymentRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentPath as(String alias) {
|
||||
return new PaymentPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentPath as(Name alias) {
|
||||
return new PaymentPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentPath as(Table<?> alias) {
|
||||
return new PaymentPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_01 extends TableImpl<PaymentP2007_01Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_01);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_01Path extends PaymentP2007_01 implements Path<PaymentP2007_01Record> {
|
||||
public <O extends Record> PaymentP2007_01Path(Table<O> path, ForeignKey<O, PaymentP2007_01Record> childPath, InverseForeignKey<O, PaymentP2007_01Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_01Path(Name alias, Table<PaymentP2007_01Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_01Path as(String alias) {
|
||||
return new PaymentP2007_01Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_01Path as(Name alias) {
|
||||
return new PaymentP2007_01Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_01Path as(Table<?> alias) {
|
||||
return new PaymentP2007_01Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_02 extends TableImpl<PaymentP2007_02Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_02);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_02Path extends PaymentP2007_02 implements Path<PaymentP2007_02Record> {
|
||||
public <O extends Record> PaymentP2007_02Path(Table<O> path, ForeignKey<O, PaymentP2007_02Record> childPath, InverseForeignKey<O, PaymentP2007_02Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_02Path(Name alias, Table<PaymentP2007_02Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_02Path as(String alias) {
|
||||
return new PaymentP2007_02Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_02Path as(Name alias) {
|
||||
return new PaymentP2007_02Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_02Path as(Table<?> alias) {
|
||||
return new PaymentP2007_02Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_03 extends TableImpl<PaymentP2007_03Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_03);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_03Path extends PaymentP2007_03 implements Path<PaymentP2007_03Record> {
|
||||
public <O extends Record> PaymentP2007_03Path(Table<O> path, ForeignKey<O, PaymentP2007_03Record> childPath, InverseForeignKey<O, PaymentP2007_03Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_03Path(Name alias, Table<PaymentP2007_03Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_03Path as(String alias) {
|
||||
return new PaymentP2007_03Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_03Path as(Name alias) {
|
||||
return new PaymentP2007_03Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_03Path as(Table<?> alias) {
|
||||
return new PaymentP2007_03Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_04 extends TableImpl<PaymentP2007_04Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_04);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_04Path extends PaymentP2007_04 implements Path<PaymentP2007_04Record> {
|
||||
public <O extends Record> PaymentP2007_04Path(Table<O> path, ForeignKey<O, PaymentP2007_04Record> childPath, InverseForeignKey<O, PaymentP2007_04Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_04Path(Name alias, Table<PaymentP2007_04Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_04Path as(String alias) {
|
||||
return new PaymentP2007_04Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_04Path as(Name alias) {
|
||||
return new PaymentP2007_04Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_04Path as(Table<?> alias) {
|
||||
return new PaymentP2007_04Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_05 extends TableImpl<PaymentP2007_05Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_05);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_05Path extends PaymentP2007_05 implements Path<PaymentP2007_05Record> {
|
||||
public <O extends Record> PaymentP2007_05Path(Table<O> path, ForeignKey<O, PaymentP2007_05Record> childPath, InverseForeignKey<O, PaymentP2007_05Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_05Path(Name alias, Table<PaymentP2007_05Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_05Path as(String alias) {
|
||||
return new PaymentP2007_05Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_05Path as(Name alias) {
|
||||
return new PaymentP2007_05Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_05Path as(Table<?> alias) {
|
||||
return new PaymentP2007_05Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -131,10 +131,31 @@ public class PaymentP2007_06 extends TableImpl<PaymentP2007_06Record> {
|
||||
super(path, childPath, parentPath, PAYMENT_P2007_06);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class PaymentP2007_06Path extends PaymentP2007_06 implements Path<PaymentP2007_06Record> {
|
||||
public <O extends Record> PaymentP2007_06Path(Table<O> path, ForeignKey<O, PaymentP2007_06Record> childPath, InverseForeignKey<O, PaymentP2007_06Record> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private PaymentP2007_06Path(Name alias, Table<PaymentP2007_06Record> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_06Path as(String alias) {
|
||||
return new PaymentP2007_06Path(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_06Path as(Name alias) {
|
||||
return new PaymentP2007_06Path(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PaymentP2007_06Path as(Table<?> alias) {
|
||||
return new PaymentP2007_06Path(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -141,10 +141,31 @@ public class Rental extends TableImpl<RentalRecord> {
|
||||
super(path, childPath, parentPath, RENTAL);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class RentalPath extends Rental implements Path<RentalRecord> {
|
||||
public <O extends Record> RentalPath(Table<O> path, ForeignKey<O, RentalRecord> childPath, InverseForeignKey<O, RentalRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private RentalPath(Name alias, Table<RentalRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RentalPath as(String alias) {
|
||||
return new RentalPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RentalPath as(Name alias) {
|
||||
return new RentalPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RentalPath as(Table<?> alias) {
|
||||
return new RentalPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -159,10 +159,31 @@ public class Staff extends TableImpl<StaffRecord> {
|
||||
super(path, childPath, parentPath, STAFF);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class StaffPath extends Staff implements Path<StaffRecord> {
|
||||
public <O extends Record> StaffPath(Table<O> path, ForeignKey<O, StaffRecord> childPath, InverseForeignKey<O, StaffRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private StaffPath(Name alias, Table<StaffRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StaffPath as(String alias) {
|
||||
return new StaffPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StaffPath as(Name alias) {
|
||||
return new StaffPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StaffPath as(Table<?> alias) {
|
||||
return new StaffPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -120,10 +120,31 @@ public class Store extends TableImpl<StoreRecord> {
|
||||
super(path, childPath, parentPath, STORE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class StorePath extends Store implements Path<StoreRecord> {
|
||||
public <O extends Record> StorePath(Table<O> path, ForeignKey<O, StoreRecord> childPath, InverseForeignKey<O, StoreRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private StorePath(Name alias, Table<StoreRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorePath as(String alias) {
|
||||
return new StorePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorePath as(Name alias) {
|
||||
return new StorePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public StorePath as(Table<?> alias) {
|
||||
return new StorePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user