T - entity typepublic class RelationalPathBase<T> extends BeanPath<T> implements RelationalPath<T>
RelationalPath implementationsmixin| Constructor and Description |
|---|
RelationalPathBase(java.lang.Class<? extends T> type,
PathMetadata<?> metadata,
java.lang.String schema,
java.lang.String table) |
RelationalPathBase(java.lang.Class<? extends T> type,
java.lang.String variable,
java.lang.String schema,
java.lang.String table) |
| Modifier and Type | Method and Description |
|---|---|
protected <P extends Path<?>> |
add(P path)
Template method for tracking child path creation
|
Path<?>[] |
all() |
protected <F> ForeignKey<F> |
createForeignKey(java.util.List<? extends Path<?>> local,
java.util.List<java.lang.String> foreign) |
protected <F> ForeignKey<F> |
createForeignKey(Path<?> local,
java.lang.String foreign) |
protected <F> ForeignKey<F> |
createInvForeignKey(java.util.List<? extends Path<?>> local,
java.util.List<java.lang.String> foreign) |
protected <F> ForeignKey<F> |
createInvForeignKey(Path<?> local,
java.lang.String foreign) |
protected PrimaryKey<T> |
createPrimaryKey(Path<?>... columns) |
java.util.List<Path<?>> |
getColumns()
Get all columns
|
java.util.Collection<ForeignKey<?>> |
getForeignKeys()
Get the foreign keys for this relation
|
java.util.Collection<ForeignKey<?>> |
getInverseForeignKeys()
Get the inverse foreign keys for this relation
|
PrimaryKey<T> |
getPrimaryKey()
Get the primary key for this relation or null if none exists
|
FactoryExpression<T> |
getProjection()
Return the custom projection
|
java.lang.String |
getSchemaName()
Get the schema name
|
java.lang.String |
getTableName()
Get the table name
|
accept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createEnum, createList, createMap, createNumber, createSet, createSimple, createString, createTime, forProperty, getAnnotatedElement, getMetadata, getRoot, instanceOf, instanceOfAnyas, as, count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotatedElement, getMetadata, getRootaccept, getTypepublic RelationalPathBase(java.lang.Class<? extends T> type, java.lang.String variable, java.lang.String schema, java.lang.String table)
public RelationalPathBase(java.lang.Class<? extends T> type, PathMetadata<?> metadata, java.lang.String schema, java.lang.String table)
protected PrimaryKey<T> createPrimaryKey(Path<?>... columns)
protected <F> ForeignKey<F> createForeignKey(Path<?> local, java.lang.String foreign)
protected <F> ForeignKey<F> createForeignKey(java.util.List<? extends Path<?>> local, java.util.List<java.lang.String> foreign)
protected <F> ForeignKey<F> createInvForeignKey(Path<?> local, java.lang.String foreign)
protected <F> ForeignKey<F> createInvForeignKey(java.util.List<? extends Path<?>> local, java.util.List<java.lang.String> foreign)
public FactoryExpression<T> getProjection()
ProjectionRolegetProjection in interface ProjectionRole<T>public Path<?>[] all()
protected <P extends Path<?>> P add(P path)
BeanPathpublic java.util.List<Path<?>> getColumns()
RelationalPathgetColumns in interface RelationalPath<T>public java.util.Collection<ForeignKey<?>> getForeignKeys()
RelationalPathgetForeignKeys in interface RelationalPath<T>public java.util.Collection<ForeignKey<?>> getInverseForeignKeys()
RelationalPathgetInverseForeignKeys in interface RelationalPath<T>public PrimaryKey<T> getPrimaryKey()
RelationalPathgetPrimaryKey in interface RelationalPath<T>public java.lang.String getSchemaName()
RelationalPathgetSchemaName in interface RelationalPath<T>public java.lang.String getTableName()
RelationalPathgetTableName in interface RelationalPath<T>Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.