|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.expr.DslExpression<T>
com.mysema.query.types.expr.SimpleExpression<T>
com.mysema.query.types.path.BeanPath<T>
com.mysema.query.sql.RelationalPathBase<T>
T - entity typepublic class RelationalPathBase<T>
RelationalPathBase is a base class for RelationPath implements
| Field Summary |
|---|
| Fields inherited from class com.mysema.query.types.expr.SimpleExpression |
|---|
primitive |
| Fields inherited from class com.mysema.query.types.expr.DslExpression |
|---|
mixin |
| Constructor Summary | |
|---|---|
RelationalPathBase(Class<? extends T> type,
PathMetadata<?> metadata,
String schema,
String table)
|
|
RelationalPathBase(Class<? extends T> type,
String variable,
String schema,
String table)
|
|
| Method Summary | ||
|---|---|---|
protected
|
add(P path)
Template method for tracking child path creation |
|
Path<?>[] |
all()
|
|
protected
|
createForeignKey(List<? extends Path<?>> local,
List<String> foreign)
|
|
protected
|
createForeignKey(Path<?> local,
String foreign)
|
|
protected
|
createInvForeignKey(List<? extends Path<?>> local,
List<String> foreign)
|
|
protected
|
createInvForeignKey(Path<?> local,
String foreign)
|
|
protected PrimaryKey<T> |
createPrimaryKey(Path<?>... columns)
|
|
List<Path<?>> |
getColumns()
Get all columns |
|
Collection<ForeignKey<?>> |
getForeignKeys()
Get the foreign keys for this relation |
|
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 |
|
String |
getSchemaName()
Get the schema name |
|
String |
getTableName()
Get the table name |
|
| Methods inherited from class com.mysema.query.types.path.BeanPath |
|---|
accept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createEnum, createList, createMap, createNumber, createSet, createSimple, createString, createTime, forProperty, getAnnotatedElement, getMetadata, getRoot, instanceOf, instanceOfAny |
| Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
|---|
as, as, count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when |
| Methods inherited from class com.mysema.query.types.expr.DslExpression |
|---|
equals, getType, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.mysema.query.types.Path |
|---|
getAnnotatedElement, getMetadata, getRoot |
| Methods inherited from interface com.mysema.query.types.Expression |
|---|
accept, getType |
| Constructor Detail |
|---|
public RelationalPathBase(Class<? extends T> type,
String variable,
String schema,
String table)
public RelationalPathBase(Class<? extends T> type,
PathMetadata<?> metadata,
String schema,
String table)
| Method Detail |
|---|
protected PrimaryKey<T> createPrimaryKey(Path<?>... columns)
protected <F> ForeignKey<F> createForeignKey(Path<?> local,
String foreign)
protected <F> ForeignKey<F> createForeignKey(List<? extends Path<?>> local,
List<String> foreign)
protected <F> ForeignKey<F> createInvForeignKey(Path<?> local,
String foreign)
protected <F> ForeignKey<F> createInvForeignKey(List<? extends Path<?>> local,
List<String> foreign)
public FactoryExpression<T> getProjection()
ProjectionRole
getProjection in interface ProjectionRole<T>public Path<?>[] all()
protected <P extends Path<?>> P add(P path)
BeanPath
add in class BeanPath<T>public List<Path<?>> getColumns()
RelationalPath
getColumns in interface RelationalPath<T>public Collection<ForeignKey<?>> getForeignKeys()
RelationalPath
getForeignKeys in interface RelationalPath<T>public Collection<ForeignKey<?>> getInverseForeignKeys()
RelationalPath
getInverseForeignKeys in interface RelationalPath<T>public PrimaryKey<T> getPrimaryKey()
RelationalPath
getPrimaryKey in interface RelationalPath<T>public String getSchemaName()
RelationalPath
getSchemaName in interface RelationalPath<T>public String getTableName()
RelationalPath
getTableName in interface RelationalPath<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||